Canonical first-order structure 2026-10-31
A canonical first-order structure is generated by closed-term names: each element is the interpretation of a closed term. In a first-order language without function symbols this says each element is named by a constant. The constant-name convention for canonical first-order structures agrees with this one in the function-free setting. Logical equality identifies different names for the same element.
Continuum many one-types of the integer ring 2026-10-31
For every subset of the standard prime numbers, prescribe exactly which of those primes divide a nonzero element. Every finite prescription is realized by the product of its finitely many positive divisibility requirements. Compactness theorem extends each prescription to a complete one-type of the complete theory of the integer ring. Different subsets give incompatible partial types. The countable first-order language supplies the matching upper bound.
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-10-14
Full set of first-order sentences 2026-10-31
A full set of first-order sentences has existential witnesses among names in its own first-order language: if it proves an existential sentence, it proves some closed-term instance of the matrix. For a deductively closed set this may be stated by membership of the first-order sentences. In a function-free first-order language the witness is a constant symbol. A first-order consistent complete full first-order theory has a canonical term model.
Function symbol 2026-10-31
A function symbol is part of the syntax of a first-order language, with a specified finite arity. In a first-order structure it is interpreted as a function from the corresponding finite power of the domain into the domain. Applying it to the appropriate number of first-order terms forms another term. The symbol itself is distinguished from its interpretation in a particular structure.
Ground-term substructure 2026-10-31
The values of all closed terms in a first-order structure form a substructure when the first-order language has at least one constant. The constant ensures nonemptiness, and applying a function symbol to closed-term values again gives a closed-term value. Relations are restricted from the ambient first-order structure. Every universal sentence true in the ambient first-order structure remains true in this substructure.
Herbrand disjunction for a universal theory 2026-10-31
If a universal first-order theory in a first-order language with a constant entails an existential sentence with quantifier-free matrix, it entails a finite disjunction of closed-term instances of that matrix. Otherwise a first-order model of the first-order theory and all negated ground instances would have a ground-term substructure satisfying the first-order theory. An existential witness there is a tuple of closed-term values, contradicting its negated ground instance. Compactness theorem extracts finitely many instances.
Mathematical logic Created 2026-09-24 Updated 2026-10-18
Mathematical logic studies formal languages, formal proofs, model theory, computability theory, and the foundations of mathematics. It makes the rules of reasoning explicit enough that reasoning itself becomes an object of mathematics. Proof theory studies deductions; model theory studies interpretations in which statements hold.
Three questions organize the subject: is an expression a well-formed first-order formula, is it true in a specified first-order structure, and does it have a formal proof from specified axioms? These questions are distinct. For example, is a first-order sentence in an appropriate first-order language; it is false in the natural numbers but true in the rational numbers, with .
The beauty of mathematical logic is that the same logical connectives and rules of universal quantification and existential quantification organize arguments across mathematics. Classical propositional logic uses two truth values; Intuitionistic propositional logic interprets logical implication through constructions on proofs, without unrestricted law of excluded middle. This proof-based framework is developed in Frank Pfenning, Natural Deduction, sections 1–3.
Morleyization 2026-10-31
Morleyization adds a predicate symbol for each first-order formula and an axiom equating that predicate symbol with its defining logical formula. Every original first-order model has a unique expansion. Translating an expanded logical formula back to the original first-order language and then using its named predicate symbol gives quantifier elimination. Completeness of the original first-order theory implies completeness of the expanded first-order theory.
Omega-stability of a theory 2026-10-31
A complete theory in a countable first-order language is omega-stable if over every countable set of parameters it has only countably many complete one-types. The theory of a free bijection is an example: a new point is either a specified integer translate of a parameter or lies in a new orbit. It is omega-stable but not omega-categorical.
Parameter-free definability 2026-10-31
A definable set has parameter-free definability when its defining first-order formula uses only the original first-order language, with no additional constants naming elements. Constants already present in the language are allowed. Every such set is invariant under all automorphisms of a first-order structure. For example, zero in the constant-free additive integers is defined by , while the singleton containing one is not parameter-free definable because negation is an additive automorphism moving it. Invariance is a necessary condition in every structure, and becomes sufficient for finite sets in a countable omega-saturated model.
Past exam of the logic and set theory course of the University of Oxford 2010 A 1 a i Solution 2026-10-31
The alphabet of a first-order language separates logical symbols from nonlogical symbols. In the standard presentation here the logical symbols are the variables , equality , negation , logical implication , the universal quantification , and the punctuation symbols parentheses and comma. The nonlogical symbols are constant symbols, function symbols of each specified finite arity, and predicate symbols of each specified finite arity, such as and .
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 24 7 Solution Created 2026-10-03 Updated 2026-10-14
An ultraproduct converts coordinatewise finite information into a single first-order structure. Let be nonempty structures in a common first-order language, and let be an ultrafilter on . In , setThe ultraproduct has these equivalence classes as its elements. Functions are interpreted coordinatewise; a relation holds of classes exactly when it holds on a -large set of indices. Intersecting finitely many large agreement sets shows that these interpretations are independent of representatives.
The Łoś theorem, which explains the construction's usefulness, saysHere is the proof. Induction on terms establishes the coordinatewise interpretation of atomic formulas. Finite intersections handle conjunction, and the ultrafilter property handles negation, since precisely one of a set and its complement is large. For an existential quantification, a witness class gives coordinate witnesses on a large set. Conversely, when the coordinate existential truth set is large, select a witness in each of those structures and a default element elsewhere. Its class is a witness in the ultraproduct. This uses choice. Structural induction on formulas now proves the theorem, with universal quantification obtained by negation.
Compactness. If every finite subset of a first-order theory has a model, take to be the finite subsets and choose . The cones for finite have the finite intersection property. Extend their filter to an ultrafilter by the ultrafilter lemma. For each , its cone is large, so the Łoś theorem makes the ultraproduct satisfy . This proves the compactness theorem, including theories of arbitrary set size.
Elementary extensions and nonstandard elements. An ultrapower uses a fixed structure at every coordinate. The diagonal map sending to the class of the constant function is an elementary embedding by the Łoś theorem. For a nonprincipal ultrafilter on , the class of in an ultrapower of the natural numbers exceeds every standard integer, because each corresponding tail is large. In an ultrapower of the real ordered field, the reciprocal of this element is positive and smaller than every positive standard reciprocal integer: an infinitesimal. These examples implement ordinary finite statements in a larger structure without claiming that every external subset or second-order assertion transfers.
Saturation. Such an ultraproduct over is countably saturated. To see the actual diagonal argument, list a finitely satisfiable type with parameters in the ultraproduct and fix representatives for those parameters. For each , the set of coordinates admitting a simultaneous witness to its first formulas belongs to by the Łoś theorem. Arrange that the decrease and put . The decrease, belong to , and have empty intersection. At coordinate , choose a witness to the first formulas, where is the largest with , or choose a default element if there is no such . For each fixed , on the large set . Therefore the resulting class realizes every formula. This proves countable saturation of an ultraproduct over omega; it does not assert saturation at all larger cardinalities.
Algebraic limits. Take finite fields indexed by the primes and a nonprincipal ultrafilter. Their ultraproduct is a field of characteristic zero: for every fixed positive integer , only finitely many primes divide , so on a large set. Every first-order sentence true in all finite fields holds in this infinite field, and more generally so does any sentence true for all but finitely many of the factors. This is a way to create an infinite field retaining uniform first-order information from finite fields. It does not make the field algebraically closed: the first-order sentence that every element is a square already fails in infinitely many of the factors.
Large cardinals. A countably complete ultrafilter gives a well-founded membership ultrapower of the universe. If it had an infinite descending chain represented by , each setwould be large. Countable completeness makes nonempty, giving an actual infinite membership descent at any index in the intersection, contrary to foundation. The Mostowski collapse therefore gives a transitive target and an ultrapower embedding .
For a measure on a measurable cardinal , every function with is constant on a large set: otherwise intersect the fewer than complements of all its fibres. Consequently fixes the ordinals below . The class of the identity function is below and above every constant class below , since all tails are large. Thus and its critical point is . Fine ultrafilters on that are normal ultrafilters on small subsets and kappa-complete yield the stronger embeddings witnessing supercompact cardinals.
These applications share a single principle: an ultraproduct preserves precisely the first-order information seen by its ultrafilter. Principal ultrafilters merely select a factor; nonprincipal ones can produce new sizes, elements and saturation. Existence of the needed ultrafilters and selection of coordinate witnesses are set-theoretic assumptions, and changing the ultrafilter may change the resulting model.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 20 3 Solution Created 2026-10-03 Updated 2026-10-14
Here and throughout, a filter on a set is proper: it contains the whole underlying set, excludes the empty set, and is upward closed and closed under finite intersections. An improper filter cannot be extended to a proper ultrafilter.
Order the proper filter extensions of by inclusion. The union of a chain is again a proper filter on a set: any two members already occur in one member of the chain, where their intersection belongs; the empty set never appears. By Zorn lemma, take a maximal proper extension . If , adjoining must make the generated filter improper, so some has . Upward closure then gives . Exactly one of belongs to , proving the ultrafilter lemma.
Let be nonempty structures for a common first-order language, and let be an ultrafilter on the index set . In the ultraproduct , identify functions when ; interpret function symbols coordinatewise and relations by membership of their coordinate truth sets in . The Łoś theorem states, for every first-order formula ,Changing representatives changes a coordinate truth set only outside a member of , so the definitions are well defined.
Prove the theorem by structural induction on formulas. An induction on terms gives , and therefore the required equivalence for atomic equality and relation formulas. For conjunction the truth set is an intersection, and a finite intersection belongs to a proper filter on a set exactly when each constituent does. For negation it is a complement, and the ultrafilter decides exactly one of a set and its complement. These prove the Boolean induction steps.
For the existential step, a witness in gives, by induction, a member of on which holds. It is contained in the coordinate existential truth set, so that set belongs to . Conversely, ifchoose a coordinate witness for , and any element of the nonempty factor otherwise. Then the truth set of contains . Induction gives a witness in the ultraproduct. Universal quantification follows from negation and existence. This completes the actual proof of the Łoś theorem.
For the compactness theorem, take to be the set of finite subsets of , and choose a model of each such subset. The conesare nonempty and satisfy . They generate a proper filter on a set, which extends to an ultrafilter by the proved lemma. For every , the coordinate truth set of contains . The Łoś theorem therefore givesThis proves the requested compactness theorem. In fact the same proof works without the countability restriction on the language.
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.