Skip to content

3.1 Natural Deduction

Introduction to natural deduction, inference rules, and structured proofs for propositional logic.

Natural deduction is a proof system designed to reflect the way reasoning is carried out in ordinary mathematical arguments, where conclusions are obtained from assumptions by applying rules that correspond directly to the meaning of logical connectives.

In this system, proofs are constructed step by step, and each step is justified either by an assumption or by applying an inference rule to earlier steps, so that the entire derivation forms a structured argument whose correctness can be checked mechanically.

Judgments and Derivations

A derivation is a finite sequence of formulas:

A1,A2,,An A_1, A_2, \dots, A_n

where each formula AiA_i is either an assumption or follows from earlier formulas by applying an inference rule.

If there exists a derivation of a formula AA from a set of assumptions Γ\Gamma, we write:

ΓA \Gamma \vdash A

This notation expresses that AA is provable from Γ\Gamma within the proof system.

In natural deduction, proofs are often written in a tree like or indented form, where assumptions may be introduced temporarily and later discharged.

Introduction and Elimination Rules

Each logical connective is governed by two kinds of rules, called introduction rules and elimination rules.

An introduction rule explains how to prove a formula involving a connective, while an elimination rule explains how to use such a formula once it has been established.

This design reflects the meaning of each connective and ensures that reasoning remains aligned with semantics.

Conjunction

The introduction rule for conjunction states that if both AA and BB have been proved, then their conjunction may be concluded:

ABAB \frac{A \qquad B}{A \land B}

The elimination rules state that from a conjunction one may extract either component:

ABAABB \frac{A \land B}{A} \qquad \frac{A \land B}{B}

These rules express that a conjunction is true exactly when both of its parts are true.

Implication

The introduction rule for implication captures the idea of conditional reasoning.

If, under the temporary assumption that AA holds, one can derive BB, then one may conclude:

AB A \to B

This is written schematically as:

[A]  BAB \frac{[A] \ \vdots \ B}{A \to B}

where the assumption AA is discharged after deriving BB.

The elimination rule for implication is modus ponens:

AABB \frac{A \qquad A \to B}{B}

This rule allows one to apply an implication once its premise has been established.

Disjunction

The introduction rules for disjunction state that if one of the disjuncts is known, then the disjunction may be concluded:

AABBAB \frac{A}{A \lor B} \qquad \frac{B}{A \lor B}

The elimination rule for disjunction expresses reasoning by cases.

If ABA \lor B is known, and from AA one can derive CC, and from BB one can also derive CC, then CC may be concluded:

AB[A]  C[B]  CC \frac{A \lor B \qquad [A] \ \vdots \ C \qquad [B] \ \vdots \ C}{C}

This rule formalizes the idea that if a conclusion follows in all possible cases, then it holds unconditionally.

Negation

Negation is treated in terms of contradiction.

The introduction rule for negation states that if assuming AA leads to a contradiction, then ¬A¬A may be concluded:

[A]  ¬A \frac{[A] \ \vdots \ \bot}{¬A}

The elimination rule states that from AA and ¬A¬A one may derive a contradiction:

A¬A \frac{A \qquad ¬A}{\bot}

In classical logic, one may also derive any formula from a contradiction:

A \frac{\bot}{A}

This rule is sometimes called explosion, and it reflects that a contradiction has no consistent truth assignment.

Example 3.1

We derive:

{pq,p}q \{p \to q, p\} \vdash q

The derivation proceeds as follows.

From the assumptions we have:

pq p \to q

and:

p p

Applying modus ponens, we conclude:

q q

This is a direct application of the implication elimination rule.

Example 3.2

We derive:

p(qp) \vdash p \to (q \to p)

Assume:

p p

Under this assumption, assume:

q q

From the assumption pp, we already have:

p p

Thus we may conclude:

qp q \to p

by implication introduction, discharging the assumption qq.

Now we conclude:

p(qp) p \to (q \to p)

by implication introduction, discharging the assumption pp.

This derivation illustrates how assumptions are introduced temporarily and then removed once they have served their role.

Lemma 3.3 (Weakening)

If:

ΓA \Gamma \vdash A

and:

ΓΔ \Gamma \subseteq \Delta

then:

ΔA \Delta \vdash A

Proof

Any derivation from Γ\Gamma is also a derivation from Δ\Delta, since every assumption used in the derivation belongs to Δ\Delta, so the same sequence of steps remains valid.

Lemma 3.4 (Deduction Theorem)

If:

Γ,AB \Gamma, A \vdash B

then:

ΓAB \Gamma \vdash A \to B

Proof

The proof follows the structure of implication introduction, since a derivation of BB from Γ\Gamma together with the temporary assumption AA may be transformed into a derivation of ABA \to B from Γ\Gamma by discharging the assumption AA.

This theorem connects derivability with implication and plays a central role in proof theory.

Structure of Proofs

Natural deduction proofs can be represented as trees in which each node corresponds to a formula and each edge corresponds to the application of a rule.

The leaves of the tree are assumptions, and the root is the final conclusion, and the structure of the tree reflects the logical dependencies between different parts of the proof.

This representation emphasizes that proofs are not merely sequences of formulas but structured objects that encode the flow of reasoning.

Connection with Semantics

Natural deduction is designed so that its rules preserve truth under every valuation, which ensures that any formula that can be derived from a set of assumptions is a semantic consequence of those assumptions.

This property is the basis of soundness, which will be studied in detail later, and it ensures that formal proofs correspond to valid reasoning about truth.