The following natural deduction tables record the active assumption lines explicitly. A rule may use an earlier line only while all of that line's assumptions remain available; assumption discharge closes the indicated case or hypothesis. The first proof makes the case split first, constructs the whole required logical conjunction in each case, and then closes the cases.
Table 1.
First proof: one case split constructs both conjuncts
. | Line | Open assumptions | Formula | Justification |
|---|---|---|---|
| 1 | 1 | Premise | |
| 2 | 1, 2 | Temporary assumption | |
| 3 | 1, 2 | disjunction introduction L 2 | |
| 4 | 1, 2 | disjunction introduction L 2 | |
| 5 | 1, 2 | conjunction introduction 3, 4 | |
| 6 | 1, 6 | Temporary assumption | |
| 7 | 1, 6 | conjunction elimination L 6 | |
| 8 | 1, 6 | conjunction elimination R 6 | |
| 9 | 1, 6 | disjunction introduction R 7 | |
| 10 | 1, 6 | disjunction introduction R 8 | |
| 11 | 1, 6 | conjunction introduction 9, 10 | |
| 12 | 1 | disjunction elimination 1, 2, 5, 6, 11 |
The second proof instead splits the goal first. It proves each required logical disjunction by a separate use of disjunction elimination, then applies conjunction introduction at the end.
| Line | Open assumptions | Formula | Justification |
|---|---|---|---|
| 1 | 1 | Premise | |
| 2 | 1, 2 | Temporary assumption | |
| 3 | 1, 2 | disjunction introduction L 2 | |
| 4 | 1, 4 | Temporary assumption | |
| 5 | 1, 4 | conjunction elimination L 4 | |
| 6 | 1, 4 | disjunction introduction R 5 | |
| 7 | 1 | disjunction elimination 1, 2, 3, 4, 6 | |
| 8 | 1, 8 | Temporary assumption | |
| 9 | 1, 8 | disjunction introduction L 8 | |
| 10 | 1, 10 | Temporary assumption | |
| 11 | 1, 10 | conjunction elimination R 10 | |
| 12 | 1, 10 | disjunction introduction R 11 | |
| 13 | 1 | disjunction elimination 1, 8, 9, 10, 12 | |
| 14 | 1 | conjunction introduction 7, 13 |
The essential difference is the order of proof construction: the first shares one case split between both goals, whereas the second duplicates that split and combines the results outside the cases. Both use only the stated natural deduction rules, and both conclude
Temporarily deny the desired logical disjunction. If held, it would introduce that very logical disjunction, producing logical falsity; double-negation elimination therefore gives . The same argument gives , contradicting the premise. The complete natural deduction derivation is:
| Line | Open assumptions | Formula | Justification |
|---|---|---|---|
| 1 | 1 | Premise | |
| 2 | 1, 2 | Temporary assumption | |
| 3 | 1, 2, 3 | Temporary assumption | |
| 4 | 1, 2, 3 | disjunction introduction L 3 | |
| 5 | 1, 2, 3 | negation elimination rule 4, 2 | |
| 6 | 1, 2 | negation introduction 3, 5 | |
| 7 | 1, 2 | double-negation elimination 6 | |
| 8 | 1, 2, 8 | Temporary assumption | |
| 9 | 1, 2, 8 | disjunction introduction R 8 | |
| 10 | 1, 2, 8 | negation elimination rule 9, 2 | |
| 11 | 1, 2 | negation introduction 8, 10 | |
| 12 | 1, 2 | double-negation elimination 11 | |
| 13 | 1, 2 | conjunction introduction 7, 12 | |
| 14 | 1, 2 | negation elimination rule 13, 1 | |
| 15 | 1 | negation introduction 2, 14 | |
| 16 | 1 | double-negation elimination 15 |
ConsequentlyThe uses of double-negation elimination are justified by the supplied rules. This distinguishes the proof from the preceding constructive direction of De Morgan's laws.
The original cover dates this paper to 20 June 2014. The solutions follow the printed numbering and use the supplied natural deduction rules, including double-negation elimination. In the proof tables, the context column lists the numbered assumptions still in force; temporary assumptions are explicitly discharged by the indicated rule.[ref]
Digital systems, linear algebra, introduction to formal proof examination paper by the University of Oxford (2014). Cover and Figures 1–3, printed pages 1 and 9
Under , the first assumption yields , while the second yields . Apply the implication elimination rule once more to obtain , and discharge the three temporary assumptions:
| Line | Context | Formula | Justification |
|---|---|---|---|
| 1 | Temporary assumption | ||
| 2 | Temporary assumption | ||
| 3 | Temporary assumption | ||
| 4 | implication elimination rule on 1, 3 | ||
| 5 | implication elimination rule on 2, 3 | ||
| 6 | implication elimination rule on 4, 5 | ||
| 7 | implication introduction rule on 6; discharge 3 | ||
| 8 | implication introduction rule on 7; discharge 2 | ||
| 9 | implication introduction rule on 8; discharge 1 |
The original cover establishes the date as 19 June 2015. The solutions use the printed question numbering and the natural deduction rules supplied with this paper.[ref]
Digital systems, linear algebra, introduction to formal proof examination paper by the University of Oxford (2015). Cover and Figures 1–3, printed pages 1 and 7
A common-context sequent version of the disjunction elimination rule isThe second and third premises record exactly the two boxed subproofs of the natural deduction presentation. Their additional case assumptions do not occur in the conclusion: that is assumption discharge. The surrounding context remains throughout. A formulation with different surrounding contexts is equivalent after retaining their union by weakening.
In natural deduction, conjunction introduction combines derivations of and under the available assumptions into . Disjunction elimination takes and two subproofs of the same conclusion , one assuming and the other assuming , and concludes . Implication introduction takes a subproof deriving from a temporary assumption , and concludes .
The rectangular boxes mark the scopes of temporary assumptions. The disjunction elimination rule discharges its two case assumptions, while the implication introduction rule discharges the antecedent assumption. Other surrounding assumptions remain in force; intermediate results depending on the boxed assumptions cannot be exported arbitrarily. Schematically,Here the square brackets designate the assumptions discharged by the corresponding inference rule.
Read chained logical implications as right-associative. Use the following natural deduction derivation; indentation bars mark nested subproofs and the last column records rules and discharged line ranges:Each application of the implication introduction rule discharges only its matching temporary assumption. Thus
Use proof by contradiction, expanding the final classical step explicitly into negation introduction followed by double-negation elimination. First the assumption forces : otherwise immediately gives the prohibited logical disjunction. It similarly forces . The formal natural deduction derivation isHenceThis direction of De Morgan's laws uses the classical rule supplied on the source rule sheet; it has not been silently treated as an available inference rule.
The premise limits every possible existential witness to the objects named by ; it does not assert that these constants name distinct objects. Instantiate it at a fresh witness , then apply disjunction elimination. In the first case equality elimination rule transfers to ; in the second it transfers to , contradicting the assumed negation. The full natural deduction derivation isThe sibling case subproofs end before the witness subproof closes. At line 13, is absent from and from all surrounding assumptions, so no witness escape occurs. The final two applications of implication introduction giveThe logical falsity elimination rule is needed to complete the contradictory second case with the same conclusion as the first case.
Write and . In the following natural deduction derivations, brackets name temporary assumptions, and cited ranges specify the subproofs discharged. The abbreviations denote the corresponding conjunction elimination rule, conjunction introduction rule, disjunction elimination rule and disjunction introduction rule.
First use the disjunction elimination rule backwards: split the premise into two cases and build the whole conclusion in each case.
Alternatively, use the conjunction introduction rule backwards on the conclusion. First obtain by cases, then obtain by a second case analysis, and finally combine the results:
The first proof goal transformation starts with case analysis; the second starts by splitting a conjunction goal. Counting only actual applications of the printed inference rules, both use nine steps: the first has four , two , two and one ; the second has four , two , one and two . The extra case analysis in the second exactly replaces one conjunction construction. If assumption lines are counted as well, the second display has two more lines because it opens four case subproofs rather than two. Thus the apparent difference in display length need not be a difference in inference count.
First obtain by a double-negation elimination, then obtain by the negation introduction rule. The following natural deduction proof uses only the printed rules, with denoting the logical falsity elimination rule:Reiteration only reuses an available line within its scope. In particular, the unused temporary assumption on line 11 is legitimately discharged by the implication introduction rule.
The dot after gives it scope over the following implication: read the premise as . Choose a fresh arbitrary eigenvariable . A natural deduction proof isAt line 6, is free in no undischarged assumption, so the universal quantifier introduction rule is valid.
The proposed variant is not derivable in a sound first-order logic. For a countermodel, use the two-element domain , interpret both predicates as , and assign the free variable the value 0. Then is true, as is under the assignment, but is false at element 1. The premise's bound and the conclusion's free have different scopes.Attempting to generalize from in the variant would violate the eigenvariable condition, because remains free in the undischarged assumption .
Choose fresh arbitrary eigenvariables . Under , use the equality elimination rule to transport to . For the reverse direction, first derive by the symmetry derivation above. In full natural deduction form:All temporary assumptions are discharged before either universal quantifier introduction rule application, so both eigenvariable conditions hold. No premises remain:
The implication introduction rule opens a subproof with a temporary assumption , derives , and discharges that assumption to conclude . The negation introduction rule opens a subproof with a temporary assumption , derives logical falsity , and discharges it to conclude .
The boxes record the scopes and dependencies of the temporary assumptions. A result derived inside a box cannot be used outside it without the appropriate discharge rule; it may depend on the boxed assumption. Other, surrounding assumptions remain in force. This is how the natural deduction rules distinguish a conditional derivation from an unconditional assertion.
Let . In the following natural deduction proofs, indentation and vertical bars mark assumption scopes. Rule names are the introduction and elimination rules supplied by the paper.
First work backwards from the premise using disjunction elimination, proving the whole desired logical conjunction in each case:Alternatively, first transform the goal by conjunction introduction, obtaining and by separate disjunction elimination proofs:The essential difference is the final rule: the first proof splits the premise once, while the second splits the goal first and then analyzes the premise twice. Counting only rule applications, both displayed proofs take nine inference steps. The first uses four conjunction elimination steps, two disjunction introduction steps, two conjunction introduction steps and one disjunction elimination; the second replaces one conjunction introduction with a second disjunction elimination. If assumption lines are counted as displayed proof lines, the second is longer, 14 rather than 12, because it opens four case assumptions rather than two. Thus a raw line count and an inference-step count need not agree.
1 H premise
2 | P ∧ Q assumption
3 | P ∧-elim-L 2
4 | Q ∧-elim-R 2
5 | Q ∨ R ∨-intro-L 4
6 | P ∧ (Q ∨ R) ∧-intro 3,5
7 | P ∧ R assumption (new case)
8 | P ∧-elim-L 7
9 | R ∧-elim-R 7
10 | Q ∨ R ∨-intro-R 9
11 | P ∧ (Q ∨ R) ∧-intro 8,10
12 P ∧ (Q ∨ R) ∨-elim 1,2–6,7–111 H premise
2 | P ∧ Q assumption
3 | P ∧-elim-L 2
4 | P ∧ R assumption (new case)
5 | P ∧-elim-L 4
6 P ∨-elim 1,2–3,4–5
7 | P ∧ Q assumption
8 | Q ∧-elim-R 7
9 | Q ∨ R ∨-intro-L 8
10 | P ∧ R assumption (new case)
11 | R ∧-elim-R 10
12 | Q ∨ R ∨-intro-R 11
13 Q ∨ R ∨-elim 1,7–9,10–12
14 P ∧ (Q ∨ R) ∧-intro 6,13Abbreviate and . Use the primitive natural deduction rules, including double-negation elimination:The outer premise is redundant: the proof uses the locally assumed , so the conclusion is already a theorem. Keeping the redundant premise is allowed. The successive discharges give with exactly the requested assumption scopes.
1 H premise
2 | H assumption
3 | | K assumption
4 | | | ¬P assumption
5 | | | Q →-elim 2,4
6 | | | ¬Q →-elim 3,4
7 | | | ⊥ ¬-elim 5,6
8 | | ¬¬P ¬-intro 4–7
9 | | P ¬¬-elim 8
10 | K → P →-intro 3–9
11 H → (K → P) →-intro 2–10A uniform witness can serve every particular input. Two natural deduction proofs differ in whether universal introduction happens outside or inside the existential witness box.In both proofs is absent from the original premise. In the second it is also absent from the witness assumption, whose is bound; universal generalization is therefore legal inside that box. The exported conclusions contain no free .
Proof 1:
1 ∃y ∀x R(x,y) premise
2 | ∀x R(x,b) assumption, b fresh
3 | R(a,b) ∀-elim 2, with a arbitrary
4 | ∃y R(a,y) ∃-intro 3
5 ∃y R(a,y) ∃-elim 1,2–4
6 ∀x ∃y R(x,y) ∀-intro 5
Proof 2:
1 ∃y ∀x R(x,y) premise
2 | ∀x R(x,b) assumption, b fresh
3 | R(a,b) ∀-elim 2, with a arbitrary
4 | ∃y R(a,y) ∃-intro 3
5 | ∀x ∃y R(x,y) ∀-intro 4
6 ∀x ∃y R(x,y) ∃-elim 1,2–5The converse is not valid. On the domain , interpret as . For each , choose , so holds. Neither single choice of equals both 0 and 1, so fails. This is the distinction between a pointwise witness and a uniform witness.
Use conjunction elimination to obtain both premises needed for a contradiction under a temporary implication assumption. The following natural deduction derivation discharges precisely assumption 4:Here is the implication elimination rule and is negation introduction. The original conjunction remains the only undischarged premise.
Under the negation of the desired disjunction, derive both negated propositions and contradict the premise. The natural deduction derivation isThe proof uses disjunction introduction, conjunction introduction and the classical RAA rule; it does not silently replace the required derivation by a truth-table check.