Equivalent[e1,e2,…]
represents the logical equivalence e1⇔e2⇔…, giving True when all of the ei are the same.
Equivalent
Equivalent[e1,e2,…]
represents the logical equivalence e1⇔e2⇔…, giving True when all of the ei are the same.
Details
- Equivalent[e1,e2,…] can be input in StandardForm and InputForm as e1⇔e2⇔…. The character ⇔ can be entered as
equiv
or \[Equivalent]. - As a Boolean function, Equivalent[e1,e2,…] is equivalent to (e1∧e2∧⋯)∨(¬e1∧¬e2∧⋯).
Examples
open all close allBasic Examples (2)
Scope (2)
Equivalent[a, b, a, b, c]Equivalent[a, b, c, True]Equivalent[a, b, c, False]Equivalent[a, b, True, False]TraditionalForm formatting:
Equivalent[a, b, c]//TraditionalFormApplications (1)
Properties & Relations (7)
Truth table for binary Equivalent:
BooleanTable[{x, y, Equivalent[x, y]}, {x, y}]//GridTernary Equivalent:
BooleanTable[{x, y, z, Equivalent[x, y, z]}, {x, y, z}]//GridUse BooleanConvert to express Equivalent in terms of And and Or:
BooleanConvert[Equivalent[a, b, c]]A well-known representation of two-argument Equivalent in terms of Implies:
e1 = Equivalent[a, b];
e2 = Implies[a, b] && Implies[b, a];This proves that the two representations are indeed equivalent:
TautologyQ[Equivalent[e1, e2]]Equivalent can be represented in terms of BooleanCountingFunction:
equivalent[v__] :=
BooleanCountingFunction[{{0, Length[{v}]}}, Length[{v}]][v]TautologyQ[Equivalent[Equivalent@@Array[a, 5], equivalent@@Array[a, 5]]]Equivalent with two arguments is equivalent to Xnor:
TautologyQ[Equivalent[Equivalent[a, b], Xnor[a, b]]]For more arguments, these are different primitives:
TautologyQ[Equivalent[Equivalent[a, b, c], Xnor[a, b, c]]]Use Resolve to prove equivalence of two systems of equations:
ForAll[{x, y}, Equivalent[x y == 1 && x ^ 2 + y ^ 2 == 2, x == y && x ^ 2 == 1]]Resolve[%]Equivalent is effectively Equal for Boolean expressions:
BooleanTable[a == b == c, {a, b, c}]BooleanTable[Equivalent[a, b, c], {a, b, c}]%% == %Related Guides
History
Text
Wolfram Research (2008), Equivalent, Wolfram Language function, https://reference.wolfram.com/language/ref/Equivalent.html.
CMS
Wolfram Language. 2008. "Equivalent." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Equivalent.html.
APA
Wolfram Language. (2008). Equivalent. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Equivalent.html
BibTeX
@misc{reference.wolfram_2026_equivalent, author="Wolfram Research", title="{Equivalent}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Equivalent.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_equivalent, organization={Wolfram Research}, title={Equivalent}, year={2008}, url={https://reference.wolfram.com/language/ref/Equivalent.html}, note=[Accessed: 13-June-2026]}