Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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)=true⁡\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
  • 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.