Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the logic and set theory course of the University of Oxford 2009 A 1 c Solution by
Codex 0 2026-10-31
Take for a unary predicate symbol. The premise is valid, but the proposed conclusion is . On a domain with and assignment , its antecedent is true and its consequent false.
Hence dropping the condition that is not free in would turn a valid premise into an invalid conclusion. The condition permits the antecedent to remain fixed while the quantified variable ranges over the domain; an antecedent depending on that variable cannot be held true for all its values merely because it is true at the current assignment.
Past exam of the logic and set theory course of the University of Oxford 2009 A 1 b Solution by
Codex 0 2026-10-31
A term is free for substitution for in when none of its variables becomes bound at a free occurrence of being replaced. Equivalently, no quantifier surrounding such an occurrence binds a variable of . Bound occurrences of are not replaced. This occurrence-sensitive condition prevents variable capture.
For example take and . On a two-element domain, is true. Naive textual substitution produces , which is false on every nonempty domain. Thus the corresponding unrestricted A4 implication would be invalid. The problem is that the inserted free was captured by the existing existential quantifier. Renaming that binder first instead gives the correct instance , with fresh.
Past exam of the logic and set theory course of the University of Oxford 2009 A 1 a Solution by
Codex 0 2026-10-31
The assertion means that there is a finite formal derivation ending in with its undischarged assumptions contained in . In a context-labelled presentation, an axiom instance is available with empty context, a formula is available from the context , modus ponens combines derivations of and to derive , and generalization derives provided is not free in its open assumptions. Thinning enlarges a context without changing its conclusion.
Each line or node must specify an axiom instance, an assumption, or an application of a permitted rule to earlier lines or subderivations. The side conditions on substitution, quantification and contexts are part of correctness. In particular a derivation is a finite syntactic object, even when is infinite; it uses only finitely many assumptions before a final thinning to if necessary. Derivability is thus distinct in definition from semantic entailment , which quantifies over structures and assignments.
Past exam of the logic and set theory course of the University of Oxford 2008 B 7 5 Solution by
Codex 0 2026-10-31
Write for the set of continuous real-valued functions on the real line. Constant functions give an injection of into this set. In the other direction, restriction to the rational numbers is injective. Indeed, if continuous functions agree at every rational and is real, choose rational numbers . Continuity givesThus restriction embeds into , which has the same cardinality as the real-sequence space because is countable. The previous part gives the upper bound , while constant functions give the matching lower bound. HenceThis computes the cardinality of continuous real functions. All five sets consequently have the same cardinality. The continuity assumption is decisive for restriction to a dense subset to determine a function.
Past exam of the logic and set theory course of the University of Oxford 2008 B 7 4 Solution by
Codex 0 2026-10-31
Constant sequences give an injection . For the opposite bound fix an enumeration of the rational numbers and encode a sequence byDistinct sequences differ at some coordinate ; density of the rational numbers then makes their encoded sets differ at a pair . Thus is injective. The Cartesian product is countable; for example the Cantor pairing functionis a bijection with . Consequently is equinumerous with , already equinumerous with . Apply Cantor-Schröder-Bernstein theorem to obtain
Past exam of the logic and set theory course of the University of Oxford 2008 B 7 3 Solution by
Codex 0 2026-10-31
There is an injection from the power set of into the real numbers given byIf and first differ at , the contribution at has magnitude , while the entire later tail has magnitude at mostTheir real values are therefore different. This proves injectivity directly and avoids any ambiguity of numeral expansions.
Conversely, map a real number to the set . Distinct real numbers give distinct sets because the rational numbers are dense in the real line. Fixing a bijection between and the countable set turns this into an injection . Cantor-Schröder-Bernstein theorem now gives
Past exam of the logic and set theory course of the University of Oxford 2008 B 7 2 Solution by
Codex 0 2026-10-31
Map to its indicator function . Its inverse maps a binary sequence to . These maps are mutually inverse, soHere the left superscript denotes the set of functions from into . It is a space of binary sequences, not an ordinal square.
Past exam of the logic and set theory course of the University of Oxford 2008 B 7 1 Solution by
Codex 0 2026-10-31
The Cantor-Schröder-Bernstein theorem states that injections and imply the existence of a bijection . Here is the injection-chain formal proof, so no fixed-point theorem is needed. Defineand setThe second branch is defined because implies , hence , and the inverse there is unique by injectivity of . Each branch is injective. A collision between branches would have with and , implying , a contradiction. Thus is injective.
For surjectivity let . If , then . If , it is not in , so it belongs to some . There is with ; injectivity of gives . This proves that is a bijection and completes the theorem without the axiom of choice.
For the comparison of cardinalities take the power set of as the reference set. Its cardinality is by definitionThe remaining parts give explicit injections or bijections comparing each requested set with this one.
Past exam of the logic and set theory course of the University of Oxford 2008 B 6 4 Solution by
Codex 0 2026-10-31
This encoding works, interpreting the outer three-coordinate brackets by the nested ordered pair convention established in item 1. Equality of the outer ordered triples givesFor any fixed set , the map is injective. If , equality makes the right-hand side a singleton and forces . If , membership of in forces . Applying this argument with recovers the respective coordinates.
Past exam of the logic and set theory course of the University of Oxford 2008 B 6 3 Solution by
Codex 0 2026-10-31
This encoding works. Use three distinct tags and the ordered pair construction already proved injective. In the setexactly one member has first coordinate , exactly one has first coordinate , and exactly one has first coordinate . Equality of two such sets therefore matches the members carrying each tag. Injectivity of the ordered pair construction then gives equality of , of and of , respectively.
This is a tagged encoding of a finite tuple. It remains valid when coordinates coincide with one another or with tags: the equality criterion for ordered pairs still distinguishes their first coordinates. Finite set formation using pairing and union makes the encoding a set.
Past exam of the logic and set theory course of the University of Oxford 2008 B 6 2 Solution by
Codex 0 2026-10-31
This encoding fails. Choose two distinct sets and , for example the first two finite von Neumann ordinals. The distinct ordered triples and both encode asIndeed the repeated singleton in the first encoding and the repeated two-element set in the second disappear when forming an ordinary set. Thus the middle coordinate cannot always be recovered. The issue is loss of multiplicity, not a failure to construct a set.
Past exam of the logic and set theory course of the University of Oxford 2008 B 6 1 Solution by
Codex 0 2026-10-31
Use the Kuratowski ordered pairThe axiom of pairing first produces by pairing with itself, then , and then the pair of these two sets. The axiom of extensionality supplies the usual uniqueness of each specified set. In particular, no use of Axiom schema of replacement is needed to construct a single ordered pair from two given sets.
To recover the coordinates from , observe thatThe first equality recovers . Once is known, the second recovers : if its union is the singleton then , and otherwise is its unique element different from . Hence equality of two encoded pairs forces equality of both coordinates, including the degenerate case .
The first ordered triple encoding works. Ifinjectivity of the ordered pair construction first gives and , and a second application gives and . The construction uses only two successive ordered pair constructions, so is a set as well.
Past exam of the logic and set theory course of the University of Oxford 2008 B 5 5 Solution by
Codex 0 2026-10-31
False. Take and . ThenThus ordinal multiplication on the right does not in general distribute over ordinal addition. The side on which ordinal multiplication occurs matters; the left-distributive identity in the previous part does not imply this one.
Past exam of the logic and set theory course of the University of Oxford 2008 B 5 4 Solution by
Codex 0 2026-10-31
True: ordinal multiplication on the left distributes over ordinal addition. If both sides are zero. Otherwise fix and , and induct on . At zero the identity follows from . At a successor, use the recursive ordinal multiplication rule and the associativity just proved:For a nonzero limit ordinal , the ordinals are cofinal in . Continuity of ordinal multiplication in its right argument givesFor the last equality, is increasing and cofinal in , which is a limit ordinal because , and ordinal addition is continuous in its right argument. This establishes the limit step and the identity for all ordinals.
Past exam of the logic and set theory course of the University of Oxford 2008 B 5 3 Solution by
Codex 0 2026-10-31
False. Use and . The recursive definition of ordinal multiplication givesThe first product concatenates countably many finite two-point blocks. The second concatenates two whole copies of the order type , producing a strictly larger ordinal. Hence ordinal multiplication is not commutative.
Past exam of the logic and set theory course of the University of Oxford 2008 B 5 2 Solution by
Codex 0 2026-10-31
False. Take and . By the limit clause for ordinal addition,The first order type is one point followed by a countably infinite sequence, which is still of type . The second has a greatest element after that infinite sequence, so its order type is the successor ordinal . Thus ordinal addition is not commutative, even though the two resulting sets have equal cardinality.
Past exam of the logic and set theory course of the University of Oxford 2008 B 5 1 Solution by
Codex 0 2026-10-31
First give the recursive definitions, keeping the right argument as the recursion variable. For ordinals and nonzero limit ordinals ,Here is the successor ordinal, and the supremum of a set of ordinals is its union. These are ordinal arithmetic, defined by transfinite recursion, and differ from cardinal sum and ordinal multiplication.
Associativity of ordinal addition is true. Fix and use transfinite induction on . The case is immediate. In the successor step the recursive definitions and the induction hypothesis giveFor a nonzero limit ordinal , the ordinals for form an increasing cofinal subset of the limit ordinal . The limit clause for ordinal addition, restricted to this cofinal subset, givesCofinal restriction is valid because ordinal addition by a fixed ordinal on the left is increasing and continuous in its right argument, directly from its recursive definition. This completes the induction.
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 e Solution by
Codex 0 2026-10-31
Let in the finite language of rings: it is the set of all first-order sentences true in the field of complex numbers. It is satisfiable, with first-order model , so the countable-language Löwenheim-Skolem theorem gives an at most countable first-order model of .
All field axioms belong to , hence is a field. For every positive integer , the first-order sentence saying that there are at least distinct elements is also true in and belongs to . Thus cannot be finite, and is countably infinite.
Finally, for each first-order sentence , either or . Since satisfies all of , it satisfies exactly when does. ThereforeElementary equivalence concerns first-order first-order sentences and does not imply an isomorphism; the two fields have different cardinalities. The stronger downward form may even choose as a countable elementary subfield of .
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 d Solution by
Codex 0 2026-10-31
For a countable first-order language, the Henkin construction introduces only countably many constant symbols: each round needs at most one for each logical formula, there are countably many finite strings in a countable alphabet, and countably many rounds suffice. There are therefore at most countably many closed terms. The term model, and also its quotient set by equality, has at most countably many elements.
It follows that every satisfiable theory in a countable first-order language has an at most countable first-order model. If the theory has no finite first-order model, the constructed first-order model is countably infinite. More generally the same counting argument gives a first-order model of cardinality at most for any satisfiable theory in language .
For the elementary-substructure version of the downward Löwenheim-Skolem theorem, begin with a first-order structure and a set of designated elements. Close , the named constant symbols and one initial element under the language's functions and under chosen witnesses in for existential formulas with parameters already chosen. Iterate countably often. The resulting set has cardinality at most , and its induced substructure is elementary: induction on logical formulas proves the truth equivalence, with the existential case supplied by the chosen witnesses. This is the same witness mechanism as the Henkin formal proof, now keeping witnesses inside a given first-order model.
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 c Solution by
Codex 0 2026-10-31
In the presence of equality, two syntactically different closed terms can be asserted equal by the Henkin theory, so the raw first-order term domain from part (b) must be replaced by a quotient set. DefineThe equality axioms give reflexivity, symmetry and transitivity, so this is an equivalence relation. Their substitution consequences make it a congruence relation on a first-order structure: replacing an input by an equivalent first-order term preserves equivalence of function values and preserves membership of atomic formulas in .
Take domain . Define a function symbol by , and relations by the same membership test as before using representatives. The congruence relation on a first-order structure makes these definitions independent of representatives. Actual identity of equivalence classes now agrees with the formal equality first-order sentences in :This supplies the equality case of the truth lemma for a Henkin term model; the logical connective and quantifier cases then proceed exactly as in the Henkin construction. Thus the term model built from the quotient set is a genuine first-order model with equality interpreted as identity.
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





