Each rule of inference is a pattern written with $p$, $q$, $r$ and $s$. In a real proof, those letters stand for whatever formulas fill their places. This lesson makes the matching exact, using the rules from Constructive Dilemma (CD).
Key idea
Why it works
Worked examples
Worked example: Match the main connectives
- Line 1's main connective is $\to$; line 2 is exactly its antecedent.
- MP's $p$ is $p \land q$ and its $q$ is $\neg r$.
Answer: MP
Worked example: A part of a line
- Line 1's main connective is $\lor$, not $\to$.
- The conditional is only a part.
Answer: No. No rule of inference applies to line 1 as it stands.
Worked example: Same letter, same formula
- HS needs the consequent of the first to be the antecedent of the second.
- Here $q$ and $r$ differ.
Answer: No.
Common mistake
A useful habit is to draw an imaginary box around each big part. In $(p \lor q) \to (r \land \neg s)$ the antecedent $p \lor q$ is one box and the consequent $r \land \neg s$ another; the line is then just box $\to$ box, and MP or MT can see it plainly. The rules never look inside a box; they only check how the boxes are joined.
| Rule | Main connective of the cited lines |
|---|---|
| MP, MT | one conditional (and its antecedent, or the negation of its consequent) |
| HS | two conditionals |
| DS | one disjunction and one negation |
| CD | one conjunction of conditionals and one disjunction |
| Simp | one conjunction |
| Conj, Add | any lines |