📋 Quick Revision Notes: Propositional Logic
📝 How to Use These Notes
These are condensed revision notes covering all key formulas, laws, and facts for GATE preparation. Review these before the exam!
1. Connectives Truth Table Summary
| P | Q | ¬P | P∧Q | P∨Q | P→Q | P↔Q |
| T | T | F | T | T | T | T |
| T | F | F | F | T | F | F |
| F | T | T | F | T | T | F |
| F | F | T | F | F | T | T |
🧠 Mnemonics
- AND (∧): True only when BOTH true — "strict gatekeeper"
- OR (∨): False only when BOTH false — "generous gatekeeper"
- IMPLIES (→): False ONLY when T→F — "a broken promise"
- IFF (↔): True when SAME values — "agreement checker"
2. Operator Precedence
¬ > ∧ > ∨ > → > ↔
(Highest to Lowest)
🧠 Mnemonic: "Not And Or Implies Iff" — NAOII
→ is right-associative: P → Q → R means P → (Q → R)
3. Complete Equivalence Laws Table
4. All Inference Rules
⚠️ Common Fallacies (INVALID!)
- Affirming the Consequent: P → Q, Q ⊬ P
- Denying the Antecedent: P → Q, ¬P ⊬ ¬Q
5. Normal Forms
| Form | Structure | Conversion |
| CNF | AND of ORs: (l₁∨l₂)∧(l₃∨l₄)∧... | Distribute ∨ over ∧ |
| DNF | OR of ANDs: (l₁∧l₂)∨(l₃∧l₄)∨... | Distribute ∧ over ∨ |
📝 CNF Conversion Steps
- Eliminate ↔: α ↔ β → (α→β) ∧ (β→α)
- Eliminate →: α → β → ¬α ∨ β
- Push ¬ inward (De Morgan's, Double Negation)
- Distribute ∨ over ∧
6. Key Formulas & Complexity
7. Formula Classification
| Type | True in | Satisfiable? | Test |
| Tautology | ALL interpretations | Yes | Can't make it false |
| Contingency | SOME interpretations | Yes | Some T, some F |
| Contradiction | NO interpretations | No | Can't make it true |
α is tautology ⟺ ¬α is contradiction
α ⊨ β ⟺ α ∧ ¬β is unsatisfiable
8. Horn Clauses Quick Reference
| Type | Positive Literals | Example |
| Definite clause | Exactly 1 | ¬A ∨ ¬B ∨ C (= A∧B→C) |
| Fact | Exactly 1 (no negatives) | A |
| Goal clause | 0 | ¬A ∨ ¬B |
9. Common GATE Patterns
🎯 Most Frequently Tested Topics
- Identify tautology/contradiction — Use falsification method
- Count satisfying assignments — Build truth table, count T rows
- Apply De Morgan's and Material Implication — Simplification questions
- Convert to CNF — Follow 4-step algorithm
- Resolution proof — Negate goal, convert to clauses, resolve to □
- Identify valid inference — Modus Ponens/Tollens vs fallacies
- Complexity: 2-SAT vs 3-SAT — P vs NP boundary
- Horn clause identification — Count positive literals ≤ 1
10. Resolution Proof Quick Steps
📝 Resolution Checklist
- ✅ Convert KB to CNF
- ✅ Negate the goal and convert to clauses
- ✅ Add negated goal clauses to KB clauses
- ✅ Find pairs with complementary literals
- ✅ Resolve and add resolvents
- ✅ If empty clause □ derived → proved!
- ✅ If no new resolvents possible → not provable