Quantifying SMT Solver Instability for Formal Verification
Daniel Evans, Rylie Hansen, John Shorter
Key points
From the paper's conclusion- Our results show that SMT instability is significant in each area, and that it increases for queries that take longer on average.
Abstract
Program verification has become commonplace in software development projects, and much of its feasibility can be attributed to the potential of SMT solvers to automate model checking and other verification techniques. However, SMT instability, a phenomenon where semantically equivalent permutations of source code take much longer to solve or timeout, has been found to interrupt workflows and make software engineers more likely to avoid verification. Previous efforts to measure SMT instability have had difficulty quantifying it due to the abnormal runtime distributions it produces. In this paper, we use the coefficient of variation to model instability across an extensive dataset of SMT queries from three software domains. Our results show that SMT instability is significant in each area, and that it increases for queries that take longer on average. However, using a novel method to quantify instability, we show that a different approach is possible: if a solution were to optimize the structure of queries for runtime, rather than variance, instability could be mitigated while also improving overall solver performance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- How Stable Are LLM-Generated Proofs Under Program Refactoring? A Stress Test for Verifiable Code GenerationarXiv · 2026
- ORSMT: Unleashing the Potential of Satisfiability Modulo Theories for Semantic Verification and Repair in LLM-Based OptimizationarXiv · 2026
- Curriculum proof repair with learned counterexamplesarXiv · 2026
- Using Proof Dependencies to Manage Verification ProjectsarXiv · 2026
- SeVerus: Context-Aware, Gamified Benchmarking for Rust VerificationarXiv · 2026
- Learning from Mutants: Teaching Small Language Models to Synthesise Loop InvariantsarXiv · 2026