eliminate_quantifiers function
An equivalent condition with the quantifiers removed.
How to write it
eliminate_quantifiers(p)
- p
- A condition with exists or for_all. Takes a condition, true or false.
Examples
eliminate_quantifiers(exists(x, x^2 = a))In the solver,
Open in the solvereliminate_quantifiers(exists(x, x^2 = a))givesa >= 0.
Related functions
- equal
True when two values are equal: the function form of ==.
- cylindrical_decomposition
Describe where a condition holds as bounds on each variable in turn.
- equivalent
True when two conditions are both true or both false.
- conflicting_rules
Every set of rules that cannot hold together, each a list of the rules it needs; [] when all can hold.
- greater
True when the first value is greater than the second: the function form of >.
- boolean_minimize
A shortest equivalent form of a condition.