NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerating Automated Program Verifiers by Automatic Proof Localization

Kiran Gopinathan, Dionysios Spiliopoulos, Vikram Goyal, Peter Müller, Markus Püschel, Ilya SergeyCAV 2025

CAV Artifact Evaluation: Functional

Introduction

Automated program verifiers like Dafny, F, and Verus are powerful tools for ensuring software correctness. However, as verification projects grow in size and complexity, they often encounter a "search space explosion" in the underlying SMT solvers. This paper presents Axolocl, a tool that implements automatic proof localization* to significantly accelerate verification by isolating the minimal set of axioms required for any given proof.

The Problem: SMT Search Space Explosion

Modern verifiers translate high-level code into intermediate verification languages (such as Boogie) and then into queries for SMT solvers like Z3. These solvers rely on quantifier instantiations—using an e-matching algorithm to "unpack" universal axioms based on syntactic triggers. In large projects, the sheer volume of available axioms (the "background theory") overwhelms the solver, leading to extreme verification times and performance brittleness. Currently, developers must manually hide irrelevant axioms, a process that is both tedious and requires expert knowledge of solver heuristics.

Methodology: The Axolocl Tool

Axolocl automates the localization process through four main steps:

  1. Proof Essence Extraction: The tool identifies the UNSAT core from a successful proof to determine which axioms were logically necessary.
  2. Lurking Axiom Identification: Beyond logical necessity, some axioms are required to generate terms that trigger other relevant axioms. Axolocl uses an instantiation graph to identify these "lurking" dependencies.
  3. Axiom Guarding: Each axiom is wrapped in a "guard" function, making it invisible to the solver unless specifically invoked.
  4. Fine-Grained Rewriting: The program is rewritten at the assertion level to enable only the specific axioms (the "proof essence") needed for each individual proof obligation.
An instantiation graph illustrating how 'lurking' axioms (ax2) generate the terms (Length) required to trigger subsequent axioms (ax1) in the proof chain.

Evaluation and Results

The authors evaluated Axolocl on 365 Boogie files from eight real-world projects, including AWS cryptographic libraries, the Cedar authorization language, and the EVM disassembler.

Key findings include:

  • Significant Speedups: For tasks originally taking over a minute, Axolocl achieved speedups between 100x and 1000x.
  • Reduced Solver Load: The number of Quantifier Instantiations (QIs) was reduced significantly; for example, the EVM suite saw a 7.1x reduction.
  • Improved Robustness: By pruning irrelevant axioms, the verification process became more stable and less sensitive to minor code mutations.

Conclusion

Axolocl demonstrates that automatic proof localization can effectively manage the complexity of SMT-based verification in large-scale projects. By identifying both logically relevant and "lurking" axioms, the tool provides massive speedups and improves the maintainability of verified software. Future work will focus on integrating these techniques directly into source-level verifiers.

Summary updated

BibTeX
@inproceedings{gopinathan2025accelerating,
  author = {Kiran Gopinathan and Dionysios Spiliopoulos and Vikram Goyal and Peter Müller and Markus Püschel and Ilya Sergey},
  title = {{Accelerating Automated Program Verifiers by Automatic Proof Localization}},
  booktitle = {CAV},
  year = {2025},
  doi = {10.1007/978-3-031-98682-6\_9},
}
Figure