Verified Quadratic Virtual Substitution for Real Arithmetic
Matias Scharager, Katherine Cordwell, Stefan Mitsch, Andr\'e Platzer

TL;DR
This paper introduces a formally verified quadratic virtual substitution algorithm for real arithmetic in Isabelle/HOL, enabling reliable quantifier elimination for low-degree polynomial formulas and benchmarking against existing tools.
Contribution
First formalization of quadratic virtual substitution for inequalities in real arithmetic, with a modular framework and practical implementation tested on numerous benchmarks.
Findings
Verified the algorithm's correctness in Isabelle/HOL
Compared performance with existing tools on 378 benchmarks
Identified inconsistencies in some existing tools
Abstract
This paper presents a formally verified quantifier elimination (QE) algorithm for first-order real arithmetic by linear and quadratic virtual substitution (VS) in Isabelle/HOL. The Tarski-Seidenberg theorem established that the first-order logic of real arithmetic is decidable by QE. However, in practice, QE algorithms are highly complicated and often combine multiple methods for performance. VS is a practically successful method for QE that targets formulas with low-degree polynomials. To our knowledge, this is the first work to formalize VS for quadratic real arithmetic including inequalities. The proofs necessitate various contributions to the existing multivariate polynomial libraries in Isabelle/HOL. Our framework is modularized and easily expandable (to facilitate integrating future optimizations), and could serve as a basis for developing practical general-purpose QE algorithms.…
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.
