boolean_minimize function
A shortest equivalent form of a condition.
How to write it
boolean_minimize(p)
- p
- A condition. Takes a condition, true or false.
Examples
boolean_minimize(p and q or p and not q)In the solver,
Open in the solverboolean_minimize(p and q or p and not q)givesp.
Related functions
- conflicting_rules
Every set of rules that cannot hold together, each a list of the rules it needs; [] when all can hold.
- xor
True when an odd number of conditions are true.
- cylindrical_decomposition
Describe where a condition holds as bounds on each variable in turn.
- unequal
True when two values differ: the function form of !=.
- eliminate_quantifiers
An equivalent condition with the quantifiers removed.
- truth_table
The truth table of a condition: a row for each choice of values.