A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Logical Inference and Proof Rules

College Depth 67 in the knowledge graph ☐ I know this ☆ Set as goal
3,132topics build on this
284prerequisites beneath it
See this on the map →
Propositional Logic Foundations→→Direct ProofProof Strategies in Discrete Mathematics+1 more
logic inference proofs

Core Idea

Inference rules allow us to deduce new true statements from known ones. Modus ponens, modus tollens, disjunctive syllogism, and hypothetical syllogism are fundamental rules that preserve truth. Understanding these rules enables rigorous logical reasoning in mathematics.

How It's Best Learned

Practice applying inference rules to simple arguments first. Write out formal proofs using one inference rule per line, identifying the rule used and the statements involved.

Common Misconceptions

Explainer

From your study of propositional logic, you know that compound statements are built from simpler ones using connectives like ∧, ∨, ¬, and →. Truth tables let you evaluate any statement given the truth values of its components. But proofs don't work by evaluating truth tables — they work by chaining together inference steps, each one guaranteed to preserve truth. Inference rules are the licensed moves of that game.

The most fundamental rule is modus ponens: if you know P → Q is true, and you know P is true, you can conclude Q is true. This matches ordinary reasoning — "If it rains, the ground gets wet; it is raining; therefore the ground is wet." Its partner is modus tollens: if P → Q and ¬Q, then ¬Q forces ¬P (the contrapositive). The key mistake to avoid is affirming the consequent: from P → Q and Q, you cannot conclude P. The ground might be wet because a pipe burst, not because it rained. That inference pattern is invalid — it does not preserve truth.

Two more rules complete the basic toolkit. Disjunctive syllogism: from P ∨ Q and ¬P, you may conclude Q. If you know one of two things is true and you rule out the first, the second must hold. Hypothetical syllogism: from P → Q and Q → R, you may chain them into P → R. This is the logical version of transitivity, and it underlies multi-step proofs where you build a path from hypothesis to conclusion through intermediate steps.

In practice, a formal proof is a numbered sequence of statements, where each statement is either a given premise or follows from earlier statements by a named inference rule. This discipline forces you to be explicit about *why* each step is valid, not just *that* it seems right. The payoff comes in the next topics — direct proof and proof by contrapositive — which are precisely modus ponens and modus tollens applied at the level of mathematical theorems. Every proof technique in mathematics is, at its core, a disciplined application of these inference rules.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts Through 10 → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Inference and Proof Rules

Longest path: 68 steps · 284 total prerequisite topics

Prerequisites (1)

Leads To (3)