FM2021Top-tier venue
Verified Quadratic Virtual Substitution for Real Arithmetic
Matias Scharager, Katherine Cordwell, Stefan Mitsch, André Platzer
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. Further, as our formalization is designed with practicality in mind, we export our development to SML and test the resulting code on 378 benchmarks from the literature, comparing to Redlog, Z3, Wolfram Engine, and SMT-RAT. This identified inconsistencies in some tools, underscoring the significance of a verified approach for the intricacies of real arithmetic.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Related papers
- Quantified Linear and Polynomial Arithmetic Satisfiability via Template-based SkolemizationKrishnendu Chatterjee, Ehsan Kafshdar Goharshady, Mehrdad Karrabi, Harshit J. Motwani et al.AAAI 2025 · 3 citations
- Practical Approximate Quantifier Elimination for Non-linear Real ArithmeticS. Akshay, Supratik Chakraborty, Amir Kafshdar Goharshady, R. Govind et al.FM 2024 · 3 citations
- Lagrangian-Based Duality for Quantified SMT AlgorithmsIvana Bocevska, Takeshi Tsukada, Hiroshi Unno, Oded Padon et al.CAV 2026
- A Divide-and-Conquer Approach to Variable Elimination in Linear Real ArithmeticValentin Promies, Erika ÁbrahámFM 2024 · 3 citations
- Formally Verified Approximate Policy IterationMaximilian Schäffeler, Mohammad AbdulazizAAAI 2025 · 2 citations
