Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

unequal function

True when two values differ: the function form of !=.

How to write it

unequal(a, b)

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

Examples

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

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

    Open in the solver
  • xor

    True when an odd number of conditions are true.

  • truth_table

    The truth table of a condition: a row for each choice of values.

  • boolean_minimize

    A shortest equivalent form of a condition.

  • satisfiability_instances

    The assignments of its variables that make a condition true.

  • conflicting_rules

    Every set of rules that cannot hold together, each a list of the rules it needs; [] when all can hold.

  • satisfiability_count

    How many assignments of its variables make a condition true.