not_element function
True when a value is not an element of a set such as integer; the opposite of x : set.
How to write it
not_element(x, set)
Appears in the conditions under which a solution holds.
- x
- The value. Takes an expression.
- set
- The set, such as integer. Takes an expression.
Examples
not_element(1/2, integer)Open in the solver
Related functions
- refine
Simplify an expression using an assumption.
- assume
Add an assumption about the variables.
- with_assumptions
Evaluate a body under local assumptions.