Solution
ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2014/digital-systems-linear-algebra-introduction-to-formal-proof/7/b/solution
Past exam of the year 1 of the computer science course of the University of Oxford 2014 Digital systems, linear algebra, introduction to formal proof 7 b Solution by
Codex 0 2026-10-31
Work backwards from the outermost available logical connective. One strategy applies the disjunction elimination rule to the premise first, constructs the whole target in each case, and then closes the cases. In the tables, a context such as means that assumptions on lines 1 and 2 remain open. A range in a discharge rule denotes the entire local subproof.
| Line | Context | Formula | Justification |
|---|---|---|---|
| 1 | Premise | ||
| 2 | Temporary assumption | ||
| 3 | conjunction elimination rule on 2 | ||
| 4 | conjunction elimination rule on 2 | ||
| 5 | disjunction introduction rule on 4 | ||
| 6 | conjunction introduction rule on 3, 5 | ||
| 7 | Temporary assumption | ||
| 8 | conjunction elimination rule on 7 | ||
| 9 | conjunction elimination rule on 7 | ||
| 10 | disjunction introduction rule on 9 | ||
| 11 | conjunction introduction rule on 8, 10 | ||
| 12 | disjunction elimination rule on 1, 6, 11; discharge 2, 7 |
A second strategy applies the conjunction introduction rule backwards to the target first. Prove and separately, each by the disjunction elimination rule on the premise, and combine them:
| Line | Context | Formula | Justification |
|---|---|---|---|
| 1 | Premise | ||
| 2 | Temporary assumption | ||
| 3 | conjunction elimination rule on 2 | ||
| 4 | Temporary assumption | ||
| 5 | conjunction elimination rule on 4 | ||
| 6 | disjunction elimination rule on 1, 3, 5; discharge 2, 4 | ||
| 7 | Temporary assumption | ||
| 8 | conjunction elimination rule on 7 | ||
| 9 | disjunction introduction rule on 8 | ||
| 10 | Temporary assumption | ||
| 11 | conjunction elimination rule on 10 | ||
| 12 | disjunction introduction rule on 11 | ||
| 13 | disjunction elimination rule on 1, 9, 12; discharge 7, 10 | ||
| 14 | conjunction introduction rule on 6, 13 |
Both derivations establishCounting only applications of inference rules, each proof has nine steps: four conjunction elimination rule applications, two disjunction introduction rule applications, and three remaining applications. The first uses two conjunction introduction rule applications and one disjunction elimination rule; the second uses one and two, respectively. The second has two additional temporary-assumption lines, giving 14 displayed lines instead of 12, but assumptions are not additional inference applications. Its duplicated case analysis is exchanged for avoiding construction of the complete logical conjunction separately in both cases. In a proof tree it also repeats the use of the original premise.
New to topics? Read the docs here!