# eliminate_quantifiers 函数

去掉量词后的等价条件。

## 怎么写

### eliminate_quantifiers(p)

**p**

含有 exists 或 for_all 的条件。接受一个条件，真或假。

## 示例

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

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

  在求解器中，`eliminate_quantifiers(exists(x, x^2 = a))` 的结果是 `a >= 0`。

  [在求解器中打开](https://zh.hilberon.com/?q=eliminate_quantifiers%28exists%28x%2C%20x%5E2%20%3D%20a%29%29)

## 相关函数

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

  两个值相等时为真：== 的函数形式。
- [cylindrical_decomposition](https://zh.hilberon.com/library/cylindrical_decomposition)

  把条件成立的范围依次描述为每个变量的上下界。
- [equivalent](https://zh.hilberon.com/library/equivalent)

  两个条件同为真或同为假时为真。
- [conflicting_rules](https://zh.hilberon.com/library/conflicting_rules)

  返回所有不能同时成立的规则集合，每个集合是它所需规则的列表；全部可以成立时为 \[\]。
- [greater](https://zh.hilberon.com/library/greater)

  当第一个值大于第二个值时返回真：> 的函数形式。
- [boolean_minimize](https://zh.hilberon.com/library/boolean_minimize)

  条件的最短等价形式。

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