Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

equivalent function

True when two conditions are both true or both false.

How to write it

equivalent(p, q)

p
A condition. Takes a condition, true or false.
q
A condition. Takes a condition, true or false.

Examples

  • true⁡  ⟺  true⁡=true⁡\displaystyle \operatorname{true} \iff \operatorname{true} = \operatorname{true}
    equivalent(true, true)

    In the solver, equivalent(true, true) gives true.

    Open in the solver
  • greater

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

  • equal

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

  • greater_equal

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

  • eliminate_quantifiers

    An equivalent condition with the quantifiers removed.

  • implies

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

  • cylindrical_decomposition

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