Fast Approximations of Quantifier Elimination

06/16/2023
by   Isabel Garcia-Contreras, et al.
0

Quantifier elimination (qelim) is used in many automated reasoning tasks including program synthesis, exist-forall solving, quantified SMT, Model Checking, and solving Constrained Horn Clauses (CHCs). Exact qelim is computationally expensive. Hence, it is often approximated. For example, Z3 uses "light" pre-processing to reduce the number of quantified variables. CHC-solver Spacer uses model-based projection (MBP) to under-approximate qelim relative to a given model, and over-approximations of qelim can be used as abstractions. In this paper, we present the QEL framework for fast approximations of qelim. QEL provides a uniform interface for both quantifier reduction and model-based projection. QEL builds on the egraph data structure – the core of the EUF decision procedure in SMT – by casting quantifier reduction as a problem of choosing ground (i.e., variable-free) representatives for equivalence classes. We have used QEL to implement MBP for the theories of Arrays and Algebraic Data Types (ADTs). We integrated QEL and our new MBP in Z3 and evaluated it within several tasks that rely on quantifier approximations, outperforming state-of-the-art.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/14/2022

Model Checking for Rectangular Hybrid Systems: A Quantified Encoding Approach

Satisfiability Modulo Theories (SMT) solvers have been successfully appl...
research
06/08/2021

Interpolation and Model Checking for Nonlinear Arithmetic

We present a new model-based interpolation procedure for satisfiability ...
research
06/24/2019

From Quantified CTL to QBF

QCTL extends the temporal logic CTL with quantifications over atomic pro...
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
07/23/2019

CVC4SY for SyGuS-COMP 2019

CVC4Sy is a syntax-guided synthesis (SyGuS) solver based on bounded term...
research
06/01/2021

Quantifiers on Demand

Automated program verification is a difficult problem. It is undecidable...
research
12/05/2017

Counter Simulations via Higher Order Quantifier Elimination: a preliminary report

Quite often, verification tasks for distributed systems are accomplished...

Please sign up or login with your details

Forgot password? Click here to reset