# 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

- $\displaystyle \operatorname{equal}(1, 1) = \operatorname{true}$

  `equal(1, 1)`

  In the solver, `equal(1, 1)` gives `true`.

  [Open in the solver](https://hilberon.com/?q=equal%281%2C%201%29)

## Related functions

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

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

  True when the first value is at most the second: the function form of \<=.
- [equivalent](https://hilberon.com/library/equivalent)

  True when two conditions are both true or both false.
- [eliminate_quantifiers](https://hilberon.com/library/eliminate_quantifiers)

  An equivalent condition with the quantifiers removed.
- [greater](https://hilberon.com/library/greater)

  True when the first value is greater than the second: the function form of >.
- [cylindrical_decomposition](https://hilberon.com/library/cylindrical_decomposition)

  Describe where a condition holds as bounds on each variable in turn.

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