{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,16]],"date-time":"2026-11-16T18:52:30Z","timestamp":1794855150577,"version":"4.9.1"},"publisher-location":"Cham","reference-count":19,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783032412683","type":"print"},{"value":"9783032412690","type":"electronic"}],"license":[{"start":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T00:00:00Z","timestamp":1791849600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T00:00:00Z","timestamp":1791849600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2027]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Software engineering approaches assisted by Artificial Intelligence\u00a0(AI) are receiving increasing attention. This work evaluates the ability of large language models (LLMs) to assist engineers in the formal verification process. We conduct an experiment using  \u00a0on a PKCS#1 (Public-Key Cryptography Standard) v1.5 signature parser that was recently (manually) specified in  and verified with the  platform. Our approach prompts the LLM to generate  annotations directly\u00a0from the C code, cross-checks the generated specifications against\u00a0known security requirements, and iteratively refines\u00a0them to achieve a complete proof. In this verification loop, annotations are progressively improved using feedback from . For failing proof obligations, we instruct the\u00a0LLM to supply a sequence of  assertions that guide the prover. Using structured prompts, we repeatedly obtain a complete proof for the target parser. This demonstrates that substantial parts of the formal verification workflow can be mechanized. We present our LLM-assisted verification approach, report its benefits and limitations, and compare\u00a0it with the prior manual proof in terms of specification auditability and human effort.<\/jats:p>","DOI":"10.1007\/978-3-032-41269-0_5","type":"book-chapter","created":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T20:29:06Z","timestamp":1791923346000},"page":"61-82","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["From Manual to\u00a0LLM-Assisted Formal Verification of\u00a0a\u00a0PKCS#1 Signature Parser"],"prefix":"10.1007","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-8977-5950","authenticated-orcid":false,"given":"Martin","family":"H\u00e1na","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1557-2813","authenticated-orcid":false,"given":"Nikolai","family":"Kosmatov","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7203-0968","authenticated-orcid":false,"given":"Virgile","family":"Prevosto","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9266-0820","authenticated-orcid":false,"given":"Julien","family":"Signoles","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2026,10,13]]},"reference":[{"key":"5_CR1","doi-asserted-by":"publisher","unstructured":"Beckert, B., Klamroth, J., Pfeifer, W., R\u00f6per, P., Teuber, S.: Towards combining the cognitive abilities of large language models with the rigor of deductive progam verification. In: Proceedings of the 12th International Symposium on Leveraging Applications of Formal Methods, Verification and Validation (ISoLA 2024). LNCS, vol. 15222, pp. 242\u2013257. Springer, Heidelberg (2024). https:\/\/doi.org\/10.1007\/978-3-031-75387-9_15","DOI":"10.1007\/978-3-031-75387-9_15"},{"key":"5_CR2","doi-asserted-by":"publisher","unstructured":"Beckert, B., Sanders, P., Ulbrich, M., Wiesler, J., Witt, S.: Formally verifying an efficient sorter. In: Proceedings of the 30th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2024). LNCS, vol. 14570, pp. 268\u2013287. Springer, Heidelberg (2024). https:\/\/doi.org\/10.1007\/978-3-031-57246-3_15","DOI":"10.1007\/978-3-031-57246-3_15"},{"key":"5_CR3","doi-asserted-by":"publisher","unstructured":"Blanchard, A., Correnson, L., Djoudi, A., Kosmatov, N.: No smoke without fire: detecting specification inconsistencies with Frama-C\/WP. In: Proceedings of the 18th International Conference on Tests and Proofs (TAP 2024), co-located with the 26th International Symposium on Formal Methods (FM 2024). LNCS, vol. 15153, pp. 65\u201383. Springer, Heidelberg (2024). https:\/\/doi.org\/10.1007\/978-3-031-72044-4_4","DOI":"10.1007\/978-3-031-72044-4_4"},{"key":"5_CR4","doi-asserted-by":"publisher","unstructured":"Fakhoury, S., Kuppe, M., Lahiri, S.K., Ramananandro, T., Swamy, N.: 3DGen: AI-assisted generation of provably correct binary format parsers. In: Proceedings of the IEEE\/ACM 47th International Conference on Software Engineering (ICSE 2025), pp. 2535 \u2013 2547. IEEE (2025). https:\/\/doi.org\/10.1109\/ICSE55347.2025.00173","DOI":"10.1109\/ICSE55347.2025.00173"},{"key":"5_CR5","unstructured":"Finney, H.: Bleichenbacher\u2019s RSA signature forgery based on implementation error (2006). https:\/\/mailarchive.ietf.org\/arch\/msg\/openpgp\/5rnE9ZRN1AokBVj3VqblGlP63QE\/"},{"issue":"2","key":"5_CR6","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3785411","volume":"38","author":"G Granberry","year":"2026","unstructured":"Granberry, G., Ahrendt, W., Johansson, M.: Seeking specifications: the case for neuro-symbolic specification synthesis. Formal Aspects Comput. 38(2), 1\u201336 (2026). https:\/\/doi.org\/10.1145\/3785411","journal-title":"Formal Aspects Comput."},{"key":"5_CR7","unstructured":"Herrmann, P., Signoles, J.: RTE Runtime Error Annotation Generation (2024). https:\/\/frama-c.com\/download\/frama-c-rte-manual.pdf"},{"key":"5_CR8","doi-asserted-by":"publisher","unstructured":"H\u00e1na, M., Kosmatov, N., Prevosto, V., Signoles, J.: Formal verification of PKCS#1 signature parser using Frama-C. In: Proceedings of the 20th International Conference on integrated Formal Methods (iFM 2025). LNCS, vol. 16194, pp. 336\u2013358. Springer, Heidelberg (2025). https:\/\/doi.org\/10.1007\/978-3-032-10794-7_17","DOI":"10.1007\/978-3-032-10794-7_17"},{"key":"5_CR9","doi-asserted-by":"publisher","unstructured":"H\u00e1na, M., Kosmatov, N., Prevosto, V., Signoles, J.: Formal verification of PKCS#1 signature parser using Frama-C. In: Companion Artifact for the Paper Submitted to iFM 2025 (2025). https:\/\/doi.org\/10.5281\/zenodo.16919839","DOI":"10.5281\/zenodo.16919839"},{"key":"5_CR10","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.20056822","author":"M H\u00e1na","year":"2026","unstructured":"H\u00e1na, M., Kosmatov, N., Prevosto, V., Signoles, J.: From manual to LLM-assisted formal verification of a PKCS#1 signature parser. Companion Artifact. (2026). https:\/\/doi.org\/10.5281\/zenodo.20056822","journal-title":"Companion Artifact."},{"key":"5_CR11","doi-asserted-by":"publisher","unstructured":"Jan\u00dfen, C., Richter, C., Wehrheim, H.: Can ChatGPT support software verification? In: Proceedings of the 12th International Conference on Fundamental Approaches to Software Engineering (FASE 2024). LNCS, vol. 14573, pp. 266\u2013279. Springer, Heidelberg (2024). https:\/\/doi.org\/10.1007\/978-3-031-57259-3_13","DOI":"10.1007\/978-3-031-57259-3_13"},{"key":"5_CR12","doi-asserted-by":"publisher","unstructured":"Kamath, A., et al.: Leveraging LLMs for program verification. In: Proceedings of the 24th Conference on Formal Methods in Computer-Aided Design (FMCAD 2024), pp. 107\u2013118. IEEE (2024). https:\/\/doi.org\/10.34727\/2024\/ISBN.978-3-85448-065-5_16","DOI":"10.34727\/2024\/ISBN.978-3-85448-065-5_16"},{"key":"5_CR13","doi-asserted-by":"publisher","unstructured":"Kosmatov, N., Prevosto, V., Signoles, J. (eds.): Guide to Software Verification with Frama-C. Core Components, Usages, and Applications. Computer Science Foundations and Applied Logic Book Series, Springer, Heidelberg (2024). https:\/\/doi.org\/10.1007\/978-3-031-55608-1","DOI":"10.1007\/978-3-031-55608-1"},{"key":"5_CR14","doi-asserted-by":"publisher","unstructured":"Liu, Y., et al.: PropertyGPT: LLM-driven formal verification of smart contracts through retrieval-augmented property generation. In: 32nd Annual Network and Distributed System Security Symposium (NDSS 2025) (2025). https:\/\/doi.org\/10.14722\/ndss.2025.241357","DOI":"10.14722\/ndss.2025.241357"},{"key":"5_CR15","doi-asserted-by":"publisher","unstructured":"Moriarty, K., Kaliski, B., Jonsson, J., Rusch, A.: PKCS #1: RSA Cryptography Specifications, Version 2.2 (2016). https:\/\/doi.org\/10.17487\/RFC8017, RFC 8017","DOI":"10.17487\/RFC8017"},{"key":"5_CR16","doi-asserted-by":"publisher","unstructured":"Mugnier, E., Gonzalez, E.A., Polikarpova, N., Jhala, R., Yuanyuan, Z.: Laurel: unblocking automated verification with large language models. Proc. ACM Program. Lang. 9(OOPSLA2), 1519\u20131545 (2025). https:\/\/doi.org\/10.1145\/3720499","DOI":"10.1145\/3720499"},{"key":"5_CR17","unstructured":"Ramananandro, T., et al.: EverParse: verified secure zero-copy parsers for authenticated message formats. In: Proceedings of the 28th USENIX Conference on Security Symposium (SEC 2019) (2019). https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2019\/05\/20190601everparse.pdf"},{"key":"5_CR18","doi-asserted-by":"publisher","unstructured":"Wen, C., et al.: Enchanting program specification synthesis by large language models using static analysis and program verification. In: Proceedings of the 36th International Conference on Computer Aided Verification (CAV 2024). LNCS, vol. 14682, pp. 302\u2013328. Springer, Heidelberg (2024). https:\/\/doi.org\/10.1007\/978-3-031-65630-9_16","DOI":"10.1007\/978-3-031-65630-9_16"},{"key":"5_CR19","doi-asserted-by":"publisher","unstructured":"Yang, C., et al.: AutoVerus: automated proof generation for rust code. Proc. ACM Program. Lang. 9(OOPSLA2), 3454\u20133482 (2025). https:\/\/doi.org\/10.1145\/3763174","DOI":"10.1145\/3763174"}],"container-title":["Lecture Notes in Computer Science","Bridging the Gap Between AI and Reality"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-032-41269-0_5","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,13]],"date-time":"2026-10-13T20:29:08Z","timestamp":1791923348000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-032-41269-0_5"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10,13]]},"ISBN":["9783032412683","9783032412690"],"references-count":19,"URL":"https:\/\/doi.org\/10.1007\/978-3-032-41269-0_5","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-032-41269-0","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,10,13]]},"assertion":[{"value":"13 October 2026","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"AISoLA","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Conference on Bridging the Gap between AI and Reality","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Kos","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Greece","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2026","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"27 October 2026","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"31 October 2026","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"4","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"aisola2026","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/2026-isola.isola-conference.org\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}