Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quantifier Expression

Iterates over the given domains to find an instance whose conditions are met.

Multiple functions are available for this block:

  • and
  • or
  • min
  • max
  • sum
  • allDiff

For example, it can be used like this:

Example of a quantifier expression

Which would produce the following Essence Output:

and  ([ x >= y, y <= x ])