# cylindrical_decomposition 関数

条件が成り立つ範囲を、各変数ごとに順に上・下界として表す。

## 書き方

### cylindrical_decomposition(p, variables)

**p**

変数についての条件。条件（真または偽）を受け取ります。

**variables**

変数を順に並べたもの（角括弧で囲む）。変数のリストを受け取ります。

## 例題

- $\displaystyle \operatorname{cylindrical\_decomposition}(x^{2}+y^{2} < 1, \left[ x, y \right]) = -1 < x < 1 \text{ and } -\sqrt{1-x^{2}} < y < \sqrt{1-x^{2}}$

  `cylindrical_decomposition(x^2 + y^2 < 1, [x, y])`

  ソルバーでは、`cylindrical_decomposition(x^2 + y^2 < 1, [x, y])` の答えは `-1 < x < 1 and -sqrt(1 - x^2) < y < sqrt(1 - x^2)` です。

  [ソルバーで開く](https://ja.hilberon.com/?q=cylindrical_decomposition%28x%5E2%20%2B%20y%5E2%20%3C%201%2C%20%5Bx%2C%20y%5D%29)

## 関連する関数

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

  量化子を除いた、同値な条件。
- [conflicting_rules](https://ja.hilberon.com/library/conflicting_rules)

  同時に成り立たないルールの集合をすべて返します。各集合はそれに必要なルールのリストで、すべて成り立つときは \[\] です。
- [equal](https://ja.hilberon.com/library/equal)

  2つの値が等しいとき True を返します：== の関数版。
- [boolean_minimize](https://ja.hilberon.com/library/boolean_minimize)

  条件の最短の同値な形。
- [equivalent](https://ja.hilberon.com/library/equivalent)

  2つの条件がともに真か、ともに偽のとき True を返します。
- [xor](https://ja.hilberon.com/library/xor)

  真である条件の個数が奇数のとき真。

---
Source: https://ja.hilberon.com/library/cylindrical_decomposition
