Zero-Trust Formal Methods: AI Agents Build Verified Checkers for Untrusted Solvers
Source
arxiv.org
Author
Tobias Philipp
Date
Why it matters
As agents write code faster than humans can review it, this approach shows how to avoid trusting either the agents or the solvers by requiring machine-checked certificates for every answer.
Key takeaways · AI-distilled
The pipeline trusts neither its AI agents nor its solvers: an answer such as unsatisfiable or optimal counts only if a verified checker accepts the solver's certificate.
For each checker, agents write an Isabelle/HOL specification, soundness proof and reference checker, then a fast Rust version verified with Verus against a mirrored specification. Specifications are frozen after Independent reviewAssessment of a change by a person, a check or a reader that did not produce it.Full definition → so implementing agents cannot change them.
Trust chains cover SAT, SMT with certificates from an extended z3, answer-set programming via clingo, and Verus's own final verification step. All 3,726 SMT queries from 20 crates were certified.
Terms in this piece · Glossary
Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
Independent review — Assessment of a change by a person, a check or a reader that did not produce it.