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.
| Rule | Permitted step | Restriction |
|---|---|---|
| Conjunction introduction/elimination | P, Q ⟹ P ∧ Q; P ∧ Q ⟹ either conjunct | Both conjuncts need support; eliminate the outer conjunction. |
| Conditional elimination | P → Q, P ⟹ Q | Q does not license inferring P. |
| Conditional introduction | Assume P, derive Q, discharge P to infer P → Q | Closed subproof lines are no longer directly available. |
| Disjunction elimination | P ∨ Q; derive the same R from each disjunct, then infer R | Cover both branches; do not select a preferred disjunct. |
| Negation introduction | Assume P, derive a contradiction, discharge P to infer ¬P | The 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.
| Line | Formula and scope | Justification |
|---|---|---|
| 1 | Premise | |
| 2 | Premise | |
| 3 | Temporary assumption | |
| 4 | Conditional elimination, 1, 3 | |
| 5 | Conditional elimination, 2, 4 | |
| 6 | Conjunction introduction, 4, 5 | |
| 7 | 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
- forall x: Calgary ↗P. D. Magnus, Tim Button, Robert Trueman, Richard Zach et al. · Selected sectionsVersion, terms, and access scope