Rule of Inference — Definition & Example
A rule of inference is an approved pattern of reasoning that tells you which new statement you may write down, given statements you already accept. Modus ponens is the best-known example: from "if , then " and "," you may conclude "."
A rule of inference is a schema that takes premises and licenses a conclusion . The rule is valid when is true under every truth assignment that makes all premises true. Equivalently, is a tautology.
Key Formula
Where:
- = Statements (propositions) that are either true or false
- = Conditional: "if ... then ..."
- = Negation: "not"
- = Disjunction: "or" (inclusive)
- = "Therefore." Marks the conclusion below the line
Example
Problem: Accept three premises. (1) If it rains, then the game is canceled. (2) If the game is canceled, then the team practices indoors. (3) The team did not practice indoors. What can you validly conclude about the rain? Name each rule you use.
Step 1: Translate into symbols. Let = "it rains," = "the game is canceled," and = "the team practices indoors."
Step 2: Apply hypothetical syllogism to premises (1) and (2). This chains the two conditionals together.
Step 3: Apply modus tollens to the result of Step 2 and premise (3).
Answer: It did not rain (). You reach this by hypothetical syllogism followed by modus tollens.
Why It Matters
In a discrete math or intro-to-proofs course, every line of a formal proof must be justified by a premise or a named rule of inference. Computer science depends on the same idea. Prolog and many automated theorem provers are built on a single rule of inference called resolution.
Common Mistakes
Mistake: Affirming the consequent: concluding from and .
Correction: This pattern is not a valid rule. From and alone, nothing certain follows about . Example: "If a shape is a square, it has four sides" and "This shape has four sides" do not prove the shape is a square, because it could be a rectangle. The error amounts to treating the converse as if it were true.
