The 4/$\delta$ Bound: Designing Predictable LLM-Verifier Systems for Formal Method Guarantee
PIerre Dantas, Lucas Cordeiro, Youcheng Sun, Waldir Junior

TL;DR
This paper introduces a formal framework with provable guarantees for the convergence of LLM-verifier systems in software verification, ensuring predictable performance and resource planning.
Contribution
It develops the first formal convergence theorem for multi-stage LLM-verifier pipelines, providing a precise latency bound and empirical validation.
Findings
System reaches verification almost surely with non-zero success probability
Empirical results confirm the $4/\delta$ latency bound
Identifies operational zones and proposes a calibration strategy
Abstract
The integration of Formal Verification tools with Large Language Models (LLMs) offers a path to scale software verification beyond manual workflows. However, current methods remain unreliable: without a solid theoretical footing, the refinement process acts as a black box that may oscillate, loop, or diverge. This work bridges this critical gap by developing an LLM-Verifier Convergence Theorem, providing the first formal framework with provable guarantees for termination in multi-stage verification pipelines. We model the interaction not as a generic loop, but as a sequential absorbing Markov Chain comprising four essential engineering stages: \texttt{CodeGen}, \texttt{Compilation}, \texttt{InvariantSynth}, and \texttt{SMTSolving}. We prove that for any non-zero stage success probability (), the system reaches the \texttt{Verified} state almost surely. Furthermore, because…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Security and Verification in Computing · Software Testing and Debugging Techniques
