less_equal function
True when the first value is at most the second: the function form of <=.
How to write it
less_equal(a, b)
- a
- A value. Takes an expression.
- b
- A value. Takes an expression.
Examples
less_equal(2, 2)In the solver,
Open in the solverless_equal(2, 2)givestrue.
Related functions
- less
True when the first value is less than the second: the function form of <.
- greater_equal
True when the first value is at least the second: the function form of >=.
- equal
True when two values are equal: the function form of ==.
- logical_and
True when every condition is true: the function form of and.
- logical_expand
Distribute and over or in a logical expression.
- is_tautology
Test whether a condition is true for every value of its variables.