Logical equivalence

In logic and mathematics, statements $$p$$ and $$q$$ are said to be logically equivalent if they have the same truth value in every model. The logical equivalence of $$p$$ and $$q$$ is sometimes expressed as $$p \equiv q$$, $$p :: q$$, $$\textsf{E}pq$$, or $$p \iff q$$, depending on the notation being used. However, these symbols are also used for material equivalence, so proper interpretation would depend on the context. Logical equivalence is different from material equivalence, although the two concepts are intrinsically related.

Logical equivalences
In logic, many common logical equivalences exist and are often listed as laws or properties. The following tables illustrate some of these.

Logical equivalences involving conditional statements

 * $$p \implies q \equiv \neg p \vee q$$
 * $$p \implies q \equiv \neg q \implies \neg p$$
 * $$p \vee q \equiv \neg p \implies q$$
 * $$p \wedge q \equiv \neg (p \implies \neg q)$$
 * $$\neg (p \implies q) \equiv p \wedge \neg q$$
 * $$(p \implies q) \wedge (p \implies r) \equiv p \implies (q \wedge r)$$
 * $$(p \implies q) \vee (p \implies r) \equiv p \implies (q \vee r)$$
 * $$(p \implies r) \wedge (q \implies r) \equiv (p \vee q) \implies r$$
 * $$(p \implies r) \vee (q \implies r) \equiv (p \wedge q) \implies r$$

Logical equivalences involving biconditionals

 * $$p \iff q \equiv (p \implies q) \wedge (q \implies p)$$
 * $$p \iff q \equiv \neg p \iff \neg q$$
 * $$p \iff q \equiv (p \wedge q) \vee (\neg p \wedge \neg q)$$
 * $$\neg (p \iff q) \equiv p \iff \neg q \equiv p \oplus q$$

Where $$\oplus$$ represents XOR.

In logic
The following statements are logically equivalent:


 * 1) If Lisa is in Denmark, then she is in Europe (a statement of the form $$d \implies e$$).
 * 2) If Lisa is not in Europe, then she is not in Denmark (a statement of the form $$\neg e \implies \neg d$$).

Syntactically, (1) and (2) are derivable from each other via the rules of contraposition and double negation. Semantically, (1) and (2) are true in exactly the same models (interpretations, valuations); namely, those in which either Lisa is in Denmark is false or Lisa is in Europe is true.

(Note that in this example, classical logic is assumed. Some non-classical logics do not deem (1) and (2) to be logically equivalent.)

Relation to material equivalence
Logical equivalence is different from material equivalence. Formulas $$p$$ and $$q$$ are logically equivalent if and only if the statement of their material equivalence ($$p \leftrightarrow q$$) is a tautology.

The material equivalence of $$p$$ and $$q$$ (often written as $$p \leftrightarrow q$$) is itself another statement in the same object language as $$p$$ and $$q$$. This statement expresses the idea "'$$p$$ if and only if $$q$$'". In particular, the truth value of $$p \leftrightarrow q$$ can change from one model to another.

On the other hand, the claim that two formulas are logically equivalent is a statement in metalanguage, which expresses a relationship between two statements $$p$$ and $$q$$. The statements are logically equivalent if, in every model, they have the same truth value.