# 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

- $\displaystyle p \land q = \left[ \left[ p \to \operatorname{true}, q \to \operatorname{true} \right] \right]$

  `satisfiability_instances(p and q)`

  In the solver, `satisfiability_instances(p and q)` gives `[[p -> true, q -> true]]`.

  [Open in the solver](https://hilberon.com/?q=satisfiability_instances%28p%20and%20q%29)

## Related functions

- [satisfiability_count](https://hilberon.com/library/satisfiability_count)

  How many assignments of its variables make a condition true.
- [truth_table](https://hilberon.com/library/truth_table)

  The truth table of a condition: a row for each choice of values.
- [unequal](https://hilberon.com/library/unequal)

  True when two values differ: the function form of !=.
- [nor](https://hilberon.com/library/nor)

  True when every condition is false.
- [xor](https://hilberon.com/library/xor)

  True when an odd number of conditions are true.
- [nand](https://hilberon.com/library/nand)

  False when every condition is true.

---
Source: https://hilberon.com/library/satisfiability_instances
