# 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

- $\displaystyle \exists x \, (x^{2} = a) \; a \ge 0$

  `eliminate_quantifiers(exists(x, x^2 = a))`

  In the solver, `eliminate_quantifiers(exists(x, x^2 = a))` gives `a >= 0`.

  [Open in the solver](https://hilberon.com/?q=eliminate_quantifiers%28exists%28x%2C%20x%5E2%20%3D%20a%29%29)

## Related functions

- [equal](https://hilberon.com/library/equal)

  True when two values are equal: the function form of ==.
- [cylindrical_decomposition](https://hilberon.com/library/cylindrical_decomposition)

  Describe where a condition holds as bounds on each variable in turn.
- [equivalent](https://hilberon.com/library/equivalent)

  True when two conditions are both true or both false.
- [conflicting_rules](https://hilberon.com/library/conflicting_rules)

  Every set of rules that cannot hold together, each a list of the rules it needs; \[\] when all can hold.
- [greater](https://hilberon.com/library/greater)

  True when the first value is greater than the second: the function form of >.
- [boolean_minimize](https://hilberon.com/library/boolean_minimize)

  A shortest equivalent form of a condition.

---
Source: https://hilberon.com/library/eliminate_quantifiers
