SatisfiabilityInstances
✖
SatisfiabilityInstances
attempts to find a choice of the ai that makes the Boolean expression expr be True.
Details and Options

- SatisfiabilityInstances[…] gives {} if no choice of variables yields True.
- SatisfiabilityInstances[…,…,All] gives all choices of variables that yield True.
- The following Method settings can be used:
-
"BDD" binary decision diagram method "SAT" a SAT solver "TREE" a branch-and-evaluate method
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Generate a single instance where the Boolean expression is true:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-wli5i


https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-i6wa10

Generate multiple instances; in this case only two instances exist:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-bh696x


https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-n1yqpe

Find 3 instances for a pure Boolean function:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-n2pccm

When the input is not satisfiable, an empty list is returned:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-fis4d


https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-c4jbli

Scope (1)Survey of the scope of standard use cases
Options (1)Common values & functionality for each option
Method (1)
By default, SatisfiabilityInstances automatically chooses the method to use:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-ckw1ug

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-7nxtwa

With Method"SAT", the input is converted to a conjunction of disjunctions and a SAT solver is used:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-qbh361

With Method"BDD", a BDD representation of the input is computed:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-dkc5v1

With Method"TREE", a simple branch-and-evaluate search method is used:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-48kk67

Properties & Relations (4)Properties of the function, and connections to other functions
A Boolean expression with n variables can have at most 2n instances:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-ovkkz7

Use SatisfiabilityCount to get an exact count of instances:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-guhkbk

SatisfiabilityInstances corresponds to True entries in BooleanTable:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-eorum


https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-fa9xo6


https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-z5tzj

Use FindInstance to find solutions to equations and inequalities:

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-bn0ain


https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-m4zsu

Neat Examples (1)Surprising or curious use cases

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-b3dirk

https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-hj9s


https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-bai8zj


https://wolfram.com/xid/0bsv4c4bmsrrzvo2mt-bd3gap

Wolfram Research (2008), SatisfiabilityInstances, Wolfram Language function, https://reference.wolfram.com/language/ref/SatisfiabilityInstances.html.
Text
Wolfram Research (2008), SatisfiabilityInstances, Wolfram Language function, https://reference.wolfram.com/language/ref/SatisfiabilityInstances.html.
Wolfram Research (2008), SatisfiabilityInstances, Wolfram Language function, https://reference.wolfram.com/language/ref/SatisfiabilityInstances.html.
CMS
Wolfram Language. 2008. "SatisfiabilityInstances." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SatisfiabilityInstances.html.
Wolfram Language. 2008. "SatisfiabilityInstances." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SatisfiabilityInstances.html.
APA
Wolfram Language. (2008). SatisfiabilityInstances. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SatisfiabilityInstances.html
Wolfram Language. (2008). SatisfiabilityInstances. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SatisfiabilityInstances.html
BibTeX
@misc{reference.wolfram_2025_satisfiabilityinstances, author="Wolfram Research", title="{SatisfiabilityInstances}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/SatisfiabilityInstances.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_satisfiabilityinstances, organization={Wolfram Research}, title={SatisfiabilityInstances}, year={2008}, url={https://reference.wolfram.com/language/ref/SatisfiabilityInstances.html}, note=[Accessed: 29-March-2025
]}