cylindrical_decomposition function
Describe where a condition holds as bounds on each variable in turn.
How to write it
cylindrical_decomposition(p, variables)
- p
- A condition on the variables. Takes a condition, true or false.
- variables
- The variables, in order, in brackets. Takes a list of variables.
Examples
cylindrical_decomposition(x^2 + y^2 < 1, [x, y])In the solver,
Open in the solvercylindrical_decomposition(x^2 + y^2 < 1, [x, y])gives-1 < x < 1 and -sqrt(1 - x^2) < y < sqrt(1 - x^2).
Related functions
- eliminate_quantifiers
An equivalent condition with the quantifiers removed.
- conflicting_rules
Every set of rules that cannot hold together, each a list of the rules it needs; [] when all can hold.
- equal
True when two values are equal: the function form of ==.
- boolean_minimize
A shortest equivalent form of a condition.
- equivalent
True when two conditions are both true or both false.
- xor
True when an odd number of conditions are true.