WOLFRAM

Equivalent[e1,e2,]

represents the logical equivalence e1e2, giving True when all of the ei are the same.

Details

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Test equivalence of Boolean expressions:

Out[1]=1

Enter using equiv:

Out[1]=1

Scope  (2)Survey of the scope of standard use cases

Automatic simplifications:

Out[1]=1
Out[2]=2
Out[3]=3
Out[4]=4

TraditionalForm formatting:

Applications  (1)Sample problems that can be solved with this function

Prove equivalence between different Boolean expressions:

Out[1]=1
Out[2]=2
Out[3]=3

Properties & Relations  (7)Properties of the function, and connections to other functions

Truth table for binary Equivalent:

Out[1]=1

Ternary Equivalent:

Out[2]=2

Use BooleanConvert to express Equivalent in terms of And and Or:

Out[1]=1

A well-known representation of two-argument Equivalent in terms of Implies:

This proves that the two representations are indeed equivalent:

Out[2]=2

Equivalent can be represented in terms of BooleanCountingFunction:

Out[2]=2

Equivalent with two arguments is equivalent to Xnor:

Out[1]=1

For more arguments, these are different primitives:

Out[2]=2

Use Resolve to prove equivalence of two systems of equations:

Out[1]=1
Out[2]=2

Equivalent is effectively Equal for Boolean expressions:

Out[1]=1
Out[2]=2
Out[3]=3
Wolfram Research (2008), Equivalent, Wolfram Language function, https://reference.wolfram.com/language/ref/Equivalent.html.
Wolfram Research (2008), Equivalent, Wolfram Language function, https://reference.wolfram.com/language/ref/Equivalent.html.

Text

Wolfram Research (2008), Equivalent, Wolfram Language function, https://reference.wolfram.com/language/ref/Equivalent.html.

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.

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

Wolfram Language. (2008). Equivalent. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Equivalent.html

BibTeX

@misc{reference.wolfram_2025_equivalent, author="Wolfram Research", title="{Equivalent}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Equivalent.html}", note=[Accessed: 19-May-2025 ]}

@misc{reference.wolfram_2025_equivalent, author="Wolfram Research", title="{Equivalent}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Equivalent.html}", note=[Accessed: 19-May-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_equivalent, organization={Wolfram Research}, title={Equivalent}, year={2008}, url={https://reference.wolfram.com/language/ref/Equivalent.html}, note=[Accessed: 19-May-2025 ]}

@online{reference.wolfram_2025_equivalent, organization={Wolfram Research}, title={Equivalent}, year={2008}, url={https://reference.wolfram.com/language/ref/Equivalent.html}, note=[Accessed: 19-May-2025 ]}