Rules of Inference

A proof in logic is a list of statements in which every line is either a premise or follows from earlier lines. Saying that a line follows needs a license, and rules of inference supply it: a short catalogue of argument patterns that never lead from true premises to a false conclusion. You use them every time you write a formal proof in discrete mathematics, and they also explain why some convincing-sounding arguments fail.

Valid forms instead of full truth tables

An argument with premises p1,p2,…,pnp_1, p_2, \dots, p_n and conclusion qq is valid when the conditional


(p1∧p2∧⋯∧pn)→q(p_1 \land p_2 \land \cdots \land p_n) \to q


is a tautology. You could confirm this with a truth table, but a table for nn propositional variables has 2n2^n rows: an argument with 6 variables already needs 64. A rule of inference is a short argument form whose validity has been checked once, so any instance of it can serve as a single step of a proof without rechecking.


In a conditional p→qp \to q, pp is the hypothesis and qq is the consequent, which some texts call the conclusion of the conditional. The conclusion of an argument is the statement inferred from its premises.


The letters in a rule stand for any propositions, simple or compound. Modus ponens applied to (a∨b)→¬c(a \lor b) \to \neg c and a∨ba \lor b gives ¬c\neg c, because the pattern matches with p=a∨bp = a \lor b and q=¬cq = \neg c.


Validity is a property of the form, not of the content. A valid argument guarantees a true conclusion only when every premise is true; feed a valid form a false premise and the conclusion may be false.

The standard rules

The table lists the eight rules you will use most often. Each one corresponds to a tautology; modus ponens, for instance, is ((p→q)∧p)→q((p \to q) \land p) \to q.


Rule

Premises

Conclusion

Modus ponens

p→qp \to q, pp

qq

Modus tollens

p→qp \to q, ¬q\neg q

¬p\neg p

Hypothetical syllogism

p→qp \to q, q→rq \to r

p→rp \to r

Disjunctive syllogism

p∨qp \lor q, ¬p\neg p

qq

Addition

pp

p∨qp \lor q

Simplification

p∧qp \land q

pp

Conjunction

pp, qq

p∧qp \land q

Resolution

p∨qp \lor q, ¬p∨r\neg p \lor r

q∨rq \lor r


Resolution works on disjunctions in which one variable appears plain in one premise and negated in the other. It is the rule behind many automated theorem provers, because every step has the same shape.

Writing a proof line by line

Every line carries a justification: either the word premise, or a rule name with the numbers of the earlier lines it uses.


Example: From the premises p∧qp \land q, p→rp \to r and r→sr \to s, prove ss.


Line

Statement

Justification

1

p∧qp \land q

Premise

2

pp

Simplification, 1

3

p→rp \to r

Premise

4

rr

Modus ponens, 2 and 3

5

r→sr \to s

Premise

6

ss

Modus ponens, 4 and 5


Hypothetical syllogism on lines 3 and 5 gives p→sp \to s, and modus ponens with line 2 then gives ss: a different route that is equally valid. Proofs are rarely unique.



Fallacies that look like rules

A fallacy is an argument form that resembles a valid rule but is not a tautology, so at least one row of its truth table makes every premise true and the conclusion false. Two appear constantly:

  • Affirming the conclusion, also called affirming the consequent: from p→qp \to q and qq, infer pp. Here, conclusion means the consequent qq of the conditional.
  • Denying the hypothesis: from p→qp \to q and ¬p\neg p, infer ¬q\neg q.

The row with pp false and qq true breaks both: the conditional is true, the second premise is true, and the argument's conclusion is false.


Example: If the battery is dead, the car will not start. The car will not start. Concluding that the battery is dead affirms the conclusion; the car might be out of fuel.



What to remember

  • An argument is valid when the conjunction of its premises implies its conclusion as a tautology.
  • Rules of inference are valid forms checked once; their letters may stand for compound propositions.
  • Each proof line is a premise or follows from earlier lines by a named rule, cited with line numbers.
  • Affirming the conclusion and denying the hypothesis are fallacies, not rules.

