6.3 Rules of Inference, Validity Proofs & Resolution Refutation
💡 Core Intuition: The 3-Second Mental Model
🍳 The Everyday Analogy: Legal Courtrooms & Mathematical Chain Reactions
Think of logical inference like a criminal court trial:
- Valid Argument (Airtight Case): The prosecutor presents evidence premises (). If the evidence is accepted as true, the conclusion () is inescapably locked in. It is impossible for all premises to be true without the conclusion also being true!
- Modus Ponens (Forward Drive): "If you speed (), you get a ticket (). You were caught speeding (). Conclusion: You get a ticket ()." Clean, direct forward deduction.
- Modus Tollens (Backward Denial): "If you speed (), you get a ticket (). You did NOT get a ticket (). Conclusion: You were NOT speeding ()."
- Resolution Refutation (Proof by Self-Destruction): To prove that a suspect is guilty, assume the opposite (assume they are innocent: ). Feed that assumption into the evidence machine. If the assumption collides with the facts to produce an impossible physical contradiction (the empty clause ), the assumption is blown to pieces, leaving the suspect's guilt as the only mathematical reality!
💻 Bridging to Computer Science: Prolog, Type Checkers & Automated Verifiers
In computer systems:
- Prolog & Logic Programming: Execution in Prolog is literally Robinson's Resolution: the interpreter resolves Horn clauses backwards from queries until deriving the empty clause
yes. - Compiler Type Systems: Type inference engines (e.g., Haskell or Rust trait solvers) use inference rules to deduce the principal type of expressions.
- Formal Verification (Model Checkers): Safety properties in aircraft control software and cryptographic protocols are proven by showing that unsafe error states are unreachable via resolution refutation.
🏛️ Formal Arguments & The Definition of Validity
An argument in propositional logic is a sequence of propositions ending with a conclusion. The initial propositions are called premises (or hypotheses), and the final proposition is the conclusion:
Written in classical vertical deduction notation:
- Validity: An argument is valid if and only if the conclusion is True whenever all premises are simultaneously True.
- Invalidity (Fallacy): An argument is invalid if there is at least one truth assignment where all premises are True, but the conclusion is False (a counterexample row in the truth table).
- Soundness: An argument is sound if and only if:
- It is structurally valid, AND
- All of its premises are factually True in reality.
To verify whether an argument is valid using a truth table:
- Construct the truth table for all propositional variables, listing columns for each premise and the conclusion .
- Identify Critical Rows: A row is a critical row if and only if every premise evaluates to True ().
- Ignore Non-Critical Rows: Any row where even a single premise is False () can be ignored (since is trivially True by vacuous implication).
- Evaluate Conclusion :
- If is True in every single critical row, the argument is Valid.
- If there exists even one critical row where is False, the argument is Invalid!
💥 Vacuous Arguments & The Principle of Explosion
Competitive exams frequently test edge-case arguments involving vacuous truths and contradictory premises:
- Vacuous Truth Argument: Proof: If premise , then . By the Implication Law, is True regardless of .
- Trivial Consequent Argument: Proof: If premise , then by the Implication Law, is True regardless of .
- Negated Implication Arguments: Proof: . By Simplification, both and logically follow.
- The Principle of Explosion (Ex Falso Quodlibet): Proof: The conjunction of contradictory premises is . The implication formula for the argument is: Because the formula is a Tautology, an argument with inconsistent/contradictory premises is always valid, even if is "The moon is made of green cheese"! (Though such an argument can never be sound).
📐 The Master Catalog of Rules of Inference
Rather than constructing unwieldy -row truth tables, formal proofs string together elementary, verified Rules of Inference:
The 8 Classical Rules of Propositional Inference
Fundamental deductive deduction steps proven by tautological implication
1. Modus Ponens
Affirming Antecedent- Premises: p, p → q
- Conclusion: ∴ q
- Tautology: (p ∧ (p → q)) → q
2. Modus Tollens
Denying Consequent- Premises: ¬q, p → q
- Conclusion: ∴ ¬p
- Tautology: (¬q ∧ (p → q)) → ¬p
3. Hypothetical Syllogism
Chain Transitivity- Premises: p → q, q → r
- Conclusion: ∴ p → r
- Tautology: ((p → q) ∧ (q → r)) → (p → r)
4. Disjunctive Syllogism
Elimination of Alternative- Premises: p ∨ q, ¬p
- Conclusion: ∴ q
- Tautology: ((p ∨ q) ∧ ¬p) → q
5. Addition
Disjunctive Weakening- Premise: p
- Conclusion: ∴ p ∨ q
- Tautology: p → (p ∨ q)
6. Simplification
Conjunctive Extraction- Premise: p ∧ q
- Conclusion: ∴ p
- Tautology: (p ∧ q) → p
7. Conjunction
Mutual Synthesis- Premises: p, q
- Conclusion: ∴ p ∧ q
- Tautology: (p ∧ q) → (p ∧ q)
8. Resolution Principle
Clause Cancellation- Premises: p ∨ q, ¬p ∨ r
- Conclusion: ∴ q ∨ r (The Resolvent)
- Tautology: ((p ∨ q) ∧ (¬p ∨ r)) → (q ∨ r)
Master 12-Case Argument Validity Diagnostic Matrix
| Index | Argument Schema | Classical Logical Name | Validity Status | Mathematical Justification / Counterexample Row |
|---|---|---|---|---|
| 1 | Modus Ponens | Valid | ||
| 2 | Modus Tollens | Valid | Contrapositive of Modus Ponens | |
| 3 | Hypothetical Syllogism | Valid | Transitivity of Implication | |
| 4 | Disjunctive Syllogism | Valid | ||
| 5 | Proof by Cases (Dilemma) | Valid | Eliminates both paths into shared consequence | |
| 6 | Constructive Dilemma | Valid | Synthesizes disjunctive consequences | |
| 7 | Destructive Dilemma | Valid | Contrapositive generalization of Dilemma | |
| 8 | De Morgan Disjunctive Syllogism | Valid | with forces | |
| 9 | Principle of Explosion | Valid | Contradictory premises make antecedent False () | |
| 10 | Affirming the Consequent | INVALID | Counterexample row: (Premises , Conclusion ) | |
| 11 | Denying the Antecedent | INVALID | Counterexample row: (Premises , Conclusion ) | |
| 12 | Affirming a Disjunct | INVALID | Inclusive OR allows both to be True () |
💥 Robinson's Resolution Refutation: Automated Theorem Proving
In automated deduction and modern SAT solvers, verifying validity using classical heuristic rules requires broad branching searches. J. Alan Robinson's Resolution Principle (1965) reduces all logical inference to a single mechanical rule.
Given two disjunctive clauses containing complementary literals and :
The Resolution Rule cancels the complementary pair to produce the Resolvent:
Special Case (The Empty Clause ): When resolving a unit clause with its direct negation :
Deriving signifies that an irreconcilable logical contradiction has occurred.
The 4-Step Resolution Refutation Algorithm
How modern SAT solvers and automated verifiers prove theorem validity
Negate the Conclusion
Proof by ContradictionTo prove P₁, P₂, ..., Pₖ ⊢ Q, assume ¬Q is True. Add ¬Q to the set of premises.
Convert Everything to CNF Clauses
Clause NormalizationConvert all premises and the negated conclusion into a flat set of disjunctive clauses S.
Iteratively Resolve Complementary Literals
Resolution LoopSelect two clauses with complementary literals (l and ¬l), resolve them, and append the resolvent to S.
Derive the Empty Clause (□)
Refutation AchievedWhen unit clauses l and ¬l resolve to produce □ (False), the set S is unsatisfiable. Therefore, Q is VALID!
📝 Step-by-Step Worked Examples
Example 1: Formal Deductive Proof using Inference Rules
Problem Statement: Prove that the following argument is valid:
Step-by-Step Solution:
| Step | Expression | Justification |
|---|---|---|
| 1 | Premise 2 | |
| 2 | Premise 1 | |
| 3 | Modus Ponens (Steps 1 & 2) | |
| 4 | Simplification (Step 3) | |
| 5 | Premise 3 | |
| 6 | Modus Ponens (Steps 4 & 5) |
The conclusion is derived cleanly using valid inference rules at every step. Therefore, the argument is Valid.
Key Takeaway: Deductive step-by-step proofs avoid the exponential row truth table by stringing together standard inference rules.
Example 2: Proof by Resolution Refutation
Problem Statement: Using Resolution Refutation, prove that the following argument is valid:
- Premise 1:
- Premise 2:
- Premise 3:
- Conclusion:
Step-by-Step Solution:
-
Step 1: Negate the Conclusion
- The conclusion is .
- Negated conclusion: .
-
Step 2: Convert all formulas to CNF Clauses
- Clause 1:
- Clause 2:
- Clause 3:
- Clause 4:
- Set of Clauses:
-
Step 3: Systematic Clause Resolution
- Resolution 1: Resolve Clause 1 () with Clause 2 () on literal :
- Resolution 2: Resolve Clause 5 () with Clause 3 () on literal :
- Resolution 3: Resolve Clause 6 () with Clause 4 () on literal :
-
Step 4: Conclusion
- Deriving the empty clause demonstrates that the set is Unsatisfiable.
- Therefore, the negated conclusion is impossible, proving that the original argument is Strictly Valid!
Example 3: Disproving an Argument via the Critical Row Method
Problem Statement: Determine whether the following argument is valid:
Step-by-Step Solution:
- Construct the Truth Table Row Inspection:
- Consider the truth valuation: .
- Evaluate Premises:
- Premise 1: (True).
- Premise 2: (True).
- Premise 3: (True).
- All three premises are simultaneously True! Thus, this is a Critical Row.
- Evaluate Conclusion:
- The conclusion is (False).
- Conclusion:
- Because all premises are True while the conclusion is False, the valuation serves as a counterexample.
- The argument is INVALID (This is a multi-step instance of the Fallacy of Affirming the Consequent).
🎯 Exam & Interview Pitfall Check
Question 1: If an argument has contradictory premises (e.g., , ), is the argument valid for ANY conclusion ? Key Focus Points: Yes! This is the Principle of Explosion (Ex Falso Quodlibet). The definition of validity states that must be a tautology. If the premises contradict, their conjunction is False (). By the Implication Law, is always True for any statement ! Thus, an argument with inconsistent premises is always trivially valid (though unsound).
Question 2: Can a valid argument have all False premises and a True conclusion? Key Focus Points: Yes! Validity only guarantees that if the premises are True, the conclusion must be True. It imposes no restrictions when premises are False. For example:
- Premise 1: "All fish can fly" ().
- Premise 2: "A crow is a fish" ().
- Conclusion: "A crow can fly" (). The logical form is 100% valid, even though both premises are false!
Trap 1: Confusing Validity with Truth (Soundness) Why it fails: An argument can be completely valid while talking about flying elephants and impossible nonsense. Validity is purely a property of the structural form of the argument, not the factual truth of its propositions! An argument is only Sound if it is both structurally valid and factually true.
Trap 2: Resolving multiple pairs of literals simultaneously Why it fails: In resolution, you must resolve EXACTLY ONE complementary pair at a time! For example, resolving with by canceling both and simultaneously to produce is an illegal move! The correct resolvents are or . Never cancel two pairs in one step!