equal function
True when two values are equal: the function form of ==.
How to write it
equal(a, b)
- a
- A value. Takes an expression.
- b
- A value. Takes an expression.
Examples
equal(1, 1)In the solver,
Open in the solverequal(1, 1)givestrue.
Related functions
- greater_equal
True when the first value is at least the second: the function form of >=.
- less_equal
True when the first value is at most the second: the function form of <=.
- equivalent
True when two conditions are both true or both false.
- eliminate_quantifiers
An equivalent condition with the quantifiers removed.
- greater
True when the first value is greater than the second: the function form of >.
- cylindrical_decomposition
Describe where a condition holds as bounds on each variable in turn.