Disjunction[expr,{a1,a2,…}]
gives the disjunction of expr over all choices of the Boolean variables ai.
Disjunction
Disjunction[expr,{a1,a2,…}]
gives the disjunction of expr over all choices of the Boolean variables ai.
Details
- Disjunction[expr,{a1,a2,…}] applies Or to the results of substituting all possible combinations of True and False for the ai in expr.
- Disjunction gives a resolved form of
. - Disjunction is to Or what Sum is to Plus.
Examples
open all close allBasic Examples (3)
Properties & Relations (5)
Disjunction effectively computes the Or over all truth values of the listed variables:
Or@@BooleanTable[a && b && (c || d), {c, d}]Disjunction[a && b && (c || d), {c, d}]TautologyQ[Equivalent[%%, %]]Disjunction is typically more efficient and can work large numbers of variables:
f = BooleanConvert[BooleanCountingFunction[{30, 70}, 100], "BFF"]Disjunction[f@@Array[x, 100], Array[x, 20]]Disjunction eliminates ∃ (Exists) quantifiers for the list of variables:
Resolve[Exists[{c, d}, a && b && (c || d)]]Disjunction[a && b && (c || d), {c, d}]Use Resolve to eliminate more general combinations of quantifiers:
Resolve[Subscript[∀, a]Subscript[∃, b]Xor[a, b, c]]SatisfiableQ is Disjunction over all variables:
SatisfiableQ[¬Implies[Implies[a, b]∧a, b]]Disjunction[¬Implies[Implies[a, b]∧a, b], {a, b}]Use Conjunction to compute And over a list of variables:
Conjunction[f[a, b, c], {b, c}]Conjunction is related to Disjunction by de Morgan's law:
TautologyQ[Equivalent[¬Disjunction[¬f[a, b], {a, b}], Conjunction[f[a, b], {a, b}]]]Disjunction is effectively repeated Or, just as Sum is repeated Plus:
Sum[f[i, j], {i, 0, 1}, {j, 0, 1}]Disjunction[f[i, j], {i, j}]Represent Disjunction in terms of Sum:
Or@@Sum[f[i, j], {i, {True, False}}, {j, {True, False}}]See Also
Related Guides
History
Text
Wolfram Research (2008), Disjunction, Wolfram Language function, https://reference.wolfram.com/language/ref/Disjunction.html.
CMS
Wolfram Language. 2008. "Disjunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Disjunction.html.
APA
Wolfram Language. (2008). Disjunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Disjunction.html
BibTeX
@misc{reference.wolfram_2026_disjunction, author="Wolfram Research", title="{Disjunction}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Disjunction.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_disjunction, organization={Wolfram Research}, title={Disjunction}, year={2008}, url={https://reference.wolfram.com/language/ref/Disjunction.html}, note=[Accessed: 13-June-2026]}