Metraipolis › archive › dc_59ceec546b42
Neuro-Formal Verification: Agentic Language-Agnostic Formal Program Reasoning — arXiv:2608.21516
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.21516
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T08:12:21.723Z
- SHA-256 of the archived text
45928fc5e7008c9a70015186b6ddaf5330485943c129cef2e3925844ab8e35a9- Stable URL of this page
https://metraipolis.com/documento/dc_59ceec546b42
How to cite
Neuro-Formal Verification: Agentic Language-Agnostic Formal Program Reasoning — arXiv:2608.21516 — arXiv (en), https://arxiv.org/abs/2608.21516 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_59ceec546b42 (Metraipolis archive dc_59ceec546b42, sha256 45928fc5e7008c9a70015186b6ddaf5330485943c129cef2e3925844ab8e35a9)
BibTeX
@misc{dc59ceec546b42,
title = {Neuro-Formal Verification: Agentic Language-Agnostic Formal Program Reasoning — arXiv:2608.21516},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.21516},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_59ceec546b42; sha256 45928fc5e7008c9a70015186b6ddaf5330485943c129cef2e3925844ab8e35a9},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.21516. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Formal verification provides the strongest correctness guarantees for software, and verification-aware languages can produce sound, machine-checked proofs. Recent AI coding agents have sharply lowered the cost of constructing such proofs. Yet few mainstream developers benefit: most use languages without formal-verification support, and formalizing properties and modeling execution environments demand formal-methods expertise. Proof therefore remains reserved for a few notable artifacts, while production software is attested mainly through review and testing. We introduce neuro-formal verification (NFV), which brings this automation to mainstream languages. An AI coding agent formalizes a source-level verification problem into a proof obligation in a verification-aware language, discharged by an established sound verifier aided by agentic proof search. Staged, goal-blind transformations reduce the risk of proving an artifact that does not faithfully represent the source program, property, or environment. Since NFV cannot ensure the soundness of this formalization, it optimizes for empirical accuracy rather than end-to-end soundness, while insisting on machine-checked evidence for every verdict. Experiments with current frontier models on a balanced dataset of correct and buggy Python solutions demonstrate the effectiveness of our approach. NFV with Dafny correctly resolves 57% of all entries, at 92% precision among its verdicts; with a CBMC backend, it produces a counterexample for 63% of the buggy programs at 90% precision. In contrast, an LLM-as-judge baseline achieves only 72% precision while answering every entry without any checkable artifact, and an unstaged agent-verifier combination proves 98% of both the correct and the known-buggy programs, yielding only 50% precision. Together, they confirm that both proofs and staging benefit an AI agent's formal program reasoning. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-25 in cs.SE). Categorie arXiv: Software Engineering (cs.SE) ; Programming Languages (cs.PL). Pagina del lavoro: https://arxiv.org/abs/2608.21516 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T08:07:32.989Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).