Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

greater function

True when the first value is greater than the second: the function form of >.

How to write it

greater(a, b)

a
A value. Takes an expression.
b
A value. Takes an expression.

Examples

  • greater⁡(2,1)=true⁡\displaystyle \operatorname{greater}(2, 1) = \operatorname{true}
    greater(2, 1)

    In the solver, greater(2, 1) gives true.

    Open in the solver
  • greater_equal

    True when the first value is at least the second: the function form of >=.

  • equivalent

    True when two conditions are both true or both false.

  • implies

    True unless the first condition is true and the second false.

  • equal

    True when two values are equal: the function form of ==.

  • is_even

    Test whether a whole number is even.

  • eliminate_quantifiers

    An equivalent condition with the quantifiers removed.