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 2013 Digital systems, linear algebra, introduction to formal proof 8 b iii Solution by
Codex 0 2026-10-31
Introduce a fresh existential witness with . The universal premise gives . In the first case, equality elimination rule gives . In the second, it gives , contradicting ; explosion then supplies the common case conclusion . Close both cases and then the witness scope:
| Line | Open assumptions | Formula | Justification |
|---|---|---|---|
| 1 | 1 | Premise | |
| 2 | 1, 2 | Premise | |
| 3 | 1, 2, 3 | Premise | |
| 4 | 1, 2, 3, 4 | Temporary assumption | |
| 5 | 1, 2, 3, 4 | universal elimination 1; term | |
| 6 | 1, 2, 3, 4, 6 | Temporary assumption | |
| 7 | 1, 2, 3, 4, 6 | equality elimination rule 6, 4 | |
| 8 | 1, 2, 3, 4, 8 | Temporary assumption | |
| 9 | 1, 2, 3, 4, 8 | equality elimination rule 8, 4 | |
| 10 | 1, 2, 3, 4, 8 | negation elimination rule 9, 3 | |
| 11 | 1, 2, 3, 4, 8 | explosion 10 | |
| 12 | 1, 2, 3, 4 | disjunction elimination 5, 6, 7, 8, 11 | |
| 13 | 1, 2, 3 | existential elimination 2, 4, 12; fresh |
HenceFor both uses of equality elimination rule, the formula template is . At the final existential elimination, is fresh in all three original premises and absent from , so the eigenvariable condition holds. No additional assumption that the constants and denote distinct objects is needed.
Past exam of the year 1 of the computer science course of the University of Oxford 2013 Digital systems, linear algebra, introduction to formal proof 8 b ii Solution by
Codex 0 2026-10-31
Use reflexivity to obtain . In equality elimination rule, take to be , and replace the designated first occurrence of using the premise :
Past exam of the year 1 of the computer science course of the University of Oxford 2013 Digital systems, linear algebra, introduction to formal proof 8 b i Solution by
Codex 0 2026-10-31
The equality introduction rule is reflexivity: any well-formed first-order term is equal to itself, with no premises. The equality elimination rule permits replacement of equals in a first-order formula:In the second rule, write and as the results of substituting and into the same designated free occurrences of a variable in . Both substitutions must avoid variable capture. The rule preserves the surrounding assumptions. This expresses first-order equality rather than treating equality as an arbitrary relation symbol.
Past exam of the year 1 of the computer science course of the University of Oxford 2013 Digital systems, linear algebra, introduction to formal proof 8 a iii Solution by
Codex 0 2026-10-31
The original scan repeats the premise and conclusion of part (i) exactly; it is not a missing or unreadable alternative exercise.[ref]
Digital systems, linear algebra, introduction to formal proof examination paper by the University of Oxford (2013). Printed p. 8, Question 8(a)(i) and (iii)
Here is a second formal ordering of the same argument. First introduce the fresh existential witness, derive the desired negation inside its scope, and then eliminate the witness:Thus, again,At the last existential elimination, occurs in neither the exported conclusion nor the remaining premise. The eigenvariable condition is therefore satisfied. This proof retains a different nesting of the subproofs from part (i).
Past exam of the year 1 of the computer science course of the University of Oxford 2013 Digital systems, linear algebra, introduction to formal proof 8 a ii Solution by
Codex 0 2026-10-31
Choose an arbitrary fresh eigenvariable . If held, existential quantifier introduction rule would contradict the premise. Derive by double-negation elimination, then generalize:
Table 1.
An arbitrary object satisfies the relation
. | Line | Open assumptions | Formula | Justification |
|---|---|---|---|
| 1 | 1 | Premise | |
| 2 | 1, 2 | Temporary assumption | |
| 3 | 1, 2 | existential quantifier introduction rule 2; term | |
| 4 | 1, 2 | negation elimination rule 3, 1 | |
| 5 | 1 | negation introduction 2, 4 | |
| 6 | 1 | double-negation elimination 5 | |
| 7 | 1 | universal introduction 6; fresh |
HenceAt the final universal introduction, is free in no open assumption: the only remaining premise is the closed first-order formula . Thus the eigenvariable condition is satisfied. The passage from double negation to the positive relation uses the paper's classical rule.
Past exam of the year 1 of the computer science course of the University of Oxford 2013 Digital systems, linear algebra, introduction to formal proof 8 a i Solution by
Codex 0 2026-10-31
Assume that every object fails . A fresh existential witness for the premise then has both and its negation. Eliminate the witness before closing the assumption about all objects:
The conclusion isThe witness occurs neither in the conclusion of existential elimination nor in its other open assumptions, so the eigenvariable condition holds.
Past exam of the year 1 of the computer science course of the University of Oxford 2013 Digital systems, linear algebra, introduction to formal proof 7 d ii Solution by
Codex 0 2026-10-31
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.
Past exam of the year 1 of the computer science course of the University of Oxford 2013 Digital systems, linear algebra, introduction to formal proof 7 d i Solution by
Codex 0 2026-10-31
Under the premise, assuming either disjunct would introduce the forbidden logical disjunction. Discharging those two assumptions gives the two separate negations, which can then be conjoined.
Table 1.
Derivation of the two negated disjuncts
. | Line | Open assumptions | Formula | Justification |
|---|---|---|---|
| 1 | 1 | Premise | |
| 2 | 1, 2 | Temporary assumption | |
| 3 | 1, 2 | disjunction introduction L 2 | |
| 4 | 1, 2 | negation elimination rule 3, 1 | |
| 5 | 1 | negation introduction 2, 4 | |
| 6 | 1, 6 | Temporary assumption | |
| 7 | 1, 6 | disjunction introduction R 6 | |
| 8 | 1, 6 | negation elimination rule 7, 1 | |
| 9 | 1 | negation introduction 6, 8 | |
| 10 | 1 | conjunction introduction 5, 9 |
ThusThe redundant closing parenthesis printed after the conclusion on p. 8 does not alter the readable propositional formula.[ref]
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 9 b iv Solution by
Codex 0 2026-10-31
Let , and suppose it were a regular language. The formal language is a regular language. By closure of regular languages under set difference,would be a regular language. But the pumping lemma for regular languages rules this out: for pumping length , every permitted pumped block in consists of zeros, and deleting it produces , with unequal counts. This contradiction provesThe closure step can also be realized by a product automaton accepting when the automaton for accepts and the automaton for rejects. If the exponents are instead required to be positive, use ; the same argument applies.
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 9 b iii Solution by
Codex 0 2026-10-31
This is a regular language. A deterministic finite automaton needs only to remember the number of consecutive trailing ones, up to three, and whether a forbidden run of four has already occurred. Use states , start at , and accept in . Its transition function of a finite automaton is:
| State | On | On |
|---|---|---|
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 9 b ii Solution by
Codex 0 2026-10-31
These strings are the even-length palindromes . Suppose this were a regular language, and let be its length from the pumping lemma for regular languages. The stringbelongs to the formal language, with . In any allowed decomposition , where and , the pumped block is with . Pumping it away givesThis is not a palindrome: its initial and final runs of zeros have different lengths. Hence it cannot have the form , contradicting the pumping lemma for regular languages. Therefore
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 9 b i Solution by
Codex 0 2026-10-31
Every finite formal language is a regular language. A single string is described by the regular expression formed by concatenating its symbols; the empty string is described by . A finite union of these regular expressions describes any specified finite collection of strings. The empty collection is described by . ThusEquivalently, a deterministic finite automaton can remember which prefix of one of the finitely many accepted strings has been read, moving to a rejecting dead state when no such prefix remains possible.
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 5 b iv Solution by
Codex 0 2026-10-31
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 5 b iii Solution by
Codex 0 2026-10-31
For , the denominator is positive, so every value of is positive. Conversely, for every , the positive number satisfies . Thus its image of a function, or range, isOne can also see the full range from continuity and monotonicity: is a continuous function with , and its endpoint limits are as and as . The endpoints themselves are not attained.
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 5 b ii Solution by
Codex 0 2026-10-31
For , solve with . Multiplying by the positive denominator gives , so the quadratic formula givesThe minus sign gives a negative number and is inadmissible. The plus sign gives a positive number for every , and it is the unique positive solution. Hence the inverse function isIndeed , so . Conversely, for , , giving . These verify both inverse function identities.
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 5 b i Solution by
Codex 0 2026-10-31
The domain of a function is fixed by its declared type, soAlthough the rational expression also has values at some negative arguments, they are not in the specified domain of a function. Part (a) of the printed question only supplies the definition used in these four subparts.[ref]
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 4 b iii Solution by
Codex 0 2026-10-31
Here the velocity contribution in D'Alembert's formula isThus, with arbitrary twice continuously differentiable ,For the added term, and . Its displacement at is zero, leaving free as required.
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 4 b ii Solution by
Codex 0 2026-10-31
The velocity contribution in D'Alembert's formula is . Hence, with arbitrary twice continuously differentiable ,The added term has both second partial derivatives zero and has time derivative one, so it supplies precisely the required initial condition while preserving the wave equation.
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 4 b i Solution by
Codex 0 2026-10-31
For the wave equation with wave speed one, D'Alembert's formula with arbitrary twice continuously differentiable initial displacement isThe arbitrary function is essential: only the initial velocity is prescribed. For , this givesBoth travelling terms solve the wave equation, and their time derivatives cancel at . Conversely every classical solution has this form for its initial displacement .
Past exam of the year 1 of the computer science course of the University of Oxford 2005 Calculus, linear algebra, discrete mathematics, logic and proof, and models of computation 4 a ii Solution by
Codex 0 2026-10-31
Use the product rule for the Laplace operator:Thus Laplace's equation, away from the origin, reduces to . On the line the displayed expression vanishes automatically; requiring the equation on an open region gives the same radial equation by continuity from . Multiplying by gives , so and . ThereforeIf extension through the origin is required, : along the horizontal axis the second term is . The remaining harmonic function is .
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





