Reasoning with True and False
A proposition is a statement that is definitely true or false — "7 is prime" (true), "" (false). Propositional logic builds compound statements from simple ones using connectives, and gives rules to determine their truth. This is the logic underlying both mathematical proof and the boolean circuits of the previous unit — the connectives are exactly the logic gates.
The connectives, with the same truth behavior as gates:
- Negation ("not ") — flips the truth value.
- Conjunction (" and ") — true only when both are true.
- Disjunction (" or ") — true when at least one is true.
- Implication ("if then ") — the subtle one.
- Biconditional (" if and only if ") — true when and match.
Implication deserves care: is false in exactly one case — when is true but is false. In particular, when is false, the implication is vacuously true regardless of ("if the moon is cheese, then " is a true implication). This trips up nearly everyone at first.
A tautology is a proposition true under every assignment (like ); a contradiction is false under every assignment. Two propositions are logically equivalent if they have the same truth table — for example, is equivalent to , and the contrapositive is equivalent to (a fact heavily used in proofs).
Common pitfall: misreading implication. is not false when is false — it is vacuously true. The only way an implication fails is a true premise with a false conclusion ( true, false). Also, is not the same as its converse ; confusing the two is a classic logical error.