Loading lessons...
Rules of Inference & Validity of Arguments
1. Arguments
An argument is a list of premises (hypotheses) followed by a conclusion:
p₁, p₂, …, pₙ ∴ q
The argument is valid if it is impossible for all premises to be true while the conclusion is false-i.e. (p₁ ∧ p₂ ∧ … ∧ pₙ) → q is a tautology.
Valid: "If it is a cat, it is an animal. It is a cat. ∴ It is an animal." (p → q, p ∴ q) Invalid: "If it is a cat, it is an animal. It is an animal. ∴ It is a cat." (p → q, q ∴ p - affirming the consequent)
2. The Rules of Inference
Rules of inference with their tautologies
| Rule | Premises | Conclusion | Tautology |
|---|---|---|---|
| Modus Ponens (MP) | p, p → q | q | (p ∧ (p → q)) → q |
| Modus Tollens (MT) | ¬q, p → q | ¬p | (¬q ∧ (p → q)) → ¬p |
| Hypothetical Syllogism (HS) | p → q, q → r | p → r | ((p → q) ∧ (q → r)) → (p → r) |
| Disjunctive Syllogism (DS) | p ∨ q, ¬p | q | ((p ∨ q) ∧ ¬p) → q |
| Addition | p | p ∨ q | p → (p ∨ q) |
| Simplification | p ∧ q | p | (p ∧ q) → p |
| Conjunction | p, q | p ∧ q | ((p) ∧ (q)) → (p ∧ q) |
| Resolution | p ∨ q, ¬p ∨ r | q ∨ r | ((p ∨ q) ∧ (¬p ∨ r)) → (q ∨ r) |
| Constructive dilemma | (p → q) ∧ (r → s), p ∨ r | q ∨ s | |
| Destructive dilemma | (p → q) ∧ (r → s), ¬q ∨ ¬s | ¬p ∨ ¬r |
Rule CP (conditional proof): to derive p → q, add p as an extra premise and derive q.
Common fallacies
| Fallacy | Form | Why invalid |
|---|---|---|
| Affirming the consequent | p → q, q ∴ p | p = F, q = T makes premises T, conclusion F |
| Denying the antecedent (inverse error) | p → q, ¬p ∴ ¬q | same counter-example |
3. Writing a Formal Proof
Number each step, give the formula, and cite the rule and step numbers.
Solved 1. Show that t follows from p → q, q → r, r → s, ¬s, p ∨ t.
| Statement | Reason |
Solved 2 (Rosen). "It is not sunny this afternoon and it is colder than yesterday. We will go swimming only if it is sunny. If we do not go swimming, we will take a canoe trip. If we take a canoe trip, we will be home by sunset." Conclude "We will be home by sunset."
p: sunny, q: colder, r: swim, s: canoe, t: home by sunset. Premises: ¬p ∧ q, r → p, ¬r → s, s → t.
- ¬p ∧ q-premise; 2. ¬p-simplification (1); 3. r → p-premise; 4. ¬r-MT (2, 3); 5. ¬r → s-premise; 6. s-MP (4, 5); 7. s → t-premise; 8. t - MP (6, 7). ∎
Solved 3. Show s follows from p → q, p → r, ¬(q ∧ r), s ∨ p.
- (p → q) ∧ (p → r) - conjunction; 2. ¬(q ∧ r) ≡ ¬q ∨ ¬r-De Morgan; 3. ¬p ∨ ¬p-destructive dilemma (1, 2); 4. ¬p-idempotent; 5. s ∨ p-premise; 6. s - DS (4, 5). ∎
Solved 4 (valid). "If the races are fixed or the casinos are crooked, the tourist trade will decline. If the tourist trade declines, the police will be happy. The police are never happy. ∴ The races are not fixed." (p ∨ q) → r, r → s, ¬s. Then ¬r (MT), ¬(p ∨ q) (MT) ≡ ¬p ∧ ¬q, so ¬p (simplification). ✅ Valid.
Solved 5 (inconsistent premises). P → Q, Q → S, R → ¬S, P ∧ R. From P ∧ R get P and R; P → S by HS, so S; R → ¬S gives ¬S. S ∧ ¬S is a contradiction, so the premises are inconsistent.
Not every exam "argument" is valid. For "Ram cooks or Hari does karate (p ∨ q); if Hari does karate then he wins (q → r); Hari does not win (¬r) ∴ Hari does karate (q)", we get ¬q by MT and p by DS. q does not follow - the argument is invalid.
4. Checking Validity by Truth Table
List all rows; the argument is valid iff in every row where all premises are T, the conclusion is also T. Use this when the rules are hard to see, but it costs 2ⁿ rows.
📝 IPU End-Term Exam Corner (5-10 Marks)
- Q1. State all rules of inference with their tautologies. (5 Marks) - Reproduce the table above.
- Q2. Show that t is a valid conclusion from p → q, q → r, r → s, ¬s, p ∨ t. (5 Marks)
- Q3. Show that ¬p ∨ ¬q follows from (p ∧ q) → r, r → s, ¬s. (5 Marks)
- Write: r → s and ¬s give ¬r (MT); (p ∧ q) → r and ¬r give ¬(p ∧ q) (MT); De Morgan → ¬p ∨ ¬q.
- Q4. Show that the premises P → Q, Q → S, R → ¬S, P ∧ R are inconsistent. (5 Marks)