Two formulas are logically equivalent when they have the same truth value in every row of their truth table, so that each says exactly what the other says. This lesson defines logical equivalence and the sign ≡, shows how a truth table proves or refutes an equivalence, separates it from two statements that merely happen to have the same truth value, proves that it behaves like equality, and shows how known equivalences give new ones by substitution and replacement.
Formulas that say the same thing
The lessons so far have met several pairs of formulas whose columns agree in every row: ¬¬p and p (Negation), p → q and ¬p ∨ q (Conditional statements), p → q and its contrapositive ¬q → ¬p (Converse, inverse and contrapositive), p ↔ q and (p → q) ∧ (q → p) (Biconditional statements). Whatever statements p and q stand for, the two formulas of each pair are true together and false together. Replacing a statement by another with the same truth value is an important type of step in a mathematical argument,[1] and such pairs are what make the step safe.
Let A and B be formulas, built from letters with the connectives ¬, ∧, ∨, ⊕, → and ↔ (lessons 1.4, 1.5 and 1.7). A and B are logically equivalent if they have the same truth value in every row of a truth table whose letters are all the letters of A and of B, that is, whatever statements the letters stand for and whatever truth values those statements have.[2]
In other words, the truth values of A and B must match: whenever one is true, so is the other, and whenever one is false, so is the other.[3] Logically equivalent formulas are also called simply equivalent.[2] Two statements in words are logically equivalent when the formulas that show their structure are, with the same letter for the same simple statement: the statements are first translated into formulas, and the formulas are compared.[5]
The sign ≡ is not a connective. A ≡ B is not a new formula; it is a statement about the two formulas A and B. Some books write A ⇔ B instead of A ≡ B,[6] and others write the words “A is equivalent to B”.[7] This site writes ≡.
Show that ¬p → p ≡ p, and say what this means for “if 21 is not prime, then 21 is prime”.
- The only letter is p, so the table has 2 rows.
- Row 1, p true: ¬p → p has a true conclusion, so it is true. Both formulas are true.
- Row 2, p false: ¬p is true, so ¬p → p is true → false, which is false. Both formulas are false.
- The columns agree in both rows, so the formulas are equivalent.
Answer: ¬p → p ≡ p: a statement that follows from its own negation is true. “If 21 is not prime, then 21 is prime” says exactly what “21 is prime” says, and both are false, since 21 = 3 × 7 (Prime and composite numbers).
| Row | p | ¬p | ¬p → p |
|---|---|---|---|
| 1 | T | F | T |
| 2 | F | T | F |
Testing an equivalence with a truth table
The definition asks for the same truth value in every case, and a truth table lists every case, one per row (Truth tables). So a truth table settles any question of equivalence: two formulas are equivalent exactly when the columns giving their truth values agree.[8]
Let A and B be formulas, and make one truth table with all the letters of both, with a column for A and a column for B. (1) A ≡ B exactly when the two columns agree in every row. (2) A and B are not equivalent exactly when the two columns differ in at least one row; one such row is enough.
The rows of the table are all the ways of giving truth values to the letters, each listed once (lesson 1.4: n letters give 2n rows, and the standard order lists each of them once). So “in every row” means “whatever truth values the letters have”, and (1) is the definition. Statement (2) is the negation of (1): the columns fail to agree in every row exactly when they differ in some row. Such a row is a case, given by actual truth values, in which one formula is true and the other false.
The table of a formula has finitely many rows, so checking all of them is a complete proof. This is different from equivalent expressions in algebra (Algebraic Expressions 1.4), whose variables can take infinitely many values: there, no finite list of checks proves an equivalence. The number of rows grows fast, however. Ten letters already give 2¹⁰ = 1,024 rows, and with many letters a table is no longer practical: working from equivalences already known is faster.[9] Section 5 shows how.
Show that p → (q ∨ r) ≡ (p ∧ ¬q) → r.
- The letters are p, q, r, so the table has 2³ = 8 rows, from TTT to FFF.
- p → (q ∨ r) is false only where p is true and q ∨ r is false, that is, where q and r are both false as well: row 4 (TFF). It is true in the other seven rows.
- p ∧ ¬q is true only where p is true and q false: rows 3 and 4. So (p ∧ ¬q) → r is false only where, in addition, r is false: row 4 again. It is true in the other seven rows.
- Both columns are F in row 4 and T in rows 1–3 and 5–8. They agree in all eight rows.
Answer: the formulas are equivalent. For whole numbers n, “if n is a multiple of 3, then n is odd or n is a multiple of 6” therefore says exactly the same as “if n is a multiple of 3 and n is not odd, then n is a multiple of 6”: two ways of saying that every even multiple of 3 is a multiple of 6.
| Row | p | q | r | p → (q ∨ r) | p ∧ ¬q | (p ∧ ¬q) → r |
|---|---|---|---|---|---|---|
| 1 | T | T | T | T | F | T |
| 2 | T | T | F | T | F | T |
| 3 | T | F | T | T | T | T |
| 4 | T | F | F | F | T | F |
| 5 | F | T | T | T | F | T |
| 6 | F | T | F | T | F | T |
| 7 | F | F | T | T | F | T |
| 8 | F | F | F | T | F | T |
A student writes the negation of “if 9 is a multiple of 3, then 9 is odd” as “if 9 is not a multiple of 3, then 9 is not odd”, that is, ¬(p → q) as ¬p → ¬q. Test the claim ¬(p → q) ≡ ¬p → ¬q.
- p → q is T, F, T, T in the four rows, so its negation ¬(p → q) is F, T, F, F.
- ¬p is F, F, T, T and ¬q is F, T, F, T, so ¬p → ¬q is T, T, F, T: it is false only in row 3, where its hypothesis ¬p is true and its conclusion ¬q false.
- Compare row by row: F and T in row 1, T and T in row 2, F and F in row 3, F and T in row 4. The columns differ in rows 1 and 4. By the Theorem, the formulas are not equivalent.
- Row 1 is the case of the student’s sentence: 9 = 3 × 3 is a multiple of 3 and 9 = 4 × 2 + 1 is odd. The original conditional is true, so its negation must be false; the student’s sentence has a false hypothesis, so it is true.
Answer: ¬(p → q) and ¬p → ¬q are not equivalent; the student wrote the inverse (lesson 1.6), not the negation. The negation is p ∧ ¬q (lesson 1.5): “9 is a multiple of 3 and 9 is not odd”, which is false, as it must be.
| Row | p | q | p → q | ¬(p → q) | ¬p → ¬q |
|---|---|---|---|---|---|
| 1 | T | T | T | F | T |
| 2 | T | F | F | T | T |
| 3 | F | T | T | F | F |
| 4 | F | F | T | F | T |
Equivalent, or find the row
- Round
- 1
- Score
- 0
- Streak
- 0
Are A and B logically equivalent? If not, tap a row in which they have different truth values. If they are, choose the last card.
Equivalence and truth values
Logical equivalence is a property of formulas, decided by all the rows at once. It is easily confused with two weaker things: two statements that happen to have the same truth value, and two statements that always agree because of a fact of arithmetic.
Let p be “7 is prime” and q be “3 + 5 = 8”. Both are true. Are they logically equivalent? Is p ∧ q ≡ p?
- As formulas, p and q are two different letters. In the row where p is true and q false, their columns differ. So p and q are not equivalent.
- p ∧ q and p differ in the same row: there p ∧ q is false and p true. So p ∧ q is not equivalent to p either, although for these two statements both are true.
Answer: no, and no. That 7 is prime and that 3 + 5 = 8 are facts about these two particular statements; logical equivalence asks for the same truth value whatever the letters stand for.[2] One row of the table is one possible case, and the truth values of the actual statements give only one of the rows.
In the same way, for every whole number n the statements “n is even” and “n + 1 is odd” have the same truth value. The reason is a theorem about whole numbers, proved like the biconditionals of lesson 1.7, not logic: as formulas the two statements are two different letters, and they are not logically equivalent. Logical equivalence is agreement that follows from the form of the formulas alone.
For all formulas A and B: A ≡ B exactly when the formula A ↔ B is true in every row of its truth table.
By the definition of the biconditional (lesson 1.7), A ↔ B is true in a row exactly when A and B have the same truth value in that row. So A ↔ B is true in every row exactly when A and B agree in every row, which is what A ≡ B means.
Some books take this as the definition of logical equivalence.[4]
Do not confuse ↔ with ≡. A ↔ B is a formula: it has a truth value in each row, and it may be true in some rows and false in others. A ≡ B is a single statement about A and B: it says that A ↔ B is true in every row.[6] For example, p ↔ q is true in rows 1 and 4, but p ≡ q is simply false.
The Proposition gives a quick way to test an equivalence with the table builder: type A ↔ B, with brackets around A and around B. The formulas are equivalent exactly when the last column is T in every row. The builder starts with the equivalence of the first example; try also (p → q) ↔ (¬p ∨ q), or the common mistake above.
Test an equivalence
Type a formula, or build it with the buttons. The table shows every row and every part of the formula.
| Row | p | ¬p | ¬p → p | (¬p → p) ↔ p |
|---|---|---|---|---|
| 1 | T | F | T | T |
| 2 | F | T | F | T |
(¬p → p) ↔ p has 1 letter, so its table has 21 = 2 rows. It is true in 2 of them: it is true in every row.
Show that (q → p) ∧ (¬q → p) ≡ p, although the right-hand side has no q.
- The letters of both formulas together are p and q, so the table has 4 rows. In it, the column of p is T, T, F, F: a formula without q simply has the same value in the two rows that differ only in q.
- If p is true, both conditionals have a true conclusion, so both are true and so is their conjunction: rows 1 and 2 give T.
- If p is false, one of q and ¬q is true, and the conditional with that hypothesis is true → false, which is false. So the conjunction is false: rows 3 and 4 give F.
- The column is T, T, F, F, the column of p.
Answer: equivalent. “If n is even, then n < 100, and if n is not even, then n < 100” says exactly “n < 100”: when the same conclusion follows in both cases, the cases do not matter. This is the idea behind proof by cases, a lesson of the unit Proof.
Equivalence behaves like equality
For all formulas A, B and C:
- A ≡ A;
- if A ≡ B, then B ≡ A;
- if A ≡ B and B ≡ C, then A ≡ C.
(1) In every row, A has the same truth value as itself. (2) “A and B have the same truth value” says the same as “B and A have the same truth value”, row by row.
(3) Take a row for all the letters of A, B and C. The value of a formula depends only on the values of its own letters, so this row gives A and B the values they have in a row of their own table; there they agree, since A ≡ B. In the same way B and C agree. So A and C agree in this row. Every row for the letters of A and C is part of such a row (give the other letters of B any values), so A and C agree in every row of their table: A ≡ C.
Part (3) is used in every chain of equivalences:[11] from A ≡ B, B ≡ C and C ≡ D it follows that A ≡ D. Together, the three parts say that formulas fall into separate groups: two formulas are in the same group exactly when they are equivalent, and then they have the same column. The figure sorts some formulas in p and q in this way.
- p → q
- ¬p ∨ q
- ¬q → ¬p
- ¬(p ∧ ¬q)
- q → p
- ¬p → ¬q
- p ∨ ¬q
- p ↔ q
- (p → q) ∧ (q → p)
- ¬(p ⊕ q)
- p ⊕ q
- (p ∨ q) ∧ ¬(p ∧ q)
- p
- ¬¬p
- (q → p) ∧ (¬q → p)
- p ∨ ¬p
- q → q
Is ¬(p ∧ ¬q) equivalent to the contrapositive ¬q → ¬p? Is it equivalent to the converse q → p?
- ¬(p ∧ ¬q) is false only where p ∧ ¬q is true: p true and q false, row 2. Its column is T, F, T, T, the column of p → q. So ¬(p ∧ ¬q) ≡ p → q.
- p → q ≡ ¬q → ¬p (lesson 1.6). By part (3) of the Theorem, ¬(p ∧ ¬q) ≡ ¬q → ¬p.
- q → p is false in row 3 only, so its column is T, T, F, T. It differs from T, F, T, T in rows 2 and 3.
Answer: equivalent to the contrapositive, not to the converse. In words, ¬(p ∧ ¬q) says “it never happens that p holds and q fails”, which is exactly what “if p, then q” promises.
A relation that has the three properties of the Theorem, reflexive, symmetric and transitive, is called an equivalence relation.[12] Equivalence relations, and the groups they sort things into, are the subject of the unit Relations.
New equivalences from old
Many equivalences resemble the rules for +, × and − in algebra,[13] and they are used in the same way: a known equivalence is applied to other formulas, or used to rewrite a part of a formula. The next two theorems say why both uses are correct, so that new equivalences can be found without a truth table.
Let A ≡ B. In both A and B, replace letters by formulas, every occurrence of the same letter by the same formula. Then the two results are equivalent.[14]
Call the results A′ and B′, and take any row for their letters. In this row each replacing formula has a truth value. Now look at the row of the table of A and B in which each replaced letter has the value of its formula, and every other letter has its value in the given row. Build A′ column by column, as in lesson 1.4: each column is computed from the columns of its parts by the same connective as the matching column of A, starting from the same truth values. So A′ has the truth value of A in that row, and in the same way B′ has the truth value of B. Since A ≡ B, these are equal. The row was arbitrary, so A′ ≡ B′.
Let A ≡ B, and let A be a part of a formula D. Replace that part by B, and call the result D′. Then D′ ≡ D.[16]
Take any row for the letters of D and D′. The truth value of D is found column by column, from the letters to the whole formula (lesson 1.4), and one of the columns on the way is the column of the part A. The calculation of D′ runs through the same columns, except that the column of A is replaced by the column of B, which has the same truth value in this row, since A ≡ B. Every later column is computed from the same truth values by the same connectives, so the last columns agree. The row was arbitrary, so D′ ≡ D.
The replacement theorem is the logical version of replacing a part of an expression by an equivalent one (Algebraic Expressions 1.4), and the two proofs run the same way. A proof of an equivalence without a truth table is therefore a chain A ≡ A₁ ≡ A₂ ≡ ⋯ ≡ B, each step a substitution into a known equivalence or a replacement of one part.
Find a formula without ↔ that is equivalent to p ↔ ¬q, and say what p ↔ ¬q means.
- Lesson 1.7 proved p ↔ q ≡ (p ∧ q) ∨ (¬p ∧ ¬q). By substitution, with ¬q in place of q: p ↔ ¬q ≡ (p ∧ ¬q) ∨ (¬p ∧ ¬¬q).
- ¬¬q ≡ q (double negation, lesson 1.2). By replacement: (p ∧ ¬q) ∨ (¬p ∧ ¬¬q) ≡ (p ∧ ¬q) ∨ (¬p ∧ q).
- By part (3) of the Theorem of section 4, p ↔ ¬q ≡ (p ∧ ¬q) ∨ (¬p ∧ q).
- The right-hand side is true exactly when p is true and q false, or p false and q true: when exactly one of them is true. That is the exclusive or p ⊕ q (Conjunction and disjunction).
Answer: p ↔ ¬q ≡ (p ∧ ¬q) ∨ (¬p ∧ q) ≡ p ⊕ q. For whole numbers from 1 to 12, “n is even iff n is not a multiple of 3” is true exactly for 2, 3, 4, 8, 9 and 10, the numbers that are even or a multiple of 3 but not both. The result agrees with an equivalence listed by Rosen, ¬(p ↔ q) ≡ p ↔ ¬q,[18] since ¬(p ↔ q) ≡ ¬¬(p ⊕ q) ≡ p ⊕ q by lesson 1.7 and replacement.
Without a truth table, write p ↔ q with ¬, ∧ and ∨ only.
- p ↔ q ≡ (p → q) ∧ (q → p), by lesson 1.7.
- p → q ≡ ¬p ∨ q (lesson 1.5). By replacement of the first part: (p → q) ∧ (q → p) ≡ (¬p ∨ q) ∧ (q → p).
- Substituting q for p and p for q in p → q ≡ ¬p ∨ q gives q → p ≡ ¬q ∨ p. By replacement of the second part: (¬p ∨ q) ∧ (q → p) ≡ (¬p ∨ q) ∧ (¬q ∨ p).
- By part (3) of the Theorem of section 4, the ends of the chain are equivalent.
Answer: p ↔ q ≡ (¬p ∨ q) ∧ (¬q ∨ p). Check one row: with p true and q false, p ↔ q is false, and ¬p ∨ q is F ∨ F = F, so the conjunction is false too. With both false, both sides are true: ¬p ∨ q and ¬q ∨ p are T ∨ F = T.
Lesson 1.9, “De Morgan’s laws”, proves the equivalences that negate a conjunction and a disjunction. Lesson 1.10, “The laws of logic”, collects the standard equivalences, with names, so that chains like the one above can be written step by step, and lesson 1.11, “Tautologies and contradictions”, studies the formulas that are true, or false, in every row.
According to Jeff Miller’s list of the earliest uses of symbols of logic, the double arrow with a double line, ⇔, was first used for equivalence in 1954, in the third edition of Bourbaki’s Théorie des ensembles.[19]
Exercises
Is p ∧ (p → q) equivalent to p ∧ q? Is p ∨ (p → q) equivalent to p → q?
▸ Show solution
- p ∧ (p → q): in row 1 (TT) it is T ∧ T = T; in row 2 (TF) p → q is F, so it is T ∧ F = F; in rows 3 and 4 its first part p is F, so it is F. The column T, F, F, F is the column of p ∧ q: equivalent.
- p ∨ (p → q): in rows 1 and 2 its first part p is T; in rows 3 and 4 p → q has a false hypothesis, so it is T. Its column is T, T, T, T, while p → q is F in row 2. Not equivalent.
Decide which pairs are equivalent, and for each pair that is not, give a row in which they differ. (1) ¬p ⊕ ¬q and p ⊕ q. (2) p ∧ (q → p) and p. (3) p ↔ (q → p) and p. (4) (p → q) → q and p ∨ q.
▸ Show solution
- ¬p ⊕ ¬q is true when exactly one of ¬p, ¬q is true, that is, exactly one of p, q is false, which with two letters means exactly one is true. Column F, T, T, F, like p ⊕ q: equivalent.
- p ∧ (q → p): rows T T, T F give T ∧ T = T; rows F T, F F give F ∧ … = F. Column T, T, F, F: equivalent to p.
- p ↔ (q → p): q → p is T, T, F, T, so the biconditional with p (T, T, F, F) is T, T, T, F. It differs from p in row 3 (p F, q T). Not equivalent.
- (p → q) → q: p → q is T, F, T, T; the conditional with q (T, F, T, F) is T → T = T, F → F = T, T → T = T, T → F = F. Column T, T, T, F, the column of p ∨ q: equivalent.
Let p be “12 is even” and q be “12 > 5”. Are p and q logically equivalent? Is p ∧ q ≡ p? What is the truth value of p ↔ q for these statements, and why is it not a contradiction?
▸ Show solution
p and q are not equivalent: they are different letters, and they differ in the row p T, q F. p ∧ q and p are not equivalent either: they differ in the same row, where p ∧ q is F and p T.
p ↔ q is true for these statements, since both are true. This does not contradict the first answer: p ↔ q is a formula whose truth value depends on the row, and these statements give row 1, where it is true; p ≡ q would need it to be true in every row, and it is false in rows 2 and 3.
Prove that p → (q → r) ≡ (p → q) → (p → r) by finding the rows in which each of them is false, without writing all eight rows.
▸ Show solution
Find the rows in which each formula is false. p → (q → r) is false only when p is true and q → r is false, that is, q true and r false: only the row TTF, row 2.
(p → q) → (p → r) is false only when p → q is true and p → r is false. The second needs p true and r false; then the first needs q true. So it too is false only in row TTF.
Both formulas are false in exactly the same row and true in the other seven, so they are equivalent.
Show that p → (q → p) ≡ q → q, although the formulas look unrelated. Explain why any two formulas that are true in every row are equivalent. What about two formulas that are false in every row?
▸ Show solution
The letters of both are p and q. p → (q → p) could be false only if p were true and q → p false, but q → p has the true conclusion p, so it is true. So p → (q → p) is T in all four rows. q → q is false only if q is true and false at once, which never happens: T in all four rows. The columns agree, so the formulas are equivalent.
In general, two formulas that are true in every row have columns of all T in a table with the letters of both, so they agree in every row and are equivalent. The same holds for two formulas that are false in every row.
Prove that if A ≡ B, then ¬A ≡ ¬B. Is the converse true: if ¬A ≡ ¬B, must A ≡ B?
▸ Show solution
Suppose A ≡ B. In any row, A and B have the same truth value, so ¬A and ¬B, the opposite values, are equal too. So ¬A ≡ ¬B. (It is also the replacement theorem with D = ¬A.)
Conversely, suppose ¬A ≡ ¬B. By what was just proved, ¬¬A ≡ ¬¬B. By double negation, A ≡ ¬¬A and ¬¬B ≡ B. By parts (2) and (3) of the Theorem of section 4, A ≡ B.
Use substitution and replacement to show that p → ¬q ≡ q → ¬p. Then state the two equivalent sentences for p: n is prime and q: n is a multiple of 9, and decide them.
▸ Show solution
Start from the contrapositive law p → q ≡ ¬q → ¬p (lesson 1.6). Substitute ¬q for q: p → ¬q ≡ ¬¬q → ¬p. Replace ¬¬q by q (double negation): ¬¬q → ¬p ≡ q → ¬p. By part (3) of the Theorem, p → ¬q ≡ q → ¬p.
With p: n is prime and q: n is a multiple of 9, the two statements are “if n is prime, then n is not a multiple of 9” and “if n is a multiple of 9, then n is not prime”. They are equivalent, so they are true for exactly the same n. Both are in fact true for every whole number n. The second says that no multiple of 9 is prime: 0 is not prime, since a prime is greater than 1, and a multiple 9 × k with k ≥ 1 is at least 9 and equals 3 × (3 × k), so it has the factor 3, which is neither 1 nor the number itself.
Summary
- Formulas A and B are logically equivalent, A ≡ B, when they have the same truth value in every row of a truth table with the letters of both: whatever the letters stand for.
- A truth table proves an equivalence by agreement in every row, and refutes it by one row in which the columns differ. With n letters there are 2n rows to check.
- Two statements that happen to have the same truth value are not therefore equivalent. A ≡ B exactly when A ↔ B is true in every row; ≡ is not a connective.
- Logical equivalence is reflexive, symmetric and transitive, like equality, so chains of equivalences may be followed to their end.
- Substituting formulas for letters in an equivalence, or replacing a part of a formula by an equivalent part, gives new equivalences without a truth table.
Sources
- 1.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.1, “Introduction”), p. 26 (the whole topic: pp. 26).
“An important type of step used in a mathematical argument is the replacement of a statement with another statement with the same truth value.”
Used for: replacing a statement by another with the same truth value is an important type of step in a mathematical argument. - 2.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.2, “Truth Tables”, p. 19 (the whole topic: pp. 19–20).
“Equivalent formulas always have the same truth value no matter what statements the letters in them stand for and no matter what the truth values of those statements are.”
Used for: the definition of logical equivalence: the same truth value whatever statements the letters stand for and whatever their truth values; such formulas are called equivalent (also in the example on two true statements). - 3.Donna Kirk and others, Contemporary Mathematics (OpenStax, Rice University, 2023).Chapter 2, “Logic”, section 2.5, “Equivalent Statements”: “Determine Logical Equivalence”, p. 97 (the whole topic: pp. 97–98).
“An alternate way to think about logical equivalence is that the truth values have to match.”
Used for: logically equivalent formulas have matching truth values: whenever one is true, so is the other, and whenever one is false, so is the other (the next sentence of the source). - 4.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”, Definition 2), p. 27 (the whole topic: pp. 27).
“The compound propositions p and q are called logically equivalent if p ↔ q is a tautology. The notation p ≡ q denotes that p and q are logically equivalent.”
Used for: the notation A ≡ B; some books define logical equivalence by the biconditional being a tautology. - 5.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.5, “The Conditional and Biconditional Connectives”, Example 1.5.2, p. 50 (the whole topic: pp. 49–50).
“We translate all of the statements into the notation of logic”
Used for: statements in words are compared by translating them into formulas (the source then decides which of its statements are equivalent). - 6.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”, Remark), p. 27 (the whole topic: pp. 27).
“The symbol ≡ is not a logical connective, and p ≡ q is not a compound proposition but rather is the statement that p ↔ q is a tautology. The symbol ⇔ is sometimes used instead of ≡ to denote logical equivalence.”
Used for: ≡ is not a connective, and A ≡ B is a statement about the formulas (that A ↔ B is true in every row), not a formula; some books write ⇔. - 7.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.2, “Truth Tables”, p. 21 (the whole topic: pp. 20–21).
“¬¬P is equivalent to P.”
Used for: other books write the words “is equivalent to” (Velleman’s list of laws, of which this is the double negation law). - 8.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”), p. 27 (the whole topic: pp. 27–28).
“One way to determine whether two compound propositions are equivalent is to use a truth table. In particular, the compound propositions p and q are equivalent if and only if the columns giving their truth values agree.”
Used for: two formulas are equivalent exactly when the columns giving their truth values agree (the truth-table test). - 9.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”), p. 30 (the whole topic: pp. 28–30).
“the use of truth tables to establish equivalences becomes impractical as the number of variables grows. It is quicker to use other methods, such as employing logical equivalences that we already know.”
Used for: truth tables become impractical as the number of letters grows; it is quicker to use equivalences already known. - 10.Donna Kirk and others, Contemporary Mathematics (OpenStax, Rice University, 2023).Chapter 2, “Logic”, section 2.5, “Equivalent Statements”: “Determine Logical Equivalence”, p. 97 (the whole topic: pp. 97–98).
“or when the last column of the truth table consists of only true values. When a logical statement is always true, it is known as a tautology.”
Used for: a formula that is true in every row is called a tautology; OpenStax too defines logical equivalence through the biconditional (the same paragraph). - 11.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.4, “Constructing New Logical Equivalences”), p. 31 (the whole topic: pp. 31).
“if p and q are logically equivalent and q and r are logically equivalent, then p and r are logically equivalent”
Used for: part (3) of the Theorem, used in every chain of equivalences. - 12.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 4, “Relations”, section 4.6, “Equivalence Relations”, Definition 4.6.1, p. 213 (the whole topic: pp. 213–214).
“Then R is called an equivalence relation on A (or just an equivalence relation if A is clear from context) if it is reflexive, symmetric, and transitive.”
Used for: a relation that is reflexive, symmetric and transitive is called an equivalence relation. - 13.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.2, “Truth Tables”, p. 21 (the whole topic: pp. 21).
“Many of the equivalences in the list should remind you of similar rules involving +, ·, and − in algebra.”
Used for: many equivalences resemble the rules of algebra. - 14.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.2, “Truth Tables”, p. 21 (the whole topic: pp. 21–22).
“Any of the letters in these equivalences can be replaced by more complicated formulas, and the resulting equivalence will still be true.”
Used for: the substitution theorem: replacing letters by formulas in an equivalence gives an equivalence. - 15.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.5, “The Conditional and Biconditional Connectives”, p. 46 (the whole topic: pp. 46–47).
“In fact, we can derive this equivalence from the previous one by substituting ¬P for P.”
Used for: putting a formula in place of a letter of a known equivalence is called substituting (the name of the substitution theorem). - 16.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.4, “Constructing New Logical Equivalences”), p. 31 (the whole topic: pp. 31).
“a proposition in a compound proposition can be replaced by a compound proposition that is logically equivalent to it without changing the truth value of the original compound proposition.”
Used for: the replacement theorem: replacing a part by an equivalent formula does not change the truth value of the whole. - 17.Daniel J. Velleman, How to Prove It: A Structured Approach (2nd ed., Cambridge University Press, 2006).Chapter 1, “Sentential Logic”, section 1.2, “Truth Tables”, p. 21 (the whole topic: pp. 21–22).
“Also, if two formulas are equivalent, you can always substitute one for the other in any expression and the results will be equivalent.”
Used for: the replacement theorem: putting an equivalent formula in place of a part gives an equivalent formula. - 18.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter 1, “The Foundations: Logic and Proofs”, section 1.3, “Propositional Equivalences” (1.3.2, “Logical Equivalences”, Table 8), p. 29 (the whole topic: pp. 29).
“¬(p ↔ q) ≡ p ↔ ¬q”
Used for: Rosen lists the equivalence ¬(p ↔ q) ≡ p ↔ ¬q. - 19.Jeff Miller, “Earliest Uses of Symbols of Set Theory and Logic”, MacTutor History of Mathematics Archive, University of St Andrews.Section “Equivalence”. mathshistory.st-andrews.ac.uk/Miller/mathsym/set · open at the quoted passage.
“The double arrow with double line ⇔ was first used 1954 by Nicholas Bourbaki, in: Bourbaki: Theorie des ensembles, 3. edition, Paris, 1954.”
Used for: according to Jeff Miller’s list, ⇔ was first used for equivalence in 1954, in the third edition of Bourbaki’s Théorie des ensembles (no second source was found).