Eliminate all quantifiers from \(\varphi\) so that \(\varphi'\) is a quantifier-free equivalent of \(\varphi\). Formally, \[ \mathbb{R} \models \varphi' \longleftrightarrow \varphi. \]
When \(\Theta\) is given, the elimination result is correct for all interpretations of the parameters in \(\varphi\) that satisfy \(\Theta\). Formally, \[ \mathbb{R} \models \bigwedge \Theta \longrightarrow (\varphi' \longleftrightarrow \varphi). \] In the literature \(\Theta\) is sometimes called a theory, which must not be confused with the theory \(\mathbb{R}\) in which we are computing.
The implementation of virtual substitution is limited to quantifiers, where the degree of the quantified variable does not exceed 2. A quantified variable is called linear when it is not multiplied with other quantified variables, in particular not with itself. With the elimination of a nonlinear quantified variable the degrees of the other variables possibly increase. On the other hand, degrees are decreased during elimination by various heuristic simplification techniques. If at some point during elimination all remaining quantifiers exceed the degree bound of 2, then virtual substitution cannot continue. This is called a degree violation. Unless in the input formula all quantified variables are linear, it cannot be excluded that there will be degree violations.
In case of degree violation,
For the elimination of a block of like quantifiers, virtual
substitution applies a variable selection strategy. The
switch
For a more exhaustive search for a good elimination order the
switch
The switch
The switches
rlqe(ex(x, a*x^2 + b*x + c = 0), {a <> 0});
rlqe all(x, ex(y, x^2 + x*y + b > 0 and x + a*y^2 + b <= 0));
- R. Loos and V. Weispfenning. Applying linear quantifier elimination THE Computer Journal 36(5):450–462, 1993.
- A. Seidl. Cylindrical Decomposition Under Application-Oriented Paradigms. PhD thesis, Universität Passau, Germany, 2006.
- V. Weispfenning. Quantifier elimination for real algebra—The quadratic case and beyond. Appl. Algebr. Eng. Comm. 8(2):85–101, 1997.