Countable infinitary logic 2026-10-06
The logic extends first-order logic by countable logical conjunctions and logical disjunctions. Each formula has finitely many free variables, and quantifier strings are finite. In a countable first-order language, every countable structure has a Scott sentence in this logic that characterizes its isomorphism class among countable structures.
Ehrenfeucht-Fraïssé theorem 2026-10-06
For a finite relational first-order language, with finitely many constants allowed, the Duplicator wins the -round game exactly when the structures are rank-n equivalent. Game-winning implies rank equivalence in arbitrary languages; the converse needs a finiteness condition and can fail even for an infinite unary vocabulary. Over a finite relational vocabulary, winning every announced finite horizon is equivalent to elementary equivalence.
First-order structure Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 21 3 Solution Created 2026-10-03 Updated 2026-10-06
Every countable structure in a countable first-order language has a Scott sentence whose countable models are precisely its isomorphic copies. In particular two countable structures with the same countable infinitary logic sentences are isomorphic. Countability of both structures is essential to the back-and-forth conclusion; the sentence need not exclude uncountable models.
Let be a nonempty countable structure in a countable first-order language. The countable infinitary logic permits countable logical conjunctions and logical disjunctions, but only finite strings of quantifiers and finitely many free variables in each formula. We construct a Scott formula for every finite tuple from and every countable ordinal .
At stage zero, let be the conjunction of all atomic formulas true of and the negations of all atomic formulas false of . Include atomic formulas involving arbitrary terms and constants, not just relation symbols applied directly to variables. There are only countably many such formulas. This complete atomic description ensures that matching tuples determine a partial isomorphism of structures.
At successors putAt a nonzero limit ordinal , put . All these are formulas of countable infinitary logic: each indexing set is countable, and the free variables are only the fixed finite tuple. Rename bound variables when necessary. Transfinite induction also shows .
For tuples of the same length within , define by . Induction identifies this with the usual symmetric back-and-forth method equivalence: the tuples have the same atomic description at stage zero, and at a successor every one-element extension on either side has a matching extension at the previous stage. Thus these are decreasing equivalence relations, simultaneously for every finite tuple length.
There are only countably many pairs of finite tuples in . A pair can cease to be equivalent at most once. The supremum of the first separation stages of all pairs that separate below is a countable ordinal. Choose a countable at least that supremum. No pair can first separate at , soThis justifies stabilization without assuming that all tuples stabilize at one predetermined finite stage.
Now form the following Scott sentence, where the case has no displayed variables or quantifiers:It is a sentence of countable infinitary logic, because the family of all finite tuples is countable. The stabilization above and the truth of show .
Suppose a countable structure satisfies . Start with the empty matching tuples, and maintain . The corresponding conjunct of upgrades this to . The existential conjuncts extend the match by any specified element of . The universal-disjunction conjunct extends it by any specified element of . The atomic formula information makes a new element on one side match a new element on the other, and makes repeated elements agree with their earlier matches.
Enumerate both structures and alternate these two extension steps, including the least element not yet covered at each step. The union is a bijection preserving and reflecting every atomic formula, hence an isomorphism; for function symbols, eventually include both a tuple and the value of its function term to see explicitly that the function is preserved. For finite structures the same construction stops when both are covered. Conversely every isomorphic copy of satisfies , since isomorphisms preserve formulas of countable infinitary logic by induction on their construction. ThereforeIf countable have the same sentences, satisfies this Scott sentence of and is isomorphic to . This proves Scott isomorphism theorem.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 23 1 b Solution Created 2026-10-03 Updated 2026-10-06
Take and the proper filter on a set . In the first-order language with unary predicates , let both factors be one-element first-order structures. Set true and false in the first factor, and reverse these truth values in the second.
The reduced product also has one element . Neither nor holds there: their truth sets are and , neither belonging to . ThusLogical disjunction can therefore break the equivalence. A union can belong to a filter on a set without either summand belonging to it; the corresponding union property does hold for an ultrafilter.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 23 2 a Solution Created 2026-10-03 Updated 2026-10-06
Here is the existential common-substructure test for quantifier elimination. Use a first-order language with a constant symbol, as in the applications below, or the usual conventions for empty generated substructures and truth constants. Let be a first-order theory. Suppose that whenever have a common substructure , then, for every quantifier-free formula and every finite tuple ,The condition is symmetric because it applies also with and exchanged. The conclusion is quantifier elimination for : for every first-order formula there is a quantifier-free formula such thatThe common substructure need not itself satisfy , and witnesses are sought in the whole models, not necessarily in . This test is the QET1 version of the common-substructure test for quantifier elimination.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 23 2 c Solution Created 2026-10-03 Updated 2026-10-06
A torsion-free divisible Abelian group is naturally a vector space over the rational numbers: for and , define as the unique with . Divisibility supplies existence and torsion-freeness supplies uniqueness.
In the usual group first-order language , a model of the universal part of DAG is a torsion-free group which is Abelian. If the language instead uses only , a substructure can be merely a torsion-free cancellative commutative monoid. Handle this convention by first taking its Grothendieck group : its elements are formal differences , withThe cancellative commutative monoid condition makes injective. If , then , and torsion-freeness gives ; hence is a torsion-free abelian group. In the full group language simply take .
For form its rational divisible hullConcretely its elements are fractions with , where if . The canonical embedding of into is injective, and is nontrivial, divisible, Abelian and torsion-free, so it satisfies DAG.
Let be any structure embedding into a model of DAG. Extend it first to formal differences if necessary. Its unique extension to the rational divisible hull sends to the unique element with . This is a group homomorphism fixing the given copy of . It is injective: an element mapped to zero has , hence . Thus every embedding into a DAG model factors through .
The zero case must be treated separately: its rational divisible hull is zero and does not satisfy DAG. Instead choose . Given any nontrivial DAG model , choose ; the map embeds into over zero. Therefore DAG has algebraically prime models, including over the trivial base.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 23 3 c Solution Created 2026-10-03 Updated 2026-10-06
A model companion of a first-order theory , in the same first-order language, is a model-complete theory with the same universal consequences of a theory as :Equivalently, every model of embeds into a model of , and every model of embeds into a model of . The equivalence follows from the diagram embedding criterion for universal theories, which is an application of the compactness theorem. A model companion need not be a syntactic extension of , and uniqueness is understood up to logical equivalence of theories.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 23 5 c Solution Created 2026-10-03 Updated 2026-10-06
A precise countable-language form of the omitting types theorem is the following. Let be a consistent first-order theory in a countable first-order language, and let be a countable family of nonprincipal partial types, each in finitely many variables. Then there is a finite or countably infinite model of omitting all the .
A partial type is a set of formulas jointly consistent with . It is principal if there is a formula such that is consistent andFor a complete type, this is exactly being an isolated type. Nonprincipal means that no such formula exists. A model omits if no tuple in that model satisfies every formula in ; different tuples may fail different members of the type. The model in the theorem need not omit each individual formula everywhere.
For parameter types, use the expanded language naming the parameters. Countability then applies to that expanded language, and hence requires a countable parameter set as well. There is no countability restriction in the finite-satisfiability argument of part (a).
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 23 5 e i Solution Created 2026-10-03 Updated 2026-10-06
Use the first-order language with one constant , take with equality only, and let . SetThis complete type contains and is isolated by that formula. In any first-order structure, at most one element can satisfy . In every , its interpretation of realizes , by elementary equivalence. Hence no elementarily equivalent model has infinitely many realizations of . An algebraic type can have a fixed finite number of realizations in every model.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 135 3 Solution Created 2026-10-03 Updated 2026-10-05
The countable form of the omitting types theorem is as follows. Let be a countable first-order language and a consistent first-order theory in . For any countable family of nonprincipal partial types in finite tuples of variables, there is an at most countable first-order model of omitting all of them. Nonprincipality means that no -consistent first-order formula entails every member of the type modulo . A complete first-order theory with nonisolated complete types is the usual special case; neither an uncountable language nor an arbitrary uncountable family is covered by this statement.
Use the Godel completeness theorem to pass between consistency and the existence of a first-order model. Adjoin a countable stock of new constants. Construct finite conditions with consistent, interleaving three countable lists of requirements: decide each -sentence; provide a fresh constant witness for each existential sentence; and, for each and each tuple of closed terms of its arity, add for some . Sentence decisions preserve consistency by choosing a consistent sign. For an existential sentence , add with fresh for that condition and first-order formula. This is consistent: any first-order model of the old condition can interpret as a witness if one exists, and otherwise arbitrarily in the nonempty domain.
The omission step is the key Henkin omission extension lemma. Let be the logical conjunction of the current finite condition, listing every new constant occurring either there or in . If adding were inconsistent for every , then would entail for each such . Replace the new constants by fresh variables and formIt is consistent with and entails every , contradicting nonprincipality. Hence some omission extension is consistent. The construction need not be computable; countability merely permits all these requirements to be scheduled.
Let be the deductive closure of . It is consistent by the finite character of formal proofs, complete by sentence decisions, and has the Henkin witness property. Its term model consists of closed terms modulo provable logical equality and has at most countably many elements. The truth lemma for a Henkin term model proves that it is a first-order model of . Every tuple in it is represented by closed terms, whose scheduled omission requirement supplies a negated member of each corresponding type. Thus
A universal sentence has the form with quantifier-free , including an empty quantifier block. Embeddings preserve and reflect quantifier-free truth, so universal sentences pass to substructures of a first-order structure. For the converse Łoś-Tarski preservation theorem, let be all universal consequences of an arbitrary first-order theory , and take . We claim is consistent, where the diagram of a structure contains both atomic and negated atomic sentences in constants naming the elements of .
If inconsistent, the compactness theorem gives a finite logical conjunction of diagram sentences for which . The added constants do not occur in , soThis universal sentence belongs to but is false in at the named tuple, a contradiction. The compactness theorem therefore produces containing an isomorphic embedded copy of . The signed diagram ensures a genuine substructure of a first-order structure: functions are preserved, constants are included and relations are preserved and reflected. If the first-order model class of is closed under substructures of a first-order structure, this copy, and hence , is a first-order model of . We have provedNo countability assumption is needed for this second argument. An inconsistent first-order theory is covered as well, with a universally false axiom and an empty first-order model class.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 135 2 Solution Created 2026-10-03 Updated 2026-10-05
Use the following form of the omitting types theorem. Let be a consistent first-order theory in a countable first-order language, and let be a countable family of finite-arity partial types. Suppose each is a nonprincipal partial type: no formula consistent with satisfies for every . Then has a countable model omitting all the .
For the proof, add countably many fresh constants and perform a Henkin construction. Enumerate three kinds of tasks: deciding each sentence, providing a fresh constant witness for each existential sentence, and making every constant tuple omit each of the corresponding arity. Starting with the empty set, keep a finite set such that is consistent. A sentence can be decided in one of its two ways while preserving consistency. For an existential sentence, add with fresh; inconsistency would contradict freshness and the existential sentence itself.
For an omission task at a tuple , let be the conjunction of . Replace its constants by variables, identify the occurrences of the tuple's constants with the corresponding variables , and existentially quantify the other variables. If the tuple repeats a constant, include the corresponding equalities between its variables. This gives with consistent. Nonprincipality supplies such thatis consistent. Reintroducing the constants shows that is a permitted next stage. Thus each constant tuple will fail some formula of each prescribed type.
The union is consistent by the finite character of formal proofs, complete in the expanded language, and has the Henkin witness property. Its term model has closed terms modulo provable equality as elements, and satisfies the truth lemma for a Henkin term model, proved by induction on formulas. It is countable. Every closed term equals a constant in this model: apply the witness task to . Consequently every tuple is represented by a constant tuple and fails a formula of each . This proves simultaneous omission.
For arithmetic, the nonstandard element type isIn a model of Peano arithmetic, an element omits this type precisely when it is one of the standard numerals: arithmetic proves that every element at most equals one of . A model omitting everywhere is therefore isomorphic to the standard structure .
For a complete consistent theory , this gives the particularly useful equivalenceThe first implication is the omitting types theorem. For the converse, if a consistent over the Theory of true arithmetic implied every , completeness would give . A standard witness contradicts the implication .
Completeness matters in this formulation. One must not claim that is automatically nonprincipal over an arbitrary incomplete arithmetic theory. For example, assuming consistency of Peano arithmetic, the formula saying that is the least code of a proof of a contradiction is consistent with that theory, by Gödel second incompleteness theorem, and implies for each standard . It makes principal over that incomplete theory, although its standard model still omits the type. The theorem is a sufficient omission criterion, not a necessary one for arbitrary partial types over incomplete theories.
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 120 2 a Solution 2026-09-28
For a first-order theory in a first-order language , a complete -type is a maximal -consistent set of formulas whose free variables lie among . Equivalently, it chooses exactly one of and for every such formula while remaining consistent with .
An isolated type is isolated by a formula when is consistent andfor every . The type is an omitted type in an -structure when no tuple satisfies every formula in .
Scott isomorphism theorem 2026-10-06
Every countable structure in a countable first-order language has a Scott sentence. Hence countable structures satisfying the same sentences of countable infinitary logic are isomorphic. The proof uses Scott formulas, stabilization on the countable set of finite tuples, and the back-and-forth method.
Scott sentence 2026-10-06
A Scott sentence for a countable structure is a sentence of countable infinitary logic satisfied, among countable structures in the same first-order language, exactly by its isomorphic copies. It may also have uncountable models. Scott formulas and stabilized back-and-forth method equivalences give its construction.