A finite Cartesian product of well-quasi-orderings is well-quasi-ordered in the componentwise order. Every infinite sequence in one well-quasi-order has an infinite nondecreasing subsequence: colour pairs by whether they are ordered, apply Ramsey's theorem, and exclude an all-bad subsequence. Restrict successively to such a subsequence in each coordinate. The same argument, or the infinite pigeonhole principle, proves closure under finite disjoint unions with no cross-component comparisons.
Finite Ramsey theorem Created 2026-09-24 Updated 2026-10-14
Fix positive integers with . There is an integer , depending only on , such that every finite coloringhas a subset of size for which the restriction of a function to is a constant function. Here , and denotes the collection of all -element subsets of , rather than its binomial coefficient cardinality. The notation abbreviates this property. Thus is a homogeneous set for a colouring; when , the monochromatic set consists of its -element subsets, not its individual elements. This is the finite assertion in Ramsey's original Theorem B, p. 267.
For , this is the pigeonhole principle, with sharp threshold . For instance, every red-blue coloring of five objects has three of one color; four objects can split two and two. For , and , the sharp threshold is six, as shown by the Ramsey number for triangles. Coloring pairs makes this a problem about edges of a complete graph. For larger , the analogous viewpoint uses a hypergraph.
The finite Ramsey theorem lets an existence argument discard most of a large finite set while retaining a prescribed amount of uniform structure. Its threshold applies to every coloring; one does not need an assumption that colors were assigned randomly. A diagonal compactness argument deduces finite existence from Ramsey's theorem, but does not by itself identify the smallest threshold. For pairs, a Ramsey number makes that optimization explicit.
Let be a computable increasing finite-stage enumeration of the halting problem set . Color by whether the approximations below differ at stages . This is a recursive two-color partition of triples. An infinite homogeneous set cannot have color one: for fixed , the finite approximation below eventually stabilizes. If its color is zero, choose from that set above an input , then another member ; agreement with arbitrarily large later stages gives . Thus every infinite homogeneous set computes , and none is a recursive set. This makes the failure of an effective version of Ramsey's theorem explicit.
Nash-Williams barrier partition theorem 2026-10-14
Every finite coloring of a barrier in better-quasi-order theory has an infinite restriction on which all barrier members have the same color. It extends finite-dimensional Ramsey's theorem from fixed-length subsets to variable-length initial segments. A proof proceeds by well-founded induction on the initial-segment tree and a fusion construction selecting successively nested infinite tails. It implies that every finite set with the equality order is a better-quasi-ordering. The barrier/front partition proof is given in Section 3.2 of arxiv.org/pdf/1604.05866 .
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 18 3 Solution Created 2026-10-03 Updated 2026-10-14
We prove the labelled version of Kruskal's tree theorem, with labels in a well-quasi-ordering ; the unlabelled result is its one-label case. A label-monotone tree embedding is an injective map of finite rooted trees preserving lowest common ancestors and increasing labels. Its root may map below the host root, and an edge may map to a path. These conventions distinguish rooted-tree homeomorphic embedding from the stricter adjacency-preserving relation, which is not well-quasi-ordered.
We will use two elementary consequences of well-quasi-ordering. Every infinite sequence in a well-quasi-ordering has an infinite nondecreasing subsequence: color pairs by whether the earlier element precedes the later one, apply Ramsey's theorem, and exclude an all-bad infinite set. Restricting successively in each coordinate proves finite product closure of well-quasi-orderings.
For completeness, here is the required proof of Higman's lemma. If finite words over admitted a bad sequence, choose one whose next word always has the least length admitting a bad continuation of the fixed prefix. No word is empty. Write , separating the last letter. The set of prefixes is a well-quasi-ordering. Otherwise select a bad sequence of these prefixes with strictly increasing owner indices ; this is possible because every finite initial set of owners supplies only finitely many prefixes, and a bad sequence cannot repeat a word. Thenis bad. An earlier original word embedding into would also embed into , contradicting the original badness; comparisons inside the new tail are excluded by its choice. But is shorter than , contradicting minimality. Since the prefixes and the last letters are well-quasi-ordered, their product gives with embedding into and . Appending the matched last letters embeds into , the final contradiction. Thus finite words over a WQO are WQO.
Now suppose labelled finite rooted trees admit a bad sequence . Choose it minimally in vertex count at each successive position. Let be all immediate child subtrees of its members. This is a well-quasi-ordering: if not, select a bad sequence of child subtrees with increasing owner indices , and splice it after . Every child subtree embeds into its owner, so a comparison from the prefix to the tail would contradict original badness. The splice is bad and its first replacement is strictly smaller, contradicting the minimal bad sequence choice.
For each , list its child subtrees in any order as a finite word over and record its root label . The product is a well-quasi-ordering by Higman's lemma. Hence some has and a subsequence embedding of into . Match the roots and use the chosen subtree embeddings in distinct target branches. Their union preserves lowest common ancestors and labels, and stretches only edge paths. Thus embeds into , a contradiction. We have proved
To deduce Friedman's finite form of Kruskal's theorem, fix . At position permit unlabelled trees of at most vertices. Up to isomorphism only finitely many trees are possible at each position. Form the finite bad-sequence tree whose nodes are finite bad sequences satisfying these bounds, ordered by extension. It is finitely branching. If there were arbitrarily long admissible bad sequences, König infinity lemma would give an infinite branch, contradicting Kruskal's tree theorem. ThereforeOne can instead use a fixed finite set of labels, giving a correspondingly parameterized finite statement by exactly the same proof. The crucial feature is a uniform bound for each initial size allowance, not merely termination of one chosen sequence.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 21 5 Solution Created 2026-10-03 Updated 2026-10-14
The saturated model condition in degree means that a first-order model realizes every one-variable complete type over a parameter set of size less than . Equivalently every finitely satisfiable such complete type is realized, since it can be extended to a complete type. Without a specified degree, saturated usually means -saturated. Countable saturation means -saturation, including complete types over countably many parameters.
Here is a general saturated elementary extension theorem, with proof: for every infinite regular cardinal , every first-order structure has a -saturated elementary extension. At a stage , list all complete types over its subsets of size less than . There is a set of them, since their formulas lie in a set-sized language. Add a witness constant for each complete type to the elementary diagram of , together with every formula in that complete type evaluated at its witness constant. A finite part mentions finitely many complete types and finitely many formulas from each; each finite conjunction is realizable in , and the witnesses for different complete types are unconstrained relative to each other. Thus the finite part is satisfiable. The compactness theorem produces an elementary extension realizing all those complete types. At limits take elementary unions, justified by the elementary chain theorem.
Iterate for stages and put . If has size below , regularity bounds the stages at which its elements enter, so for some . A complete type over consistent with is finitely satisfiable in : each finite conjunction is an existential formula with parameters from , and elementarity transfers its truth from . The complete type is therefore realized in . This provesFor a singular desired degree, apply the theorem at a larger regular cardinal. If is infinite and an uncountable regular satisfies , with and , the construction can keep every stage of size . There are then at most parameter sets and complete types, and downward Löwenheim-Skolem gives that size after each extension; adding distinct elements initially ensures final size exactly . The resulting model is saturated in the unqualified sense. The cardinal-arithmetic hypothesis belongs to this size refinement, not to the general existence theorem.
An explicit ultraproduct version is useful too. In a countable language let be a nonprincipal ultrafilter on and , where each factor is nonempty. Enumerate a countable finitely satisfiable complete type, including its chosen parameter representatives, as . By the Łoś theorem, the set of coordinates where the first formulas have a simultaneous witness belongs to . PutThese are decreasing members of . At coordinate , let be the greatest with , if there is one. Choose a witness to the first formulas there, and an arbitrary element when there is none. For fixed , every coordinate in has , so the chosen function satisfies on a -large set. Its ultraproduct class realizes the whole complete type. A countable language over a countable parameter set has only countably many formulas, so this proves countable saturation of a nonprincipal ultraproduct over omega.
For NFU, we give the rank-indiscernible construction of an NFU model explicitly. NFU has a unary predicate for sets, atoms have no members, extensionality applies to sets, and comprehension applies to every stratified formula. A stratification assigns integer types to variables so that equality uses equal types and requires . A unary set predicate adds no type difference.
Start with the actual set structure . This structure satisfies extensionality and every pure-membership separation instance: the subset defined in a set of rank below still has rank below . We do not assert that satisfies replacement or all of ZFC. Expand it by Skolem functions. In it use the sequence of rank objects , . For two such objects in sequence order, we havewith quantifiers in . The second statement holds because every subset of belongs to , and the later rank is at least .
Introduce constants , , and require them to be order indiscernibles in the Skolem language, satisfying these two assertions whenever . Also require for every ; this fixed rank object is first-order definable in . Every finite part of these requirements together with is satisfiable: color finite increasing tuples of the original rank sequence by the truth values of the finitely many formulas mentioned, and use Ramsey's theorem to get a homogeneous subsequence. The rank assertions hold for every increasing tuple there. The compactness theorem gives a model of the full theory. In its Skolem hull generated by the , the integer shift extends to an automorphism with , by the term-transport proof of the Ehrenfeucht-Mostowski theorem. Thus still satisfies extensionality and all pure-membership separation instances, andThis is a set-sized first-order model; no satisfaction predicate for a proper-class universe is being assumed.
Externally let . The automorphism bijects onto . Interpret a typed structure with sort equal to . At sort , declare a set exactly when ; otherwise it is an atom. Define adjacent-sort membership byThe guard is necessary: a typed atom might have some ordinary -members in , and those must not become its typed members. Set-extensionality follows from extensionality in , because the ordinary members of a typed set all lie in . For any typed formula on sort , its quantifiers can be restricted to the corresponding , its set predicates replaced by subset assertions, and its memberships replaced by the guarded relation. This is an ordinary pure-membership formula of with finitely many parameters. Separation gives its extension , and the displayed closure assertion gives . It is therefore a typed set witnessing comprehension. The automorphism shifts these sorted domains and preserves the set flags and guarded memberships.
Collapse the types onto . DefineObjects not satisfying have no -members. If two sets have the same -members, their images under are subsets of with the same ordinary members, so are equal by extensionality of ; injectivity of gives equality of the original objects.
To verify every stratified comprehension instance, assign a variable its stratification type and translate its value to . Equality is preserved. An atomic translates to the guarded adjacent-sort membership because ; the unary predicate translates to . Induction on formulas, using the domain bijections for quantifiers, preserves truth. If the free variable has type , typed comprehension produces its extension , with . Put . Then holds, and for every ,This is exactly the required NFU set. No formula containing the external automorphism has been used in a separation or comprehension scheme; only transports values after the pure formula is formed.
The construction also permits the usual infinity requirement. The ordinary and its successor graph are definable in , hence fixed by , and lie below , so belong to all the required domains. Under , the members of are still its ordinary -members. The new Kuratowski pair satisfiesSince , membership of this pair in under is equivalent to . Thus is an internal injection of into itself omitting zero, giving a Dedekind-infinite set.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 24 4 Solution Created 2026-10-03 Updated 2026-10-14
Use the rooted-tree homeomorphic embedding relation: an injective map of vertices preserves lowest common ancestors, so edges may become paths and the source root may map below the target root. We prove the stronger labelled statement for labels in any well-quasi-ordering , with labels increasing under the embedding. Forgetting labels gives Kruskal's tree theorem.
First every infinite sequence in a well-quasi-ordering has an infinite nondecreasing subsequence. Colour its index pairs according as the earlier term is or is not below the later term. Ramsey's theorem gives an infinite constant-colour subsequence; the bad colour would contradict well-quasi-ordering. Applying this successively in each coordinate proves finite product closure of well-quasi-orderings.
We need Higman lemma with its proof. Order finite words over by subsequence embedding with increased letters. If there were a bad sequence, choose one minimally: at each position choose a shortest word admitting a bad continuation of the fixed prefix. No word is empty. Write , separating the last letter, and choose with . ConsiderAn earlier prefix word cannot embed in a later , since it would then embed in . Nor can embed in : adding the comparable last letters would embed in . Thus the displayed sequence is bad, contradicting minimality at , since is shorter. Finite words over a well-quasi-order are well-quasi-ordered.
Now suppose labelled rooted trees admit a bad sequence , chosen minimally in vertex count at each position. Let consist of all proper rooted subtrees of these trees, rooted at a descendant and containing all its descendants. We claim is well-quasi-ordered. Otherwise take a bad sequence from . Only finitely many subtrees come from any fixed finite prefix of the 's, and a bad sequence cannot repeat an object. Thin it so that comes from with . The sequenceis bad: would imply , since a rooted subtree embeds in its host; comparisons within the 's are excluded by their choice. But is strictly smaller than , contradicting minimality. This proves the claim.
Choose an arbitrary ordering of the children of each . Record its root label and the finite word of rooted child-subtrees:By Higman lemma and finite product closure, two records, with indices , are comparable. Map the root of to the root of , and map its selected child-subtrees into the distinct selected branches of . Within a branch the embeddings preserve lowest common ancestors; between different branches both lowest common ancestors are the roots. Labels increase everywhere. This gives , contradicting badness. Finite labelled rooted trees are well-quasi-ordered by label-monotone homeomorphic embedding. In particular, this proves the unlabelled theorem. A root-preserving variant follows by giving the root a special incomparable label unavailable at nonroot vertices; the general labelled theorem then forces root to root. Adjacency-preserving embeddings are a different, more restrictive relation and do not satisfy the same assertion.
For Friedman's finite form of Kruskal's theorem, fix and consider finite bad sequences satisfying , with indices starting at . Their prefixes form a finite bad-sequence tree. At each depth there are only finitely many possible unlabelled tree isomorphism types below the size bound, so this tree is finitely branching. If bad sequences existed at every finite length, König infinity lemma would yield an infinite branch, hence an infinite bad sequence of rooted trees, contrary to what was just proved. ThereforeThe same proof works with any fixed finite label set. The finite size bounds are what make the bad-prefix tree finitely branching; the proof does not claim a small effective numerical bound.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 27 9 Solution Created 2026-10-03 Updated 2026-10-14
We give a relative consistency proof: a model of ZFC yields a model of NFU. This proves the requested consistency relative to the usual background set theory; it does not claim the optimal, much weaker consistency bound for bare NFU.
Recall that New Foundations with urelements has a unary set predicate , atoms without members, extensionality restricted to sets, and comprehension for every stratified formula. Stratification assigns integer types to variables, with equal types at equality and adjacent types at membership. We construct a model of simple typed set theory with atoms with a type-shifting automorphism, then identify its types using that automorphism.
Start with a model of ZFC and a Skolem expansion of it. By the compactness theorem there is a model of the same expanded theory with an increasing integer-indexed order-indiscernible sequence of ordinals , all above . Here is the finite-satisfiability argument. A finite fragment names only finitely many and asks for equal truth values of finitely many formulas on increasing tuples. In the starting model choose an infinite increasing sequence of ordinals above . Colour its finite subsets by these truth vectors, successively treating each tuple length. The Ramsey's theorem supplies an infinite homogeneous subsequence for the finitely many colours and arities. Its first required number of elements interprets all named and satisfies that fragment. Compactness gives the entire sequence. This argument works for the countable expanded language because each fragment uses only finitely many formulas.
Replace by the Skolem hull of the . The mapis well defined by indiscernibility: equal terms remain equal after shifting their increasing lists of indices. The same argument preserves every formula. Shifting indices backwards gives its inverse, so is an automorphism of the hull, and . The Skolem hull is elementary by its witness functions. This is a concrete Ehrenfeucht-Mostowski model; it is not an elementary class self-embedding of the actual well-founded universe.
Set , interpreted externally as the objects belonging to that internal rank segment, for every integer . At type declareand define adjacent-type membership byThe members of a type- set are exactly a subset of ; a type- atom has no -members. Every internal subset of is an object of , since . Extensionality for sets is inherited from . For a typed formula involving finitely many types, restrict its quantifiers to the corresponding internal and express each and by the displayed definitions. Separation in gives the required subset of , which represents its comprehension at type . This verifies the typed theory even though many higher-type objects are atoms. The automorphism carries to the next type.
On domain , define andIf is false, is false, so has no -members. For sets , equality of their -extensions gives equality of the typed sets and hence . To check stratified comprehension, translate a variable of type into . The automorphism laws make membership and equality translate exactly. A stratified predicate on a variable of type zero defines a typed subset of , represented by a set at type one. Then has -extension exactly that predicate. A uniform type shift handles any other type assigned to the comprehended variable. The resulting untyped structure is a model of NFU.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 25 1 Solution Created 2026-10-03 Updated 2026-10-14
The arrow in the original PDF permits partial functions. A partial computable function is computed by a finite program which halts with the specified value on every input in its domain and diverges on inputs outside the domain. A total computable function is the special case with full domain. Coding finite tuples by a primitive recursive pairing function identifies the different finite arities effectively, without identifying total and partial computability.
One precise machine model is a Turing machine. Its finite transition rules and configurations admit effective numerical coding. Bounded simulation is primitive recursive, and unbounded execution gives the partial result. Equivalently, start from zero, successor and projections and close under composition, primitive recursion and unbounded minimization. The Kleene normal form theorem makes the equivalence concrete:where is a primitive recursive predicate checking a coded halting computation and reads its output. If no computation exists, the minimum and hence the value are undefined. Checking a finite history is effective because every consecutive configuration must obey one of the finitely many transition rules.
The universal partial computable function evaluates the program indexed by on an input. The S-m-n theorem says that fixing finitely many input parameters can be done by a total computable operation on program Gödel numbers: a new program stores those parameters and calls the original universal evaluator. These facts explain both universal simulation and uniform reductions. A set is computably enumerable when it is the domain of a partial computable function, equivalently the range of an effective enumeration. It is recursive when its characteristic function is total computable. A set is recursive precisely when it and its complement are computably enumerable: dovetail the two enumerations to decide each input.
The diagonal halting problem is computably enumerable but not recursive. A total decider would yield a program which, on , diverges if the decider says and halts otherwise. Applying this program to its own index gives a contradiction. There is likewise no total computable universal listing of all total computable functions: the diagonal function would be total and absent from the listing.
Here is a full proof of the Rice theorem. Let be a nonempty proper class of partial computable functions whose property depends only on the function, not its program. First suppose the everywhere-undefined function is not in , and choose a program for a function . Given an index , construct uniformly a program which on first waits for to halt and, only then, simulates . The S-m-n theorem gives a total computable index map . If , then ; if , then . ThusA decision procedure for the property would decide , impossible. If , apply the same argument to its nontrivial complement. Every nontrivial extensional property of partial computable functions has an undecidable index set. Totality, having finite domain, and taking a particular value somewhere are examples. A syntactic property such as program length is not covered; nor does the theorem say that no individual program's behaviour can be established.
Self-reference can also be made effective. For a total computable index transformation , let be an index for the program which first computes and then runs the program with that resulting index on its own input. The S-m-n theorem makes total computable. Choose an index for the total function , and put . ThenThis proves the recursion theorem: every effective transformation of programs has a fixed point at the level of the function computed, though not necessarily at the level of its numerical code.
Finally, consider the Jockusch triple coloring computing the halting set. Fix computable finite approximations with union . For , defineThis is a total recursive two-coloring because both stages are finite computations. Suppose is infinite and homogeneous. Its color cannot be one: fix , wait until every enumeration below has stabilized, and choose later from beyond that stage. Their color is zero.
If has color zero, it computes . On input , use to find and in . For arbitrarily large with , homogeneity gives . Taking stages sufficiently large to reach the final finite approximation gives . Consequently membership of in is decided by the finite stage . A recursive would therefore make recursive, a contradiction. There is a recursive partition of triples with no infinite recursive homogeneous set. This is the nontrivial finite-color meaning of the partition of an infinite domain; if “infinite partition” meant infinitely many colors, the coloring by the least member would already give a trivial example. Ramsey's theorem still guarantees infinite homogeneous sets for the displayed two-coloring, but every such set is computationally nontrivial.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 25 4 Solution Created 2026-10-03 Updated 2026-10-14
A useful precise form of the Ehrenfeucht-Mostowski theorem is this: for an infinite structure and any linear order , a model of can be generated as a Skolem hull by distinct order indiscernibles . Every order automorphism of extends to an automorphism of that hull in the chosen Skolem language. One may first name all elements of , giving an elementary extension containing the original structure. The generation and uniqueness assertions concern this specified expansion, not arbitrary automorphisms of its reduct.
Choose a Skolem expansion : for each existential formula add a function selecting a witness whenever one exists. Introduce constants for . Take the theory of , distinctness of these constants, and all equivalencesThe formulas here are in the fixed expanded language, without the newly added as extra parameters. If naming , use its complete elementary diagram and allow those original names in the formulas.
Every finite fragment has a model by Ramsey's theorem. Only finitely many formulas and constants occur. Take a sequence of distinct elements of . For each arity appearing, color the increasing tuples from this sequence by the finite vector of truth values of all formulas of that arity. Successive Ramsey thinning gives an infinite subset homogeneous for each of these finitely many colorings. Assign the finitely many constants in increasing order to distinct elements of this subset. This satisfies every displayed equivalence in the fragment; the original theory is satisfied because the underlying structure remains . Compactness now gives a model of the full theory, with the required order-indiscernible sequence.
The substructure generated by the constants under the Skolem functions is elementary: any existential formula with parameters which are terms in the generators has its Skolem witness in that same hull. If is an order automorphism of , defineIndiscernibility makes this well-defined, by applying it to the equation between any two term representations using the increasing tuple of all their indices. The same argument preserves every relation and function; supplies the inverse. It is unique in the generated Skolem structure. This completes the Ramsey proof, rather than stopping at the existence of indiscernibles.
For simple typed set theory with atoms, use sorts and membership only from to . A set predicate distinguishes sets from atoms, extensionality compares sets of the same positive type, and comprehension produces in type every subset of defined by a well-typed formula. Atoms have no members. First-order models use Henkin semantics; they are not required to have their next domain equal to the full external power set. Typical ambiguity is the schema for each closed sentence, where every sort index in is raised by one.
We show finite satisfiability of this entire typed theory with ambiguity. Choose a list of ranks above , spaced by at least two. For a finite increasing selection of ranks , letwhere is the set of objects declared to be sets at type . Membership from to is ordinary membership restricted to objects of ; all other type- objects are atoms. The spacing puts inside . Thus comprehension and set extensionality hold exactly, and atoms have no typed members. There are infinitely many objects at every visible type, so any usual typed infinity requirement also holds.
The auxiliary rank provides a uniform interpretation if a set predicate is allowed at type zero; no type-minus-one domain is used in the theory. This avoids artificially declaring all type-zero objects to be atoms, which would not be invariant under type-raising. If the language has no type-zero set predicate, simply ignore this auxiliary interpretation.
A finite set of ambiguity instances uses finitely many closed sentences of bounded highest type, say at most . Color increasing -tuples of ranks by their finite truth vector in the structure with visible domains and the auxiliary preceding rank. Ramsey's theorem gives an infinite homogeneous rank set. Choose consecutive ranks from it and build the hierarchy on all these ranks. The first window evaluates each original sentence; shifting the window one place evaluates its uniform type-raise. Homogeneity makes the truth vectors equal. All finite typed axioms and the selected ambiguity instances therefore hold together. Choosing large enough covers every sort needed by the finite fragment. Many-sorted compactness, equivalently ordinary first-order compactness after encoding sorts, yieldsThis is a model existence argument in the ambient set theory; no equality of adjacent type cardinalities is claimed. The gaps between ranks supply atoms, and the ambiguity is about truth of sentences, not a bijection between domains.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 25 6 Solution Created 2026-10-03 Updated 2026-10-14
We prove the Ehrenfeucht-Mostowski theorem by ordered products of ultrafilters, without using Ramsey's theorem. Choose a Skolem expansion of the infinite structure and distinct elements . Fix a nonprincipal ultrafilter on .
For a finite increasing subset of the desired index order , define the ordered Fubini product of ultrafilters on byThe notation means that the set of satisfying belongs to ; the leftmost quantifier is outermost. Upward closure and intersection follow successively at each coordinate, and applying complement at each step proves the ultrafilter dichotomy. Products are ordered; no false claim of symmetry is needed.
Put , with . If , pullback of a function by coordinate projection inducesFor a cylinder condition involving only coordinates in , deleting the unused ultrafilter quantifiers makes its membership in exactly its membership in . The Łoś theorem therefore makes an elementary embedding, not merely a homomorphism. The projection identities give .
Take the directed limit of this system: elements from two stages are identified if their images agree at a common larger finite stage, and formulas are evaluated at such a stage. Elementary coherence makes this well-defined. It also makes each stage elementary in the limit: a formula uses finitely many parameters, and an existential witness at a later stage can be pulled back at the level of existential truth because the transition maps are elementary. Denote the limit by .
For each , let be the limit image of the coordinate function . These elements are distinct. For , after fixing , equality holds for at most one , a set not in ; hence equality fails in the two-coordinate ultrapower and therefore in the limit.
For any increasing , Łoś evaluatesThe right-hand side depends on the formula and the number of increasing coordinates, not their particular indices. Thus is order-indiscernible for every formula of the expanded language simultaneously; no preliminary homogeneous thinning is used. If elements of were named before expanding, the same computation gives indiscernibility over those names and the initial stage embeds the original structure into the limit.
The Skolem hull of these generators is elementary by the witness property. Transporting the generators by any order automorphism of transports every term, with well-definedness and relation preservation supplied by the formula equivalence just proved. The inverse transport supplies an inverse automorphism. The ordered-ultrapower construction gives the full Ehrenfeucht–Mostowski model and its order automorphisms without Ramsey's theorem.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 20 6 Solution Created 2026-10-03 Updated 2026-10-14
For the Ehrenfeucht-Mostowski theorem, let be an infinite first-order structure and any linear order. Choose a full Skolem expansion : add witness functions for existential formulas, repeat in the expanded languages, and take their union. We will construct a model of its theory containing distinct generators , , forming an order-indiscernible sequence.
Adjoin the elementary diagram of , the inequalities for , and for every expanded-language formula and every two increasing -tuples of indices, the sentencesEvery finite subcollection is satisfiable in . To prove this, choose a countably infinite sequence of distinct elements of , and for each of the finitely many relevant arities color its increasing index tuples by the finite vector of truth values of the formulas of that arity. Repeated applications of the Ramsey's theorem give an infinite subsequence homogeneous for all these finitely many finite colorings. Interpret the finitely many mentioned by its elements in their index order. All indiscernibility and distinctness constraints hold, and the finite diagram fragment holds because the ambient structure is still .
By compactness theorem, a model of the full enlarged theory exists. Its Skolem hull generated by the is elementary: whenever an existential formula with parameters in holds in , its chosen witness function returns a value in , so the Tarski-Vaught test applies. Its reduct is a model of . If the index order has size , the hull has size at most , and it contains distinct generators.
Every order automorphism of induces the automorphismTo check well-definedness, write any two terms being compared over the same increasing list of their generators. Their equality is an expanded-language formula; indiscernibility of the order-indiscernible sequence preserves its truth under . The same argument preserves each relation, and the term construction preserves the functions. Applying gives the inverse. The extension is unique in the specified Skolem language since every hull element is a term in the generators; no uniqueness among all automorphisms of the reduct is being asserted. This proves the Ehrenfeucht-Mostowski theorem, including its usual automorphism consequence.
For simple typed set theory with atoms, use sorts , predicates for sets, and typed membership from sort to sort . Atoms have no members, extensionality compares sets, and every well-typed formula defines a set of the next sort. Typical ambiguity is the schema for every closed typed sentence, where the superscript raises all types by one.
Here are concrete full typed models before imposing the ambiguity schema. Choose increasing natural numbers and setThe auxiliary merely interprets the set predicate at the lowest sort. Define typed membership byThen the other objects of are atoms, regardless of their old membership. Every subset of has its representative in , giving comprehension even for formulas with higher-sort quantifiers and parameters. Extensionality holds for the set representatives and atoms have no typed members. The rank gaps leave infinitely many atoms at each sort, and all sorts are infinite.
Consider finitely many ambiguity instances with unraised sentences , and choose a fixed window length sufficient to include every sort used and its auxiliary predecessor. Color every increasing -tuple of natural numbers by the vector of truth values of these unraised sentences in its finite rank-window interpretation. There are only colors. The Ramsey's theorem gives an infinite homogeneous set. Choose successive points from it. The first points and last points have the same color, while the latter interpretation of is exactly the former model's interpretation of . The auxiliary predecessor shifts too, so this remains true for sentences mentioning the lowest set predicate. Extend the chosen rank sequence arbitrarily to interpret the remaining sorts. This yields a model of typed set theory satisfying all the specified ambiguity instances.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 130 1 ii Solution Created 2026-10-03 Updated 2026-10-05
Pull the given finite coloring back to a finite coloring of unordered pairs by puttingThe ordering makes this a well-defined function on the edges of a complete graph. By Ramsey's theorem, some infinite set has all its pairs of one color under . ConsequentlyPossible coincidences between these products cause no difficulty, since the original finite coloring assigns each positive integer a single color.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 130 1 i Solution Created 2026-10-03 Updated 2026-10-05
Write and let be the given finite coloring of the edges of the complete graph on the positive integers. Construct an increasing sequence and nested infinite sets as follows. Set . Having chosen , take , partition by the color of , and use the infinite pigeonhole principle to choose an infinite set on which this color is constant, say . Every element of exceeds .
The infinite pigeonhole principle applied again to gives an infinite set of indices and a color such that for all . For in , nesting gives , so . Thus the infinite set is a monochromatic complete graph:This proves the required infinite case of Ramsey's theorem; finiteness of the color set is used at both applications of the infinite pigeonhole principle.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 130 1 a Solution Created 2026-09-24 Updated 2026-09-25
Ramsey's theorem for -sets says that every finite coloring of has an infinite monochromatic set. We prove it by mathematical induction on . The case is the infinite pigeonhole principle. Suppose the result holds for , and let . Choose , then use the induction hypothesis on the coloring to obtain an infinite set on which this color is constant, say . Inductively chooseso that for every . Some color occurs for infinitely many . If are the corresponding indices, every -set from has color : take its least-indexed element , after which its other elements lie in . This proves the theorem.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 130 1 b Solution Created 2026-09-24 Updated 2026-09-25
Suppose the Finite Ramsey theorem failed for fixed positive integers . For every choose a -coloring with no monochromatic -set. There are only finitely many colorings of , so an infinite subsequence of the agrees there. Pass to a further infinite subsequence agreeing on , and continue. The diagonal argument produces compatible colorings such that and no has a monochromatic -set.
Define whenever . Compatibility makes this a well-defined finite coloring of . By Ramsey's theorem it has an infinite monochromatic set, whose first elements contradict the defining property of a sufficiently large . This compactness argument proves the finite statement.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 130 1 c i Solution Created 2026-09-24 Updated 2026-09-25
Let be the given finite coloring. Color each -element subset of byBy Ramsey's theorem there is an infinite set whose -element subsets all receive the same induced color. Enumerate it increasingly as . Then every sum with has that color. The argument works for every positive integer ; primality is not needed for this part.