∴Logic WikiA library of reasoningSearch concepts, fallacies, and cases/中文

Natural deduction

自然演绎

A proof records, line by line, how a conclusion follows from premises under stated rules.

The concept and its limits

Natural deduction typically supplies introduction and elimination rules for connectives. A conditional proof assumes P, derives Q, and discharges the assumption to obtain P → Q. It does not thereby establish P.

Each line should identify its dependencies and assumption scope. Moving a statement out of a subproof without permission turns a temporary assumption into an unconditional fact.

Working through an example

From P ∧ Q infer P by conjunction elimination. To prove P → P, assume P, reiterate it within the subproof, and discharge the assumption by conditional introduction.

What each proof line does

A natural deduction proof records formulas and their dependencies. Premises are the starting assumptions of the argument. Temporary assumptions explore what follows under a condition. Every other line must follow by a specified rule; seeming plausible is not a proof justification.

Introduction rules establish formulas with a given main connective. Elimination rules use formulas already having that connective. The outer structure matters: P follows from P ∧ Q, but not directly from R ∨ (P ∧ Q), whose main connective is disjunction.

Section sources: forall x, chapter 17: formal proofs and connective rules ↗

Common rules and their restrictions

P, Q, and R below stand for arbitrary suitable formulas. Omitted steps must still satisfy the chosen system. In particular, the treatment of conjunction cannot simply be transferred to disjunction.

A guide to propositional natural deduction
RulePermitted stepRestriction
Conjunction introduction/eliminationP, Q ⟹ P ∧ Q; P ∧ Q ⟹ either conjunctBoth conjuncts need support; eliminate the outer conjunction.
Conditional eliminationP → Q, P ⟹ QQ does not license inferring P.
Conditional introductionAssume P, derive Q, discharge P to infer P → QClosed subproof lines are no longer directly available.
Disjunction eliminationP ∨ Q; derive the same R from each disjunct, then infer RCover both branches; do not select a preferred disjunct.
Negation introductionAssume P, derive a contradiction, discharge P to infer ¬PThe contradiction must use only permitted dependencies.

Section sources: forall x, chapter 17: sections 17.3–17.8 ↗

A complete conditional proof

Let P mean an application is approved, Q that the system issues a permit, and R that equipment may be activated. This original teaching formalization derives P → (Q ∧ R) from P → Q and Q → R.

Line 3 temporarily assumes P. Line 6 still depends on that assumption; line 7 records the dependency in a conditional. We have not established that approval actually occurred or that activation is unconditionally permitted.

Original example: a derivation preserving its condition
LineFormula and scopeJustification
1P→QP\to QPremise
2Q→RQ\to RPremise
3PPTemporary assumption
4QQConditional elimination, 1, 3
5RRConditional elimination, 2, 4
6Q∧RQ\land RConjunction introduction, 4, 5
7P→(Q∧R)P\to(Q\land R)Conditional introduction, 3–6

Section sources: forall x, chapter 18: proof construction ↗

Why assumption scope matters

Assuming P and reiterating P inside a subproof helps establish P → P. Copying that internal P into the outer proof after the subproof closes would let us “prove” any P without relevant premises. The defect is a lost dependency, irrespective of the letter’s actual truth.

Trace a doubtful line backward. Which lines does it cite? Are they still in an open scope? If it cites a whole subproof, does the rule permit discharging it? Indentation or vertical lines make these dependencies inspectable.

Section sources: forall x, chapter 17: section 17.5: subproof scope ↗

Build a proof yourself

Write the premises, goal, and available rules before opening the answer. Each solution gives one route; other legitimate derivations may exist.

Independent exercise 1

Derive C from (A ∧ B) → C, A, and B. Why can A not immediately be combined with the conditional?

Show answer and reasoning

Introduce A ∧ B from A and B, then eliminate the conditional to obtain C. Its antecedent is the whole conjunction; A alone is insufficient.

Independent exercise 2

From S alone, prove T → (S ∧ T). Does the result establish T?

Show answer and reasoning

Assume T. Use the still-open premise S to introduce S ∧ T within the subproof. Discharge T to obtain the conditional. T itself has not been established.

Section sources: forall x, chapter 17: conditional and conjunction introduction ↗

Check your understanding

Question: Can a conclusion proved under an assumption simply be kept after deleting the assumption? Answer: No. Its dependencies must be handled by a valid rule.

References

  1. forall x: Calgary ↗
    P. D. Magnus, Tim Button, Robert Trueman, Richard Zach et al. · Selected sections
    Version, terms, and access scope