Past exam of the logic and set theory course of the University of Oxford 2008 B 7 1 Solution 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 mathematics course of the University of Cambridge 2015 iii Paper 25 6 Solution Created 2026-10-03 Updated 2026-10-14
A theory is recursively axiomatizable when it has an effective enumeration of axioms, equivalently when its deductive closure is computably enumerable. If the definition requires a decidable axiom set, the equivalent formulation is obtained by replacing an axiom enumerated at stage by a fixed left-associated logical conjunction of copies of it. To recognize a proposed padded axiom, inspect its finitely many possible decompositions into repeated conjuncts and check the corresponding finite enumeration stages. The padding preserves logical equivalence, so the resulting decidable axiom set generates the same theory. In either convention, enumerate formal proofs using the finite sets of axioms seen so far. This effectively enumerates every theorem.
Let be a sound arithmetic theory of the standard natural numbers, sufficiently strong to encode finite computations, proofs and substitution and to establish the diagonal lemma; an extension of Robinson arithmetic suffices. With a semidecidable axiomatization, the arithmetical provability predicate expresses that a proof of the sentence with code exists. A proof certificate can include enumeration stages for its axioms, so this predicate is arithmetically expressible even when the given axiom set is only computably enumerable.
The diagonal lemma produces a sentence such thatHere is the mechanism, including its effectiveness. For the computable substitution function taking a one-variable formula code to the code of that formula with the numeral substituted, let represent its graph. Given , form and let be the code of . The sentence has code . Numeralwise correctness and uniqueness of the represented substitution computation prove . This constructs a fixed point effectively from the code of . Applying it to gives .
If proved , arithmetic soundness would make true, while the existence of that proof would make true. The displayed equivalence would then make false, a contradiction. Thus does not prove . In the standard natural numbers its arithmetical provability predicate is therefore false at this code, so is true. Arithmetic soundness now rules out a proof of as well. Hence is incomplete: neither nor is a theorem, and is true.
For a fixed effective enumeration of computably enumerable sets, a productive set has a partial computable function such thatThe condition applies to every computably enumerable subset, including finite subsets. No condition is imposed on when the inclusion fails.
Let be the set of codes of true arithmetic sentences; numbers which are not sentence codes are excluded. Uniformly in , there is an arithmetic formula expressing : it says that a finite enumeration computation outputs . Apply the effective diagonal lemma to obtain withThe operation producing this sentence code is total computable. Suppose . If , the subset assumption says that is true, while its fixed-point equivalence says it is false, a contradiction. Thus . The same equivalence now says is true, so . We have provedTherefore arithmetic truth is a productive set. This proves productivity of arithmetic truth. It cannot itself be computably enumerable, since taking would contradict the defining property. Applying the productive procedure to the enumerable theorem set of a sound arithmetic theory also gives a true sentence outside that theory. The productive construction does not require the enumerable subset of truths to be a theory or to be deductively closed.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 1 16I Solution Created 2026-09-24 Updated 2026-09-29
The completeness theorem for propositional logic states that for every set of formulae and formula ,With the soundness theorem for propositional logic, this is an equivalence. It is also equivalent to saying that every consistent set of formulae has a model.
The usual countable proof lists all formulae and extends a consistent theory one formula at a time. For an uncountable set of primitive propositions, use the uncountable-language proof of propositional completeness: order the consistent extensions of by inclusion. The union of every chain is consistent, since a proof of a contradiction would use only finitely many assumptions and hence would already lie in one member of the chain. Zorn lemma gives a maximal consistent set in propositional logic . Define a Boolean valuation by exactly when . The usual structural induction on formulae proves the truth lemmaso is a model of .
The propositional compactness theorem says that a set is satisfiable if and only if every finite subset of is satisfiable. Only the forward implication is immediate. For the converse, if had no model, then , so completeness would give . Every formal proof uses finitely many assumptions, so some finite would prove and, by soundness, would have no model, a contradiction.
The decidability theorem for propositional logic says that there is an algorithm deciding whether a propositional formula is a theorem. A formula contains only finitely many primitive propositions, even when the full language is uncountable. Its finite truth table decides whether it is valid, and completeness says that validity is equivalent to theoremhood.
Now let be the given partially ordered set. For every distinct , introduce propositions and . Form a propositional theory containing the following clauses:
- and for distinct ;
- and for pairwise distinct ;
- and whenever in the original order;
- and whenever and are incomparable in the original order.
The first two families say that and encode strict total orders. The third makes both orders extend , while the fourth makes them disagree on every incomparable pair.
Every finite subset mentions only a finite subset . By hypothesis, the induced order on is a two-dimensional poset, so choose two total orders realizing it and assign the finitely many and variables accordingly. This satisfies . Thus every finite subset of is satisfiable, and propositional compactness gives a model of all of .
Define when is true and when is true. The clauses make and total orders on . They both contain the original order, and their intersection contains no incomparable pair. Hencewhich proves the finite-local characterization of two-dimensional partially ordered sets.
Use the numeralwise enumeration in arithmetic convention in the first-order theory: membership supplies a standard stage with a provable enumerating instance, while nonmembership makes every standard-stage instance refutable. Put . By the definition of , the diagonal instance is exactly .
If , then . Numeralwise enumeration in arithmetic supplies a natural number such that . But universal instantiation of gives . This contradicts first-order consistency. ThereforeThis uses the formal proof obligations in numeralwise enumeration in arithmetic in , rather than merely the external assertion that a logical formula has a particular complexity.
Bounded completeness of an arithmetic theory means that every bounded arithmetic first-order sentence true in the standard natural numbers is provable in . If is first-order consistent and proves a false bounded arithmetic sentence , bounded completeness of an arithmetic theory also proves its true bounded negation, a contradiction. Conversely, if every bounded theorem is true, cannot be inconsistent, because inconsistency would prove the false bounded arithmetic sentence . ThusIf is one-consistent and proves with bounded matrix, that existential sentence cannot be false: otherwise every would be a true bounded arithmetic sentence and hence provable, contrary to one-consistency. Thus has Sigma-1 soundness.
Conversely, Sigma-1 soundness excludes inconsistency. If , it supplies a standard witness with true. Bounded completeness of an arithmetic theory proves , so first-order consistency forbids a formal proof of . Hence there cannot simultaneously be refutations of all standard instances. ThereforeFinite blocks of existential logical variables are treated as finite tuples of witnesses, with the same argument.
Omega-consistency forbids a logical formula of any complexity for which and for every standard . The difference from one-consistency is that the matrix is unrestricted. It implies first-order consistency.
For a complete first-order consistent classical first-order theory, theorem membership obeys the ordinary Boolean truth tables. For example, it proves a conjunction exactly when it proves both conjuncts; completeness and first-order consistency also make theoremhood of a negation the complement of theoremhood of the first-order sentence. Omega-consistency additionally gives the witness propertyThe reverse implication is existential introduction. For the forward implication, if no standard instance were provable, completeness would give a formal proof of each negated instance, violating omega-consistency. This works also after replacing additional free variables by numerals.
Now induct on logical formulas with their remaining free variables replaced by standard numerals. At the atomic level, the equivalence between theoremhood and standard truth follows from bounded completeness of an arithmetic theory and bounded soundness of an arithmetic theory from (b). The Boolean steps use the truth-table facts just proved. The existential step uses the witness property and the induction hypothesis on its matrix; universal quantification follows by negation. Hencefor every first-order sentence . Completeness ensures it decides each first-order sentence, and this equivalence ensures every decision is correct.
Start with the supplied bounded-complete, one-consistent first-order theory proving a false first-order sentence . Replace it by its deductive closure, which preserves these properties and contains . Enumerate the arithmetic first-order sentences as . Recursively extend the current first-order theory by either or , choosing an extension which remains one-consistent as permitted by the supplied lemma, and then take its deductive closure. Call the resulting increasing sequence , with the initial first-order theory, and put .
Every stage is still bounded-complete. By (b), every stage has Sigma-1 soundness. If proved a false Sigma-1 first-order sentence, the finite formal proof would use assumptions from one stage , contradicting its Sigma-1 soundness. Thus has Sigma-1 soundness and is bounded-complete, so (b) makes it one-consistent.
This soundness of an arithmetic theory argument is essential: the definition of one-consistency involves infinitely many standard refutations, so it would be insufficient merely to say that a violation has a finite formal proof. What has a finite formal proof is the false existential sentence, and bounded completeness of an arithmetic theory is what turns one-consistency into the needed soundness of an arithmetic theory condition.
The union is deductively closed because each formal proof has finitely many assumptions. It contains either or for every first-order sentence, by the numeralwise enumeration in arithmetic, and contains the false first-order sentence . If it were omega-consistent, (c) would make it correct on all first-order sentences, contradicting . We have therefore constructedOmega-consistency always implies one-consistency by restricting its matrices. This counterexample proves that the converse is strictly false.
Write for the proposed stage-comparison logical formula and fix a standard tuple . If , numeralwise enumeration in arithmetic supplies a standard with . Disjointness gives , so for every standard , in particular . The source's finite initial-segment axiom combines this finite list intoUse as the existential witness to obtain .
If instead , choose with . Disjointness gives refutations of for all , so the finitely many giveFor an arbitrary , the source's comparison axiom gives or . In the first case the first conjunct of the proposed witness condition is false. In the second case witnesses failure of its bounded universal conjunct, since is provable. Generalization over therefore gives .
Thus the logical formula separates from . The formal proof uses the enumerators' numeralwise positive and negative formal proof properties and the two explicit order principles supplied in the source; it does not assume the first-order theory can decide arbitrary unbounded existential logical formulas.
A logical formula weakly defines a total numerical function in if, for every standard input tuple and ,Strong definability of a numerical function additionally requires the internal uniqueness statementTogether with the positive instance, this is equivalent to proving for each standard input. The universal quantifier is the extra strength: it covers nonstandard potential outputs in first-order models of . These are the weak and strong function conventions used here. [ref]
https://www.brucewatkins.org/math/docs/Smullyan.pdf. Gödel's Incompleteness Theorems, printed page99, definition of weak and strong definability of a numerical function of functions
Suppose the graph of the total function is Sigma-1. Its complement is also Sigma-1, sinceReplace the graph assertion on the right by its Sigma-1 definition; existential quantifiers can be collected into one block. Bounded completeness of an arithmetic theory supplies numeralwise stage enumerators for each of these two disjoint complementary sets. Apply (b) to them. Its separating logical formula is provable exactly at the required graph tuples in the positive direction and refutable at all the other standard tuples, proving weak definability of a numerical function.
Using the graph logical formula alone would only supply positive instances from true existential witnesses; the separation construction is what supplies the negative-instance formal proofs without assuming Sigma-1 soundness or completeness for false Sigma-1 statements.
Write for . A standard arithmetical provability predicate obeys the Hilbert-Bernays-Löb derivability conditions:The first condition is a rule about theorems; the latter two are statements proved within the first-order theory. When the terminology also includes external adequacy, require that be true in the standard natural numbers exactly when the logical formula with code has an -proof.
For Peano arithmetic, code finite strings, logical formulas and formal proof sequences by natural numbers. Formal proof checking is effective and has an arithmetized bounded checking relation with its computation data. Existentially assert the existence of a correct formal proof code and any required checking data. The resulting predicate symbol is Sigma-1, and its standard truth means exactly that an actual finite PA formal proof exists. Effective operations on formal proof codes combine an implication formal proof with an antecedent formal proof, and turn a formal proof into a formal proof that its code is a formal proof; PA verifies those constructions. They give distribution and positive introspection, while an actual theorem's finite formal proof gives its internal provability assertion. This is the requested rough construction, with the three internal formal proof properties distinguished from external agreement.
First establish the transfer of provability requested in the hint. The propositional theorem and the derivability conditions giveThe supplied arithmetized deduction equivalence identifies the right-hand provability assertion, within , with . HenceChoose a fixed contradiction for . Part (b) gives , so adjoining gives . The transfer implication now gives .
Apply (b) inside to its own Gödel sentence: it proves . The last provability assertion therefore entailsThus the extension proves the negation of its own Gödel sentence as well. When is first-order consistent, (c) says this phenomenon occurs in a first-order consistent extension; the extension asserts an internal formal proof of contradiction without there being an actual standard formal proof of contradiction.
Take for the standard formal proof predicate symbol and putUse as given the arithmetization of syntax in PA, the derivability conditions, and the diagonal lemma. The latter supplies the fixed point needed in (a), and the former conditions interpret its normal modal distribution, necessitation on theorems and axiom4. Thus the argument in (a) proves the internal Löb implication in PA. With it readsThe inner implication is the first-order consistency first-order sentence , so contraposition givesThis is the arithmetic statement of the second incompleteness theorem proved within PA: if PA is first-order consistent, there is no PA formal proof of its first-order consistency first-order sentence. The displayed implication is a PA theorem without assuming that PA proves its antecedent.
For the corresponding external consequence, if a first-order consistent PA proved , theoremhood would give a formal proof of its boxed assertion. The displayed theorem together with the supposed formal proof of first-order consistency gives its negation, contradicting first-order consistency. Hence an externally first-order consistent PA does not prove its own first-order consistency.
A prime model of a complete theory is a first-order model admitting an elementary embedding of first-order structures into every first-order model of . Let be canonical and . For each closed term , defineEvery element of has a name, so this defines the desired map on all of . If two first-order terms agree in , their logical equality first-order sentence holds in one first-order model of the complete theory and therefore in every first-order model of it; they agree in . This proves well-definedness. If they are distinct in , their inequality holds throughout the complete theory as well, proving injectivity.
For every logical formula and named tuple , the substituted first-order sentence has the same truth value in the two first-order models by completeness of . ConsequentlyThus is elementary. Since was arbitrary, every such canonical first-order structure is prime. This formal proof also handles closed-term generation when function symbols are present; under the constant-name convention one simply uses constants as the first-order terms.
Use the completeness of the first-order theory of dense linear orders without endpoints and its quantifier elimination. After naming finitely many increasing constants, quantifier elimination still holds in the expanded first-order language: treat these constants as fixed parameters when eliminating quantifiers. Every quantifier-free sentence is a Boolean combination of logical equalities and order comparisons of the named constants, all decided by their stated strict increasing order. Hence is complete.
An alternative formal proof of this finite case uses the stated general theorem that a first-order theory in a countable first-order language with only infinite first-order models and a unique countable first-order model is complete: if first-order models disagreed on a first-order sentence, downward Löwenheim-Skolem would give disagreeing countable first-order models. Part (iii) supplies the uniqueness.
Every first-order sentence of mentions only finitely many constant symbols, hence belongs to some . Its truth is decided by , and every first-order model of has a reduct satisfying that finite first-order theory. Thus the larger first-order theory also decides every first-order sentence. The rational-order examples in (ii) establish first-order consistency. ConsequentlyThere is no contradiction with (ii): completeness is agreement on individual finite first-order sentences, while categoricity requires a global isomorphism respecting all constants simultaneously.
Here means a substructure, so the smaller carrier contains all named constants, is closed under every function symbol, and has each relation restricted from the larger first-order structure. First-order term evaluation on tuples from agrees in the two first-order structures. Consequently atomic formulas agree, and induction on Boolean connectives makes every quantifier-free formula agree as well.
Write an arbitrary universal sentence of as with quantifier-free matrix. Every tuple from is also a tuple from , so holds at that tuple in . Quantifier-free agreement transfers it to . Since the tuple was arbitrary, satisfies the universal sentence. ThusAn arbitrary subset without the substructure operations and relation restrictions would not be the hypothesis used by this formal proof.
An arithmetic logical formula is , or bounded, if all its quantifiers are bounded by arithmetical first-order terms. A logical formula has an initial block of existential quantifiers followed by a bounded matrix, up to the usual logical transformations. Soundness of an arithmetic theory at a given level means that every first-order sentence of that level proved by the first-order theory is true in the standard natural numbers. Here -completeness means that every true bounded arithmetic sentence is provable.
A first-order theory is one-consistent if there is no bounded arithmetic formula for which it proves while proving for every standard natural number . This is a restricted form of omega-consistency. In particular one-consistency implies first-order consistency, since an inconsistent first-order theory proves every first-order sentence and its negation.
Suppose a -complete first-order theory is first-order consistent. If it proved a false bounded arithmetic sentence , the true bounded arithmetic sentence would also be provable by completeness, contradicting first-order consistency. Thus is -sound. Conversely -soundness excludes inconsistency because an inconsistent first-order theory proves the false bounded arithmetic sentence . ThereforeIf is one-consistent but proved a false existential sentence with bounded matrix, every standard instance would be true and hence provable. This violates one-consistency. Thus it is -sound. Conversely, -soundness implies first-order consistency by the previous argument, since bounded arithmetic sentences are included at the existential level. If proved , soundness of an arithmetic theory would give a standard witness with true. Bounded completeness of an arithmetic theory would then give , so first-order consistency prevents simultaneous formal proofs of all the negated instances. HenceMultiple existential logical variables can be treated as a finite tuple of witnesses; the same reasoning applies.
The definition of makes the diagonal instance exactly . The representing logical formula therefore has the standard interpretationIf , choose an actual witness to the left-hand existential statement. The bounded arithmetic sentence is true and hence provable by -completeness. But also gives , a contradiction. ThusNow assume one-consistency. It implies first-order consistency, so no formal proof of exists and is false for each standard . Each bounded arithmetic sentence is consequently true and provable. A formal proof of would give a formal proof of while every standard witness instance is refuted, contrary to one-consistency. HenceThe two hypotheses play different roles: ordinary first-order consistency excludes the positive Gödel sentence, while the stronger hypothesis also excludes its negation.
If PA proved , the first assumed property would give , while the equivalence would give . This contradicts first-order consistency. If PA proved , the second assumed property would give , and the reverse implication of the equivalence would give , again a contradiction. HenceThis is the Rosser improvement: its comparison of formal proof codes permits ordinary first-order consistency to exclude both alternatives, without assuming one-consistency.
If PA is inconsistent, every desired conclusion is already a theorem, so it suffices to analyze the first-order consistent case. Use for the bounded arithmetical proof relation and for the code of the negation of the logical formula coded by .
Suppose and let be the code of an actual formal proof. By first-order consistency there is no formal proof of , in particular none with code at most . Thusis a true bounded arithmetic sentence. Bounded completeness of an arithmetic theory proves it in PA, and existential introduction gives .
Conversely suppose and choose an actual formal proof code of that negation. First-order consistency excludes every formal proof of , so each of the finitely many statements for is true and provable. The supplied finite-case theorem permits PA to combine them into the assertion that no formal proof code below proves .
PA also proves . For any candidate formal proof code , this one code already refutes the universal no-earlier-negation condition in the Rosser predicate symbol. For , the finite verification refutes its positive formal proof condition. The supplied order dichotomy and finite-case expansion cover all . ThereforeThe argument uses bounded verification of a finite initial segment and one fixed counter-witness beyond it; it does not infer that PA proves the absence of all ordinary formal proofs merely from first-order consistency.
If PA is first-order consistent and already proves , it cannot also prove . By the correctness of the ordinary arithmetized arithmetical proof relation, .
If PA is inconsistent, it proves by explosion, so an actual formal proof code witnesses in the standard natural numbers. ThusThe hypothesis that is refutable is essential to this first-order consistency characterization for an arbitrary fixed first-order sentence.