Logical Connectives
Context: FIT1058_MOC Β· operations that combine propositions Β· defined by truth tables Β· the logical duals of the set operations
Quick Revision
- π― Objective: build a new proposition from existing ones, defined by a truth table β the logic gates of reasoning.
- π¦ Core Components: unary β binary .
- β‘ Key Constraint: , , complement β set laws reappear as De Morgan.
π Core
1. The Connectives (Truth-Table Defined)
- Definition β each connective is fixed by a truth table giving the result for every argument combination.
- Basic set β unary (not); binary (and), (inclusive or), (implication), (equivalence), (xor).
- Hardware β these are logic gates.
2. Values at a Glance
- β flips the value.
- β T iff both T; β T iff at least one T.
- β F only when T and F.
- β T iff values equal; β T iff values differ.
3. The Set Duality
- Correspondence β for "": , , complement.
- Payoff β every set-algebra law has an identical logical form β results transfer both ways.
βοΈ Core Decision Matrix
| Connective | Arity | T exactly when | Set dual |
|---|---|---|---|
| unary | argument is F | complement | |
| binary | both T | ||
| binary | at least one T | ||
| binary | not ( T, F) | ||
| binary | values equal | ||
| binary | values differ | symmetric difference |
When It Flips: inclusive is T when either or both hold; exclusive excludes the both-true case β they agree on three rows and differ only at TT. "and"/"or" are narrower than English: defined solely by the truth tables, no temporal/causal meaning.
π Exam Execution Trace
Manual Execution Trace
Evaluate :
| Step / State | |||||
|---|---|---|---|---|---|
| 0 (Init) | β | β | β | β | β |
| 1 | F | F | T | F | F |
| 2 | F | T | F | F | T |
| 3 | T | F | T | T | T |
| 4 | T | T | F | F | T |
β οΈ Common Mistakes
- π‘ is F only on TβF β every other row is T (including Fβanything, βvacuously trueβ); and βorβ means inclusive , not .
π§ Active Recall
Give the truth tables of , , , and the one row separating inclusive from exclusive or.
- Hint: Row-by-row values.
Answer
- Short answer: : F,F,F,T; : F,T,T,T; : T,T,F,T (for FF,FT,TF,TT).
- Why: TT row β gives T, gives F β the sole distinguishing row.
How do correspond to set operations, and what does the correspondence buy you?
- Hint: Logic β set algebra.
Answer
- Short answer: = intersection, = union, = complement (via "").
- Why: Law transfer β every set law (De Morgan, distributive, double complement) has an identical logical form, so results move freely between sets and logic.