Verified Quadratic Virtual Substitution for Real Arithmetic

05/29/2021
by   Matias Scharager, et al.
0

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, including a method for re-indexing variables in a polynomial. Our framework is modularized and easily expandable (to facilitate integrating future optimizations), and could serve as a basis for developing a general-purpose QE algorithm. 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, Mathematica, and SMT-RAT.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/22/2022

A First Complete Algorithm for Real Quantifier Elimination in Isabelle/HOL

We formalize a multivariate quantifier elimination (QE) algorithm in the...
research
04/10/2018

On top fan-in vs formal degree for depth-3 arithmetic circuits

We show that over the field of complex numbers, every homogeneous polyno...
research
03/16/2023

Local Search for Solving Satisfiability of Polynomial Formulas

Satisfiability Modulo the Theory of Nonlinear Real Arithmetic, SMT(NRA) ...
research
02/05/2021

A Verified Decision Procedure for Univariate Real Arithmetic with the BKR Algorithm

We formalize the univariate fragment of Ben-Or, Kozen, and Reif's (BKR) ...
research
09/06/2023

FMplex: A Novel Method for Solving Linear Real Arithmetic Problems (Extended Version)

In this paper we introduce a novel quantifier elimination method for con...
research
08/11/2021

Proving UNSAT in SMT: The Case of Quantifier Free Non-Linear Real Arithmetic

We discuss the topic of unsatisfiability proofs in SMT, particularly wit...
research
03/24/2020

Computer-Assisted Verification of Four Interval Arithmetic Operators

Interval arithmetic libraries provide the four elementary arithmetic ope...

Please sign up or login with your details

Forgot password? Click here to reset