{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,6]],"date-time":"2026-11-06T06:09:42Z","timestamp":1793945382937,"version":"4.8.0"},"reference-count":80,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T00:00:00Z","timestamp":1782777600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/legalcode"}],"funder":[{"name":"AI for Science program of National Research Foundation (NRF) Singapore","award":["AI4SCH-2025-0084"],"award-info":[{"award-number":["AI4SCH-2025-0084"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2026,6,30]]},"abstract":"<jats:p>Automatically generated code is gaining traction recently, owing to the prevalence of Large Language Models (LLMs). Further, the AlphaProof initiative has demonstrated the possibility of using AI for general mathematical reasoning. Reasoning about computer programs (software) can be accomplished via general mathematical reasoning; however, it tends to be more structured and richer in contexts. This forms an attractive proposition, since then AI agents can be used to reason about voluminous code that gets generated by AI.  \n In this work, we present a first LLM agent, AutoRocq, for conducting program verification. Unlike past works, which rely on extensive training of LLMs on proof examples, our agent learns on-the-fly and improves the proof via an iterative refinement loop. The iterative improvement of the proof is achieved by the proof agent communicating with the Rocq (formerly Coq) theorem prover to get additional context and feedback. The final result of the iteration is a proof derivation checked by the Rocq theorem prover. In this way, our proof construction involves autonomous collaboration between the proof agent and the theorem prover. This autonomy facilitates the search for proofs and decision-making in deciding on the structure of the proof tree. Experimental evaluation on SV-COMP benchmarks and on Linux kernel modules shows promising efficacy in achieving automated program verification. As automation in code generation becomes more widespread, we posit that our proof agent can be potentially integrated with AI coding agents to achieve a generate and validate loop, thus moving closer to the vision of trusted automatic programming.<\/jats:p>","DOI":"10.1145\/3808164","type":"journal-article","created":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T17:06:14Z","timestamp":1782839174000},"page":"3558-3581","source":"Crossref","is-referenced-by-count":5,"title":["Agentic Verification of Software Systems"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-2389-1881","authenticated-orcid":false,"given":"Haoxin","family":"Tu","sequence":"first","affiliation":[{"name":"National University of Singapore, School of Computing, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0004-6412-0666","authenticated-orcid":false,"given":"Huan","family":"Zhao","sequence":"additional","affiliation":[{"name":"National University of Singapore, School of Computing, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9760-5895","authenticated-orcid":false,"given":"Yahui","family":"Song","sequence":"additional","affiliation":[{"name":"National University of Singapore, School of Computing, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-5815-4127","authenticated-orcid":false,"given":"Mehtab","family":"Zafar","sequence":"additional","affiliation":[{"name":"National University of Singapore, School of Computing, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-4323-6271","authenticated-orcid":false,"given":"Ruijie","family":"Meng","sequence":"additional","affiliation":[{"name":"National University of Singapore, School of Computing, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7127-1137","authenticated-orcid":false,"given":"Abhik","family":"Roychoudhury","sequence":"additional","affiliation":[{"name":"National University of Singapore, School of Computing, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,30]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"2026. BusyBox. Retrieved April 10 2026 from https:\/\/busybox.net\/"},{"key":"e_1_2_1_2_1","volume-title":"Retrieved","year":"2026","unstructured":"2026. Evolved Value Analysis (Eva) in Frama-C. Retrieved April 10, 2026 from https:\/\/frama-c.com\/fc-plugins\/eva.html"},{"key":"e_1_2_1_3_1","unstructured":"2026. Runtime Error (RTE) in Frama-C. Retrieved April 10 2026 from https:\/\/www.frama-c.com\/fc-plugins\/rte.html"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2021.naacl-main.211"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.1606.04442"},{"key":"e_1_2_1_6_1","first-page":"454","volume-title":"Proceedings of the 36th International Conference on Machine Learning","volume":"97","author":"Bansal Kshitij","year":"2019","unstructured":"Kshitij Bansal, Sarah Loos, Markus Rabe, Christian Szegedy, and Stewart Wilcox. 2019. HOList: An Environment for Machine Learning of Higher Order Logic Theorem Proving. In Proceedings of the 36th International Conference on Machine Learning, Vol. 97. PMLR, 454-463. https:\/\/proceedings.mlr.press\/v97\/bansal19a.html"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-99524-9_24"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-90660-2_9"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/3663529.3663814"},{"key":"e_1_2_1_11_1","volume-title":"Proceedings of the 16th USENIX Symposium on Operating Systems Design and Implementation. USENIX Association, 447-463","author":"Chajed Tej","year":"2022","unstructured":"Tej Chajed, Joseph Tassarotti, Mark Theng, M. Frans Kaashoek, and Nickolai Zeldovich. 2022. Verifying the DaisyNFS Concurrent and Crash-Safe File System with Sequential Reasoning. In Proceedings of the 16th USENIX Symposium on Operating Systems Design and Implementation. USENIX Association, 447-463. https:\/\/www.usenix.org\/conference\/ osdi22\/presentation\/chajed"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-51054-1_3"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-018-9458-4"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-78800-3_24"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-79876-5_37"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3623343"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-03421-4_15"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3660783"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE-FoSE59343.2023.00008"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-73368-3_21"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428299"},{"key":"e_1_2_1_22_1","volume-title":"Retrieved","author":"Developers C","year":"2026","unstructured":"Frama-C Developers. 2026. Weakest Precondition (WP) in Frama-C. Retrieved April 10, 2026 from https:\/\/www.framac.com\/fc-plugins\/wp.html"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/2837614.2837664"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-02658-4_25"},{"key":"e_1_2_1_25_1","volume-title":"Retrieved","author":"DeepMind Google","year":"2024","unstructured":"Google DeepMind. 2024. AlphaProof. Retrieved April 10, 2026 from https:\/\/deepmind.google\/discover\/blog\/ai-solvesimo-problems-at-silver-medal-level\/"},{"key":"e_1_2_1_26_1","volume-title":"Retrieved","author":"Griffin Matthew","year":"2024","unstructured":"Matthew Griffin. 2024. AI Generated Code in Google. Retrieved April 10, 2026 from https:\/\/www.311institute.com\/googleceo-says-25-of-all-new-google-code-is-ai-generated\/"},{"key":"e_1_2_1_27_1","volume-title":"Proceedings of 12th USENIX Symposium on Operating Systems Design and Implementation. USENIX Association, 653-669","author":"Gu Ronghui","year":"2016","unstructured":"Ronghui Gu, Zhong Shao, Hao Chen, Xiongnan (Newman) Wu, Jieung Kim, Vilhelm Sj\u00f6berg, and David Costanzo. 2016. CertiKOS: An Extensible Architecture for Building Certified Concurrent OS Kernels. In Proceedings of 12th USENIX Symposium on Operating Systems Design and Implementation. USENIX Association, 653-669. https:\/\/www. usenix.org\/conference\/osdi16\/technical-sessions\/presentation\/gu"},{"key":"e_1_2_1_28_1","volume-title":"Retrieved","year":"2025","unstructured":"Hendrik. 2025. Proof Tree Visualization for Proof General. Retrieved April 10, 2026 from https:\/\/askra.de\/software\/ prooftree\/"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3695988"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/54.936246"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-014-0326-7"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/1629575.1629596"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2205.11491"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3586037"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-17511-4_20"},{"key":"e_1_2_1_36_1","volume-title":"CompCert: A Formally Verified Optimizing Compiler. In ERTS 2016: Embedded Real Time Software and Systems. SEE, 1-8. http:\/\/xavierleroy.org\/publi\/erts2016_compcert.pdf","author":"Leroy Xavier","year":"2016","unstructured":"Xavier Leroy, Sandrine Blazy, Daniel K\u00e4stner, Bernhard Schommer, Markus Pister, and Christian Ferdinand. 2016. CompCert: A Formally Verified Optimizing Compiler. In ERTS 2016: Embedded Real Time Software and Systems. SEE, 1-8. http:\/\/xavierleroy.org\/publi\/erts2016_compcert.pdf"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2005.11401"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/3649828"},{"key":"e_1_2_1_39_1","volume-title":"First Conference on Language Modeling. 1-27","author":"Li Zhaoyu","year":"2024","unstructured":"Zhaoyu Li, Jialiang Sun, Logan Murphy, Qidong Su, Zenan Li, Xian Zhang, Kaiyu Yang, and Xujie Si. 2024. A Survey on Deep Learning for Theorem Proving. In First Conference on Language Modeling. 1-27. https:\/\/openreview.net\/pdf? id=zlw6AHwukB"},{"key":"e_1_2_1_40_1","first-page":"1","article-title":"DafnyBench: A Benchmark for Formal Software Verification","volume":"2025","author":"Loughridge Chloe","year":"2025","unstructured":"Chloe Loughridge, Qinyi Sun, Seth Ahrenbach, Federico Cassano, Chuyue Sun, Ying Sheng, Anish Mudide, Md Rakib Hossain Misu, Nada Amin, and Max Tegmark. 2025. DafnyBench: A Benchmark for Formal Software Verification. Transactions on Machine Learning Research 2025 (2025), 1-21. https:\/\/openreview.net\/pdf?id=yBgTVWccIx","journal-title":"Transactions on Machine Learning Research"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3691620.3695521"},{"key":"e_1_2_1_42_1","volume-title":"Agentic Concolic Execution. In IEEE Symposium on Security and Privacy (SP). IEEE Computer Society, 37-55","author":"Luo Zhengxiong","year":"2026","unstructured":"Zhengxiong Luo, Huan Zhao, Dylan Wolff, Cristian Cadar, and Abhik Roychoudhury. 2026. Agentic Concolic Execution. In IEEE Symposium on Security and Privacy (SP). IEEE Computer Society, 37-55. https:\/\/srg.doc.ic.ac.uk\/files\/papers\/ concollmic-ieee-sp-26.pdf"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE55347.2025.00129"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/1706299.1706329"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3368089"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.14722\/ndss.2024.24556"},{"key":"e_1_2_1_47_1","volume-title":"37th Conference on Neural Information Processing Systems (NeurIPS 2023) Workshop on MATH-AI. 1-16","author":"Miku\u0142a Maciej","year":"2023","unstructured":"Maciej Miku\u0142a, Szymon Tworkowski, Szymon Antoniak, Bartosz Piotrowski, Albert Qiaochu Jiang, Jin Peng Zhou, Christian Szegedy, \u0141ukasz Kuci\u0144ski, Piotr Mi\u0142o\u015b, and Yuhuai Wu. 2023. MagnusHammer: A Transformer-Based Approach to Premise Selection. In 37th Conference on Neural Information Processing Systems (NeurIPS 2023) Workshop on MATH-AI. 1-16. https:\/\/openreview.net\/forum?id=oYjPk8mqAV"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/3643763"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-49122-5_2"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0030541"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/3672458"},{"key":"e_1_2_1_53_1","volume-title":"Generative Language Modeling for Automated Theorem Proving. arXiv preprint arXiv:2009.03393","author":"Polu Stanislas","year":"2020","unstructured":"Stanislas Polu and Ilya Sutskever. 2020. Generative Language Modeling for Automated Theorem Proving. arXiv preprint arXiv:2009.03393 (2020). https:\/\/arxiv.org\/abs\/2009.03393"},{"key":"e_1_2_1_54_1","volume-title":"Retrieved","author":"Team Rocq Development","year":"2025","unstructured":"Rocq Development Team. 2025. Search Command in Rocq Documentation. Retrieved April 10, 2026 from https:\/\/rocqprover.org\/doc\/V9.0.0\/refman\/proof-engine\/vernacular-commands.html#coq:cmd.Search"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/3394450.3397466"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/3592457"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE55347.2025.00160"},{"key":"e_1_2_1_58_1","volume-title":"Retrieved","author":"Scherer Gabriel","year":"2017","unstructured":"Gabriel Scherer. 2017. Bullets Are Good for Your Coq Proofs. Retrieved April 10, 2026 from https:\/\/prl.khoury.northeastern. edu\/blog\/2017\/02\/21\/bullets-are-good-for-your-coq-proofs\/"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/3720426"},{"key":"e_1_2_1_60_1","first-page":"7762","article-title":"Learning Loop Invariants for Program Verification","volume":"31","author":"Si Xujie","year":"2018","unstructured":"Xujie Si, Hanjun Dai, Mukund Raghothaman, Mayur Naik, and Le Song. 2018. Learning Loop Invariants for Program Verification. Advances in Neural Information Processing Systems 31 (2018), 7762-7773. https:\/\/proceedings.neurips.cc\/ paper\/2018\/hash\/65b1e92c585fd4c2159d5f33b5030ff2-Abstract.html","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-53291-8_9"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/3563308"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1145\/3706056"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1108\/eb026526"},{"key":"e_1_2_1_65_1","volume-title":"An In-Context Learning Agent for Formal Theorem-Proving. In First Conference on Language Modeling. 1-27","author":"Thakur Amitayush","year":"2024","unstructured":"Amitayush Thakur, George Tsoukalas, Yeming Wen, Jimmy Xin, and Swarat Chaudhuri. 2024. An In-Context Learning Agent for Formal Theorem-Proving. In First Conference on Language Modeling. 1-27. https:\/\/openreview.net\/forum? id=V7HRrxXUhN"},{"key":"e_1_2_1_66_1","volume-title":"Retrieved","author":"Development Team The Coq","year":"2023","unstructured":"The Coq Development Team. 2023. The Coq Proof Assistant -Reference Manual. Retrieved April 10, 2026 from https:\/\/flint.cs.yale.edu\/cs430\/coq\/pdf\/Reference-Manual.pdf"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE55347.2025.00161"},{"key":"e_1_2_1_68_1","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2504.17542"},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.1109\/ISPRAS.2018.00012"},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3385985"},{"key":"e_1_2_1_71_1","doi-asserted-by":"publisher","DOI":"10.1145\/3691620.3695014"},{"key":"e_1_2_1_72_1","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2102.09756"},{"key":"e_1_2_1_73_1","doi-asserted-by":"publisher","DOI":"10.1145\/3691620.3695482"},{"key":"e_1_2_1_74_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639121"},{"key":"e_1_2_1_75_1","volume-title":"Jin Song Dong, and Jiaheng Zhang.","author":"Xu Ming","year":"2026","unstructured":"Ming Xu, Hongtai Wang, Yanpei Guo, Zhengmin Yu, Weili Han, Hoon Wei Lim, Jin Song Dong, and Jiaheng Zhang. 2026. ARuleCon: Agentic Security Rule Conversion. arXiv:2604.06762 [cs.CR] https:\/\/arxiv.org\/abs\/2604.06762"},{"key":"e_1_2_1_76_1","first-page":"6984","volume-title":"Proceedings of the 36th International Conference on Machine Learning","volume":"97","author":"Yang Kaiyu","year":"2019","unstructured":"Kaiyu Yang and Jia Deng. 2019. Learning to Prove Theorems via Interacting with Proof Assistants. In Proceedings of the 36th International Conference on Machine Learning, Vol. 97. PMLR, 6984-6994. http:\/\/proceedings.mlr.press\/v97\/ yang19a.html"},{"key":"e_1_2_1_77_1","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2306.15626"},{"key":"e_1_2_1_78_1","doi-asserted-by":"publisher","DOI":"10.1145\/3650212.3680384"},{"key":"e_1_2_1_79_1","doi-asserted-by":"publisher","DOI":"10.1145\/3600006.3613154"},{"key":"e_1_2_1_80_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE63991.2025.00176"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808164","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T18:25:28Z","timestamp":1782843928000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808164"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,30]]},"references-count":80,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2026,6,30]]}},"alternative-id":["10.1145\/3808164"],"URL":"https:\/\/doi.org\/10.1145\/3808164","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,30]]}}}