mlsanityData to 7 Oct 2026

Schwarz: Solver-Aware Agentic Program Verification

arXiv 2608.30803 ↗First posted 31 Aug 2026cs.LO cs.SEcited by 0

On the map: LLM agents and tool use → Educational agents and math problem solving

Abstract (arXiv)

Agentic verification systems can often generate source-level specifications that look plausible, but plausibility is not enough: the verifier must still turn those specifications into SMT obligations that the solver can prove. When this step fails, current LLM-driven loops usually expose only a coarse verifier error, timeout, or unknown solver result. The model cannot tell whether the specification is wrong, a helper lemma is missing, the proof context contains irrelevant facts, or the obligation needs a different theory view. This paper presents Schwarz, an agentic verification harness that makes SMT-backed proof failure local, checkable, and repairable. Schwarz turns failed verification into obligation-local repair tasks: program-point snapshots expose checked facts at a boundary, local lemmas let the agent propose missing proof steps, and theory-aware solver policies guide the agent toward solver-friendly formulations for numeric, quantified, memory, and floating-point obligations. We implement Schwarz for C and Rust/Verus and evaluate it on 1,475 tasks. On 475 benchmarks from recent agentic verification tools, Schwarz solves 95.2% of the tasks. On 1,000 tasks from the SV-COMP 2026 ReachSafety track, averaging 1,427 LOC, Schwarz solves 91.5% of the tasks, compared with 60.1% for CPAchecker. Ablations and comparison with a pure-agent baseline show that solver-aware repair is effective and scalable.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Educational agents and math problem solving, one of 16 directions in LLM agents and tool use. Builds on 16 of its 47 references that are in the map. First posted on arXiv 31 Aug 2026.

Builds on

16 of 47 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026Automated Lemma Discovery in Agentic Program Verification23 Mar
  2. 2025Agentic Verification of Software Systems21 Nov
  3. 2023An In-Context Learning Agent for Formal Theorem-Proving6 Oct

Other references · 13

  1. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
  2. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
  3. 2023Baldur: Whole-Proof Generation and Repair with Large Language Modelscited by 118
  4. 2024AutoVerus: Automated Proof Generation for Rust Codecited by 46
  5. 2023Finding Inductive Loop Invariants using Large Language Modelscited by 35
  6. 2023Ranking LLM-Generated Loop Invariants for Program Verificationcited by 33
  7. 2023CBMC: The C Bounded Model Checkercited by 12
  8. 2026KVerus: Scalable and Resilient Formal Verification Proof Generation for Rust Codecited by 5
  9. 2025Quokka: Accelerating Program Verification with LLMs via Invariant Synthesiscited by 4
  10. 2026LLM-Guided Quantified SMT Solving over Uninterpreted Functionscited by 3
  11. 2016Matching Multiplications in Bit-Vector Formulascited by 1
  12. 2020An Incremental Abstraction Scheme for Solving Hard SMT-Instances over Bit-Vectorscited by 1
1 more
  1. 2026Can LLM Aid in Solving Constraints with Inductive Definitions?cited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Agentic Proving for Program Verification
  2. 2026Agentic Model Checking
  3. 2026Automating Formal Verification with Agent-Guided Tree Search
  4. 2026OProver: A Unified Framework for Agentic Formal Theorem Proving
  5. 2026Verification as an Architectural Layer for LLM Agents: A V-Model Design, and a Pilot Study of Its Deterministic Core
  6. 2026SWE-Proof: Can Language Models Resolve Real-World Issues with Machine-Checked Proofs?
  7. 2026Harnessing Code Agents for Automatic Software Verification
  8. 2026P3: Joint Program-and-Proof Planning for Verified Code Generation