# 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

- $\displaystyle \operatorname{less\_equal}(2, 2) = \operatorname{true}$

  `less_equal(2, 2)`

  In the solver, `less_equal(2, 2)` gives `true`.

  [Open in the solver](https://hilberon.com/?q=less_equal%282%2C%202%29)

## Related functions

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

  True when the first value is less than the second: the function form of \<.
- [greater_equal](https://hilberon.com/library/greater_equal)

  True when the first value is at least the second: the function form of >=.
- [equal](https://hilberon.com/library/equal)

  True when two values are equal: the function form of ==.
- [logical_and](https://hilberon.com/library/logical_and)

  True when every condition is true: the function form of and.
- [logical_expand](https://hilberon.com/library/logical_expand)

  Distribute and over or in a logical expression.
- [is_tautology](https://hilberon.com/library/is_tautology)

  Test whether a condition is true for every value of its variables.

---
Source: https://hilberon.com/library/less_equal
