satisfiability_instances function
The assignments of its variables that make a condition true.
How to write it
satisfiability_instances(p)
- p
- A condition. Takes a condition, true or false.
Examples
satisfiability_instances(p and q)In the solver,
Open in the solversatisfiability_instances(p and q)gives[[p -> true, q -> true]].
Related functions
- satisfiability_count
How many assignments of its variables make a condition true.
- truth_table
The truth table of a condition: a row for each choice of values.
- unequal
True when two values differ: the function form of !=.
- nor
True when every condition is false.
- xor
True when an odd number of conditions are true.
- nand
False when every condition is true.