Example: Chaining four premises about a match and the clubhouse

A sports club posts four facts about Saturday. Let rr be it rains, cc be the match is cancelled, hh be the clubhouse opens early, and bb be the band plays.

  1. If it rains, the match is cancelled: r→cr \to c.
  2. If the match is cancelled, the clubhouse opens early: c→hc \to h.
  3. The clubhouse did not open early: ¬h\neg h.
  4. It rains or the band plays: r∨br \lor b.

Prove that the band plays, numbering each new line and giving its justification.


a) Combine premises 1 and 2 into one conditional that links rr directly to hh, and name the rule you use.


Look for a shared middle proposition. The consequent of premise 1 is ________, and the same proposition is the hypothesis of premise 2. Hypothetical syllogism chains two conditionals that share a middle proposition:


r→cc→hr→h\frac{r \to c \qquad c \to h}{r \to h}


New line 5: r→hr \to h, by hypothetical syllogism from lines 1 and 2.


b) Use line 5 and premise 3 to decide whether it rained.


Line 5 is a conditional, and premise 3 denies its consequent hh. A conditional together with the negation of its consequent is the pattern of ________, so the hypothesis of the conditional must be false.


New line 6: ¬r\neg r, by modus tollens from lines 3 and 5. It did not rain.


Check: if rr were true, line 5 would force hh to be true, which contradicts premise 3.


c) Finish the proof that the band plays, then write out the complete proof.


Premise 4 says r∨br \lor b, and line ________ rules out the disjunct ________. Disjunctive syllogism keeps the remaining disjunct.


New line 7: bb, by disjunctive syllogism from lines 4 and 6. The band plays.


The complete proof:

  1. r→cr \to c, premise
  2. c→hc \to h, premise
  3. ¬h\neg h, premise
  4. r∨br \lor b, premise
  5. r→hr \to h, hypothetical syllogism from 1 and 2
  6. ¬r\neg r, modus tollens from 3 and 5
  7. bb, disjunctive syllogism from 4 and 6

d) On a different Saturday the clubhouse does open early, and a member argues that it must therefore have rained. Using only the conditional r→hr \to h from line 5 and the fact hh, is this inference valid?


The argument has the form r→hr \to h and hh, therefore rr. It affirms the consequent of the conditional rather than its hypothesis, so it is not modus ponens.


Test the row where rr is false and hh is ________. The premise r→hr \to h is true because its hypothesis is false, the premise hh is true, yet the conclusion rr is false.


One row makes both premises true and the conclusion false, so the inference is invalid: it is the fallacy of affirming the conclusion. The clubhouse could open early for another reason, such as a private booking.

Match each rule of inference with the argument form it licenses. In every form, pp, qq and rr stand for any propositions, simple or compound.

Match each term
A.

From p∧qp \land q, infer pp

B.

From p→qp \to q and q→rq \to r, infer p→rp \to r

C.

From p→qp \to q and ¬q\neg q, infer ¬p\neg p

D.

From p→qp \to q and pp, infer qq

E.

From pp, infer p∨qp \lor q

F.

From p∨qp \lor q and ¬p\neg p, infer qq

Addition

Modus ponens

Hypothetical syllogism

Disjunctive syllogism

Simplification

Modus tollens

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A technician troubleshoots an office printer and writes three short inferences. Name the rule of inference that justifies each one. Use the exact rule names from this bank: addition, disjunctive syllogism, resolution.


From "The printer is jammed or out of paper" and "The printer is not jammed", concluding "The printer is out of paper" uses .


From "The printer is out of paper", concluding "The printer is out of paper or out of toner" uses .


From "The printer is jammed or out of paper" and "The printer is not jammed or its tray light is flashing", concluding "The printer is out of paper or its tray light is flashing" uses .

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A technician reasons as follows: "If the fuse has blown, then the lamp is dark. The lamp is dark. Therefore, the fuse has blown." Which statement correctly evaluates this argument?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Extra Practice