Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
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 8 a Solution by
Codex 0 2026-10-31
A variable is fresh for the relevant context when it occurs free in none of its undischarged assumptions. For the existential quantifier elimination rule, it must also not occur free in the final conclusion or the existential premise: it is a new eigenvariable, allowed in the temporary witness assumption and formulas inside that witness subproof. Bound variable names can always be renamed to avoid collisions.
The premise guarantees some witness, without saying which object it is. Temporarily call one such witness and assume . If the subproof yields without depending on any special identity or extra property of , its conclusion holds whichever witness exists. The existential quantifier elimination rule therefore discharges and retains only the original existential premise and other open assumptions.This eigenvariable condition prevents inferring for a previously chosen object merely from existence. In particular, does not license outside the discharged witness subproof.
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.
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 a Solution by
Codex 0 2026-10-31
The conjunction introduction rule derives from proofs of and in the current context. The disjunction elimination rule derives a common conclusion from , a subproof of under temporary assumption , and a subproof of under temporary assumption . The implication introduction rule derives by temporarily assuming and proving .
The rectangular boxes delimit subproofs and the scope of their temporary assumptions. The disjunction elimination rule discharges the two case assumptions; the implication introduction rule discharges its antecedent assumption. Formulas depending on a boxed assumption cannot simply escape that box. Other undischarged assumptions remain in force, and nested boxes can access the assumptions of enclosing boxes.
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 6 d Solution by
Codex 0 2026-10-31
A triangular matrix has determinant equal to the product of its diagonal entries. Since is a unit lower triangular matrix, . ThusEquivalently, the elimination used only row additions, which leave the determinant unchanged; there were no row swaps or row scalings to account for.
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 6 c Solution by
Codex 0 2026-10-31
Solve two triangular linear systems, rather than forming an inverse matrix:For this LU decomposition, forward substitution gives , and . Then back substitution givesAll diagonal entries used as divisors are nonzero. The same LU decomposition can be reused for many right-hand vectors, with only these two triangular solves repeated.
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 6 b Solution by
Codex 0 2026-10-31
Use and , followed by . These elementary row operations giveThe elimination multipliers are , , . Record them in the unit lower triangular matrix :To see the elementary matrix relation directly, let , and , where has a single 1 in position . Then , and reversing and inverting these operations gives . Direct matrix multiplication also verifies the stated LU decomposition.
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 6 a Solution by
Codex 0 2026-10-31
An elementary matrix acts on rows by multiplication on the left. Apply the desired elementary row operation to the identity matrix to construct it. In the order requested, the three elementary matrices and their inverse matrices areThe inverse operations halve row 1, add twice row 1 to row 3, and interchange rows 2 and 3 again, respectively.
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 5 f Solution by
Codex 0 2026-10-31
The reduced row echelon form yieldsTake the free variables in a linear system to be , , . ThenThusEach listed vector lies in the null space, and every solution has the displayed form. Their coordinates in positions 2, 4 and 5 prove linear independence. The dimension also follows from the rank-nullity theorem: .
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 5 e Solution by
Codex 0 2026-10-31
The right-hand vector is in the column space, becauseConsequently the linear system is consistent. A concrete solution isAs a compatibility check, the original rows satisfy , and the right-hand entries satisfy the same relation . There are infinitely many solutions, obtained by adding any vector in the null space to the displayed 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 5 d Solution by
Codex 0 2026-10-31
The pivot columns of the reduced row echelon form are columns 1 and 3. Take those columns of the original matrix, since elementary row operations need not preserve the original column space:For an explicit spanning check, column 2 is , column 4 is , and column 5 is . The first two coordinates of the displayed columns form a matrix of determinant , proving their linear independence. They are therefore a basis of the column space.
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 5 c Solution by
Codex 0 2026-10-31
Swap the first two rows, then perform and . These elementary row operations giveScale row 2 by , subtract it from row 3, and finally subtract twice row 2 from row 1. The reduced row echelon form isElementary row operations preserve the row space. The two nonzero rows of are linearly independent, since their leading entries lie in different columns. Hence
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 5 b Solution by
Codex 0 2026-10-31
Write the columns of as and the coordinates of the vector as . By the definition of matrix multiplication,Indeed, its th coordinate is , exactly the th coordinate of this linear combination. Since the column space contains every linear combination of the columns, the claim holds for every vector .
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 5 a Solution by
Codex 0 2026-10-31
For a real matrix , the row space is the linear span of its rows in , and the column space is the linear span of its columns in . Its null space consists of the input vectors sent to zero:The rank of a matrix isThe equality of row and column dimensions is the row-rank/column-rank theorem. Each displayed space is a linear subspace of the indicated ambient vector space.
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 4 b Solution by
Codex 0 2026-10-31
Summing the flow conservation equations over all four junctions cancels every internal flow. The total entering flow is , and the known exiting flow is . ThusThe original arrows point , , , and for , respectively. In particular, exits north from .[ref]
Digital systems, linear algebra, introduction to formal proof examination paper by the University of Oxford (2014). Question 4(b) traffic diagram, printed page 5
The individual flow conservation equations areChoose . Substitution gives all solutions of these linear equations:The inequalities enforce nonnegative flows on all one-way streets. The last junction equation follows from the first three and total flow conservation, so it introduces no further restriction.
The maximum is . It makes . At , all 300 vehicles arriving from the west turn north and leave along ; none arrives from or continues east to .
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 4 a Solution by
Codex 0 2026-10-31
Apply the elementary row operations from bottom to top: , , and . This order ensures that each subtraction uses the original preceding row. The result is the upper triangular matrixPut , , , . Row is either zero if , or has its first nonzero entry in column . Thus, for arbitrary real parameters, a row echelon form is obtained by retaining the nonzero rows of in their existing order and moving every zero row to the bottom. This deals explicitly with vanishing parameters; an upper triangular matrix with an intermediate zero row is not yet a row echelon form.
The subtractions preserve the determinant, so the original matrix hasA square matrix is invertible exactly when its determinant is nonzero. Consequently,These conditions concern consecutive parameters: no ordering, positivity, or pairwise distinctness of all four is required. More generally the rank of a matrix here is the number of nonzero , because the retained nonzero rows have distinct leading columns.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





