To prove that ((p \land q) \leftrightarrow p \equiv \neg p \lor q), we will show that both sides of the equivalence have the same truth values under all possible truth assignments.
Step 1: Construct truth tables
-
Definitions:
- (p): A propositional variable.
- (q): A propositional variable.
- (\land): Logical AND.
- (\lor): Logical OR.
- (\neg): Logical NOT.
- (\leftrightarrow): Logical equivalence.
-
Truth values of (p) and (q):
- Both (p) and (q) can be either true (T) or false (F). Therefore, we will evaluate for all combinations of truth values of (p) and (q).
Step 2: Build the truth table
Here is the complete truth table for both sides of the equivalence:
| (p) | (q) | (p \land q) | (\neg p) | (\neg p \lor q) | ((p \land q) \leftrightarrow p) |
|---|
| T | T | T | F | T | T |
| T | F | F | F | F | F |
| F | T | F | T | T | F |
| F | F | F | T | T | F |
Step 3: Evaluate ((p \land q) \leftrightarrow p) and (\neg p \lor q)
-
Column 3 (for (p \land q)):
- T AND T = T
- T AND F = F
- F AND T = F
- F AND F = F
-
Column 4 (for (\neg p)):
-
Column 5 (for (\neg p \lor q)):
- F OR T = T
- F OR F = F
- T OR T = T
- T OR F = T
-
Column 6 (for ((p \land q) \leftrightarrow p)):
- T (\leftrightarrow) T = T
- F (\leftrightarrow) T = F
- F (\leftrightarrow) F = T
- F (\leftrightarrow) F = T
Now let's compile the results:
| (p) | (q) | (p \land q) | (\neg p) | (\neg p \lor q) | ((p \land q) \leftrightarrow p) |
|---|
| T | T | T | F | T | T |
| T | F | F | F | F | F |
| F | T | F | T | T | F |
| F | F | F | T | T | F |
Conclusion: Evaluating the equivalence
Now we analyze the columns for the equivalence:
- The evaluated values for ((p \land q) \leftrightarrow p) are T, F, F, F.
- The evaluated values for (\neg p \lor q) are T, F, F, F.
Since both expressions have the same truth values for all possible assignments of (p) and (q), we conclude that:
[
(p \land q) \leftrightarrow p \equiv \neg p \lor q
]
Thus, we have proved that ((p \land q) \leftrightarrow p) is logically equivalent to (\neg p \lor q).