GLOBAL KNOWLEDGE ARK

Mathematics · Article

Model theory and mathematical structures

Compare structures through their formulas, build models by compactness, and prove what elementary maps and ultraproducts preserve.

Back to Mathematics

After reading, you can

  • Evaluate first-order terms and formulas and identify which truths an embedding preserves.
  • Use finite tables and order patterns to describe structures and eliminate dense-order quantifiers.
  • Apply the existential witness criterion and construct a small elementary substructure.
  • Construct a model of a finitely satisfiable theory using witness names and the term model.
  • Use diagrams to compare model sizes, realize types, and analyze nonstandard arithmetic and graph properties.
  • Prove ultraproduct truth transfer and evaluate its finite-order and field examples.
01

What a language can distinguish

Two structures can agree on the comparisons between named points while one supplies a witness that the other lacks. Choosing a language and tracing each rule for truth tells you exactly what is preserved.

Start with fixed vocabularies and structure maps. Dense linear orders then give a concrete setting in which quantifiers can be eliminated and countable structures can be matched by an explicit construction.

Next build models through finite satisfiability and named witnesses. Graphs and fields supply detailed tests of expressibility, and ultraproducts show how the truth of each fixed formula transfers through a specified ultrafilter.

02

Interpret a fixed first-order signature

A one-sorted signature lists relation symbols, function symbols, and their arities. A constant names one element, as a nullary function does. In a structure with nonempty domain A, interpret each k-ary function as a total map A^k→A and each k-ary relation as a subset of A^k.

Logical equality always means identity of elements. The variable names and logical connectives belong to the ambient syntax and are not assigned independently by the interpretation. The nonlogical symbols alone can receive different meanings in different structures of the same signature.

Use a constant c, a unary function f and a binary relation R. In two structures on {0,1} let c denote 0 and let f swap 0 and 1. Interpret R in the first structure as {(0,1)} and in the second as the empty relation.

The same term f(c) denotes 1 in both. The closed formula R(c,f(c)) tests the tuple (0,1), which belongs to the first relation and not the second. Thus a common symbol list and domain leave room for different truth values. Related reading: [Reducts and expansions](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Ultraproduct equality and atomic interpretation](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Term interpretation and variable assignments](https://builds.openlogicproject.org/open-logic-complete.pdf#page=229). Interpret each symbol at its declared arity in a nonempty domain.

03

Evaluate terms and formulas recursively

Given a structure M and an assignment s to variables, first assign each variable x the unique value s(x) and each constant its structural value. Evaluate f(t₁,…,t_k) by applying the specified total function f^M to the evaluated tuple.

Induction on the finite term tree gives unique evaluation, since each constructor uses already determined argument values. It also shows that term evaluation only depends on the values of its occurring variables.

Atomic truth compares those term values or evaluates membership in an interpreted relation. Boolean formulas compose their usual truth operations. The assertion ∃x φ is true at s exactly when some a∈M satisfies φ at s[x↦a], and ∀x uses every a∈M.

For truth depending only on free variables, the atomic case follows from term evaluation and the Boolean case from the induction hypothesis. At a quantifier, two assignments that agree on the free variables outside its binder agree on all required variables after both are updated at x to the same a. A sentence has no free variables, so its truth is assignment independent. Related reading: [Truth preservation under structure maps](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Term interpretation and variable assignments](https://builds.openlogicproject.org/open-logic-complete.pdf#page=229). Only the values of free variables can affect formula truth in a fixed structure.

04

Distinguish a substructure from a subset

Let A be a nonempty subset of the domain of a relational structure B with no constants. For each relation R of arity k, restrict R^B to tuples in A^k. The original element identities and the induced relations now give a structure on A.

If constants are present, a substructure must interpret each c by the same value as B. That value must belong to A. If f is a function symbol, on tuples in A its value in a substructure must equal the value in B, so that value must stay in A.

Conversely, containment of all constants and closure under all basic functions make every restricted operation a total operation on A. Take the restricted relations as well. Inclusion then witnesses a substructure because each relevant tuple has precisely its inherited interpretation.

In the additive integer group with symbols 0, addition and unary negation, the subset {0,1} contains the constant but fails closure under addition because 1+1=2. Thus an arbitrary nonempty subset of an algebraic domain need not carry the induced operations. Related reading: [Truth preservation under structure maps](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Term interpretation and variable assignments](https://builds.openlogicproject.org/open-logic-complete.pdf#page=229). A nonempty subset with all constants and closed functions inherits the operations.

05

Preserve positive existential formulas under a homomorphism

Let h:A→B preserve interpreted constants, functions and positive relations. By induction on terms, evaluating a term after transporting an assignment by h gives the image under h of the original value. The constant and function requirements apply at their corresponding constructors.

If two source term values are equal, their images are equal. If a source relation contains the evaluated tuple, its image tuple belongs to the target relation by assumption. Thus all true atomic formulas remain true.

Truth of a conjunction passes through both conjuncts, and truth of a disjunction passes through a chosen true disjunct. An existential witness a in the source gives a witness h(a) in the target, by term transport and induction on the formula.

These induction steps cover formulas built using only the stated positive constructors. In the equality-only language, collapse a two-element set onto a singleton. This map is a homomorphism, but for two different source points x≠y is true and its image is false. Negated equality exposes the missing reflection. Related reading: [Truth preservation under structure maps](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Named diagrams and elementary equivalence](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). Positive atom preservation passes through the listed constructors; the collapsing example shows where reflection fails.

06

Preserve quantifier-free truth under an embedding

An embedding h is injective and preserves constants, functions, and relations in both directions on tuples drawn from the source. By term induction every transported term value is h applied to the old term value.

For equality, injectivity makes two such images equal exactly when the underlying term values agree. For a relation, the preservation and reflection requirements give the same equivalence of truth. Thus all atomic formulas agree at corresponding parameter tuples.

Any Boolean connective computes a fixed operation on the truth values of its immediate components. Apply structural induction to deduce agreement for every quantifier-free formula, including negated atomic formulas.

Check preservation and reflection on every ordered pairEvery existing edge survives but a nonedge changes; Loops count as ordered pairs. The image of a loop-free source pair can be a target loop when vertices collapse. Solid arrows are directed relation edges. Dashed arrows are the declared function.Check preservation and reflection on every ordered pair0101Source ETarget GMap: 0 ↦ 0 · 1 ↦ 1Preserves edges: True Reflects edges: False
Loops count as ordered pairs. The image of a loop-free source pair can be a target loop when vertices collapse. Solid arrows are directed relation edges. Dashed arrows are the declared function.

A homomorphism maps positive edge facts to positive edge facts. An embedding also keeps vertices distinct and reflects every relation fact. Surjective embeddings are isomorphisms in this relational signature.

Exact structural map certificate
QuantityExact result
InjectiveTrue
SurjectiveTrue
Edge-preserving homomorphismTrue
Reflects all edgesFalse
EmbeddingFalse
IsomorphismFalse
Exact inputs and supporting calculations
Declared inputs
ParameterValue
N2
M2
E[[0,1]]
G[[0,1],[1,0]]
f[0,1]
All ordered pairs and relation facts
Source pairMapped pairSource edgeTarget edge
(0, 0)(0, 0)FalseFalse
(0, 1)(0, 1)TrueTrue
(1, 0)(1, 0)FalseTrue
(1, 1)(1, 1)FalseFalse

Include the two-point order {0,2} into the three-point order {0,1,2} with their usual strict orders. All relations on the old points are inherited. The parameter formula ∃x(0<x∧x<2) has witness 1 in the larger order and no witness in the smaller. The new quantifier ranges beyond the image. Related reading: [Truth preservation under structure maps](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Named diagrams and elementary equivalence](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). Injectivity reflects equality and both relation directions are required for the Boolean induction.

07

Prove that isomorphism preserves all formulas

Suppose h:A→B is an isomorphism and transport the assignment s to h∘s. The embedding argument gives equality of truth for atomic formulas because interpretations and equality agree through h.

Assume corresponding component formulas agree. For each Boolean connective the same truth operation is used on both sides, so the composed formula also agrees. It remains to check changes of a variable assignment.

If A has a witness a for ∃x φ, then B uses h(a), since transporting s[x↦a] gives the target assignment updated at h(a). Conversely, any witness b in B equals h(a) for some a by surjectivity. The induction hypothesis then gives the source witness.

For universal formulas the target values are exactly the images of all source values by the same bijection, so agreement of the matrix for each value proves the clause. Thus arbitrary formulas agree, whether their assignment contains parameters or they are sentences. Related reading: [Truth preservation under structure maps](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Named diagrams and elementary equivalence](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Elementary equivalence and structure isomorphism](https://builds.openlogicproject.org/open-logic-complete.pdf#page=386). Surjectivity makes every target witness come from the source.

08

Relate an expansion to its reduct

Let L be contained in an expanded signature L′ and let N be an L′-structure. Its reduct to L has the same domain and keeps the same interpretations for each L-symbol. Only the additional symbol interpretations are omitted.

For terms in L, induction shows identical evaluations. Formulas in L then have the same atoms under any fixed assignment. Boolean operations and both quantifiers act identically because the domain and the relevant interpretations have not changed.

For a linear order with symbol <, introduce a binary symbol E and require E(x,y)↔(x<y∨x=y) universally. The old order determines a unique interpretation of E under this definition. Both structures still agree on their old-language formulas.

If a new unary P has no defining requirement, two expansions of the same nonempty order can interpret P as empty or as the whole order. Their old-language truths agree, and the new-language sentence ∃x P(x) is false in one and true in the other. Related reading: [Reducts and expansions](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf). With an unchanged domain, smaller-language formulas use exactly the retained interpretations.

09

Define elementary equivalence by a shared truth theory

For a fixed language L, put A≡B when every L-sentence true in A is true in B and every such sentence true in B is true in A. Equivalently the two sets of true sentences are equal.

Equality of these truth sets is reflexive, symmetric, and transitive, so ≡ is an equivalence relation. An isomorphism preserves all formulas and hence all sentences, giving elementary equivalence.

In the language of a strict order, the sentence ∃x∀y(x=y∨x<y) specifies a least element. It is true for the usual natural number order using 0. It is false for the usual integer order because each integer n has a strictly smaller n−1.

That distinction depends on the available < symbol. Changing to a different language changes which sentences are even available. The comparison is defined using a common signature and its designated logical expressions. Related reading: [Named diagrams and elementary equivalence](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Elementary equivalence and structure isomorphism](https://builds.openlogicproject.org/open-logic-complete.pdf#page=386). The common language determines which sentences can distinguish ordered structures.

10

Describe one finite structure by one sentence

Let a₁,…,a_n enumerate the nonempty finite domain of M once. Use variables x₁,…,x_n, require pairwise disequality, and add the universal coverage clause ∀y(y=x₁∨⋯∨y=x_n). An assignment satisfying these clauses lists the whole domain distinctly.

For each k-ary relation and each index tuple, include its corresponding atomic application if it holds in M, or its negation otherwise. Include each function table equation f(x_{i₁},…,x_{i_k})=x_j with the actual output a_j. Add each constant equation c=x_i according to its value.

Conjoin all these conditions and existentially quantify over the listed variables. M satisfies the sentence by its own enumeration. Any satisfying structure has a bijection a_i↦x_i to its chosen witnesses, and the complete tables make it an isomorphism.

A complete finite diagram fixes its finite structure up to isomorphismA relabeling realizes the complete finite diagram; All positive and negative edge facts apply. Simply having the same number of edges does not make structures isomorphic.A complete finite diagram fixes its finite structure up to isomorphism012012Required structureCandidate structureWitness tuple (v₀,v₁,v₂)=(2,0,1); every vertex is named.
All positive and negative edge facts apply. Simply having the same number of edges does not make structures isomorphic.

Existentially introduce one witness per original vertex. Assert pairwise distinctness, then use a universal clause to rule out other vertices. Include each true or false relation fact on every ordered tuple so a satisfying assignment induces an isomorphism.

Exact finite-diagram checks
QuantityExact result
Witness variablesv0, v1, v2
Pairwise distinctnessEvery pair of named vertices is unequal.
Universal exhaustiveness∀u (u=v0 ∨ u=v1 ∨ u=v2)
Tested bijections6
Satisfies complete sentenceTrue
Exact witness or obstructionMap 2, 0, 1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
N3
E[[0,1],[1,2]]
M3
G[[2,0],[0,1]]
Exact atomic diagram
Fact
¬E(v0,v0)
E(v0,v1)
¬E(v0,v2)
¬E(v1,v0)
¬E(v1,v1)
E(v1,v2)
¬E(v2,v0)
¬E(v2,v1)
¬E(v2,v2)
Candidate bijection checks
Images of the complete tupleMismatched ordered pairs
0, 1, 2(1, 2) · (2, 0)
0, 2, 1(0, 1) · (0, 2) · (1, 0) · (1, 2)
1, 0, 2(0, 1) · (1, 0) · (1, 2) · (2, 1)
1, 2, 0(0, 1) · (2, 0)
2, 0, 1None
2, 1, 0(0, 1) · (0, 2) · (1, 2) · (2, 1)

The set of conjuncts is finite because both n and the symbol list are finite and every symbol has finite arity. A nullary relation contributes just its truth or negation. With an infinite unconstrained list, a single finite sentence cannot record arbitrary unused symbol interpretations. Related reading: [Named diagrams and elementary equivalence](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Finite and infinite domain constraints](https://builds.openlogicproject.org/open-logic-complete.pdf#page=363), [Counting finite tuples of symbols and parameters](https://builds.openlogicproject.org/open-logic-complete.pdf#page=63). Coverage and pairwise distinctness reduce all finite tables to a single finite sentence in a finite signature.

11

Realize every admissible order pattern in a dense order

In a strict dense linear order without endpoints, first list the distinct values of the previously given tuple increasingly as d₁<⋯<d_m. Repeated coordinates have one value in this list and therefore do not create further positions.

A new variable can equal any d_j by choosing that value. If its required position is strictly between adjacent d_j and d_{j+1}, density gives a point between them. Every other comparison to the earlier values then follows from transitivity.

If the required position is below every listed point, use the absence of a first element to choose a point below d₁. If it is above all of them, the absence of a last element supplies a point above d_m.

With an empty tuple choose any element of the nonempty domain. The positions just listed are all possible ways of extending the equality classes and the order of a finite tuple by one variable. Every consistent specification therefore has a realization. Related reading: [Dense-order extension and quantifier elimination](https://www.math.uni-hamburg.de/home/geschke/teaching/ModelTheory.pdf), [Countable dense orders and back-and-forth](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). Each admissible equality, bounded gap or unbounded gap has a witness using the stated order axioms.

12

Eliminate quantifiers from dense linear orders

For fixed variables x₁,…,x_n, their complete order pattern records which coordinates are equal and how the resulting classes are strictly ordered. There are finitely many partitions and orders of n coordinate labels, and each pattern is a finite conjunction of comparisons expressing it.

Every atomic formula in the pure order language has constant truth within a pattern. Boolean combinations inherit this property. Consequently each quantifier-free formula is equivalent in DLO to the disjunction of the patterns on which it holds, with the empty-disjunction convention for no such patterns.

For a formula ∃y ψ with quantifier-free ψ, examine each pattern on the free x-variables and all its finite admissible extensions by y. The preceding realization lemma gives an actual witness for every such extension. Thus the existential is true exactly on the patterns admitting at least one extension on which ψ is true.

This turns the existential into a finite disjunction on the original variables. Eliminate quantifiers inductively from inside outward, using ∀y ψ as ¬∃y¬ψ and taking care to rename bound variables before comparing lists. Every DLO formula then has an equivalent quantifier-free description. Related reading: [Dense-order extension and quantifier elimination](https://www.math.uni-hamburg.de/home/geschke/teaching/ModelTheory.pdf). The projection onto a smaller variable tuple selects the order patterns admitting an extension.

13

Derive completeness of dense linear orders

A sentence has an empty tuple of free variables. Its evaluation after quantifier elimination reduces to a truth value on the single empty order pattern. Therefore any two nonempty dense linear orders without endpoints agree on the sentence.

This proves semantic completeness of the DLO axioms. They have a model, and for every sentence either every such model satisfies it or every such model satisfies its negation.

The rational order and real order both satisfy density and lack first and last elements. For rationals or for reals, the average of two distinct numbers lies strictly between them, and adding or subtracting one gives points beyond a given point.

The rational domain is countable, while the real domain has the larger cardinality established by the binary diagonal argument. An isomorphism would in particular be a bijection. Thus the orders cannot be isomorphic even though every sentence in their shared order language agrees. Related reading: [Dense-order extension and quantifier elimination](https://www.math.uni-hamburg.de/home/geschke/teaching/ModelTheory.pdf), [Countable dense orders and back-and-forth](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Elementary equivalence and structure isomorphism](https://builds.openlogicproject.org/open-logic-complete.pdf#page=386). The empty order pattern determines sentence truth in DLO. Equality of truth leaves room for differing cardinalities.

14

Build a countable dense-order isomorphism by back-and-forth

Enumerate the elements of the two countable dense orders A and B. Begin with the empty correspondence, and maintain a finite partial bijection between subsets whose order comparisons agree.

At an even stage, find the first element of A that is not yet in the domain. Its position relative to the finite domain either lies between two adjacent listed values or on an outer side. Choose a point in B in that same position relative to the images, using the dense-order extension lemma.

At an odd stage, take the first element of B missing from the range and apply the corresponding argument to the inverse partial map. Both kinds of choices give a new point because all existing points of the relevant finite set are excluded by the required strict position.

Extend the finite correspondence by inserting a rational in the cutTwo bounds use density; Density supplies a rational strictly between both target bounds. A finite displayed map is not a finite model of dense linear order without endpoints. Each line preserves its own order and scale. Orange open marks exclude the finite bounds.Extend the finite correspondence by inserting a rational in the cutSource orderTarget order042-121/2Open cut (-1, 2); green point = new target.
Density supplies a rational strictly between both target bounds. A finite displayed map is not a finite model of dense linear order without endpoints. Each line preserves its own order and scale. Orange open marks exclude the finite bounds.

Preserve every old order comparison with the new point. Its target must lie in the corresponding cut, which is bounded by the images of the nearest mapped neighbors if they exist.

Exact back-and-forth extension
QuantityExact result
New input2
Tight lower target bound-1
Tight upper target bound2
Required cut(-1, 2)
Chosen new target1/2
Required axiomDensity
Exact inputs and supporting calculations
Declared inputs
ParameterValue
from[0,4]
to[-1,2]
x2

The partial maps are compatible. At successive even stages the least missing A-index is used, so every A-index eventually enters the union. The odd stages give the same result for B. Any pair of points is compared correctly in a later finite map. Thus the union is a total surjective order isomorphism. Related reading: [Countable dense orders and back-and-forth](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). The partial maps must cover both enumerations and agree wherever their domains overlap.

15

Determine the singletons definable over finite order parameters

Let a₁<⋯<a_m be the distinct rational parameters. Equality to one of them gives m singleton patterns. All other points lie in one of the open gaps between adjacent parameters or in an unbounded outer gap.

Two rationals in the same gap have the same one-variable pattern with those parameters. Part of their pattern records all comparisons among the parameters, which are fixed. The DLO pattern lemma therefore gives them identical truth under every formula with these parameters.

Each gap and each singleton can itself be expressed by an order condition or an equality. Finite disjunctions express arbitrary unions of these finitely many regions. These are exactly the one-variable definable subsets with the specified finite parameter set.

Each gap contains more than one point by density and the absence of endpoints, so no individual point of a gap can be isolated by such a formula. The definable singletons are precisely the named parameter values. With no parameters, the entire order is the only nonempty region. Related reading: [Dense-order extension and quantifier elimination](https://www.math.uni-hamburg.de/home/geschke/teaching/ModelTheory.pdf), [Countable dense orders and back-and-forth](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). One-variable order formulas select unions of finitely many parameter regions.

16

Express field characteristic in first-order sentences

The ring language has constants 0 and 1 and an addition operation. For each fixed positive integer n, the term n·1 means a finite sum of n copies of the constant 1. The expression n·1=0 is thus a first-order sentence.

If a positive n satisfies the equality, let p be the least such integer. A field has 1≠0, so p≥2. If p=ab with 1<a,b<p, both a·1 and b·1 are nonzero by minimality.

Distributivity gives (a·1)(b·1)=ab·1=p·1=0, which a field's absence of zero divisors forbids. Therefore the least positive n is prime.

Characteristic zero means no positive n gives zero. Over the field axioms this property is expressed by all sentences n·1≠0 for n≥1. Each member has finite length and uses a single fixed n. Related reading: [Nonstandard arithmetic, graph connectivity and field axioms](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Term interpretation and variable assignments](https://builds.openlogicproject.org/open-logic-complete.pdf#page=229). Each individual multiple of the unit is a finite term. Characteristic zero requires all such inequalities.

17

Distinguish a complete truth theory from a list of axioms

For a structure M let Th(M) be the set of all sentences of the chosen signature true in M. The structure M satisfies this whole set, so the set is satisfiable.

If Th(M) entails a sentence φ, then M itself satisfies φ and hence φ belongs to Th(M). Thus this truth theory is closed under semantic consequence. Classical bivalence implies that precisely one of φ and ¬φ belongs for each sentence.

For an arbitrary axiom set T, define Cn(T) to consist of sentences satisfied by every model of T. Each sentence of T is in Cn(T), so each model of Cn(T) is a model of T.

Conversely, every model of T satisfies every member of Cn(T) by definition. The two sets of sentences give the same model class, although T may be a shorter premise list and may leave many sentences unsettled. Related reading: [Named diagrams and elementary equivalence](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Elementary equivalence and structure isomorphism](https://builds.openlogicproject.org/open-logic-complete.pdf#page=386). A model's full truth set decides sentences and has the model itself as a common witness.

18

Test elementarity by existential witnesses

Let A be a substructure of B. If A is elementary in B and B satisfies ∃x φ(x,ā) with parameters ā from A, elementarity gives the same existential in A. Some a∈A then satisfies φ(a,ā) in A, and elementarity transfers its matrix back to B.

Now assume the witness property in B for every such formula. Prove formula agreement for assignments taking their relevant values in A by induction. Atomic truth agrees for the substructure; Boolean operators preserve the equivalence of each component.

If A satisfies an existential, its witness in A also satisfies the matrix in B by the induction hypothesis. If B satisfies it, the witness property selects a witness a in A with the matrix true in B. The induction hypothesis gives the corresponding matrix and existential in A.

A restricted witness test can pass while elementarity failsThe witness exists only outside the subset; For a proper finite domain, listing all inside parameters gives a separate equality formula that sees an outside point.A restricted witness test can pass while elementarity fails01201Full structureInduced structure∃y E(0,y): True in full, False in subset.∃z (z≠a₀ ∧ z≠a₁), with a₀=0, a₁=1, differs.Elementary: no.
For a proper finite domain, listing all inside parameters gives a separate equality formula that sees an outside point.

Being induced preserves relation facts on tuples already inside the smaller structure. Elementarity compares every formula with permitted parameters. A proper finite substructure fails the equality demand for a new point outside its entire old domain.

Exact existential witness and elementarity
QuantityExact result
Full witnesses{2}
Subset witnesses{}
Truth of ∃y E(a,y) in full structureTrue
Truth of ∃y E(a,y) in subsetFalse
Elementary inclusionNo; proper finite subset.
Equality counterformula when proper∃z (z≠a₀ ∧ z≠a₁) with a₀=0 and a₁=1 is true in the full structure and false in the induced structure.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
N3
E[[0,2]]
S[0,1]
a0

Use negation and the existential clause to obtain universals too. The resulting agreement for all formulas is exactly that inclusion A→B is elementary. The criterion examines existential matrices of any formula complexity, not just atomic formulas. Related reading: [Named diagrams and elementary equivalence](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Elementary substructures and existential witnesses](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). A witness in the smaller structure must satisfy the matrix in the larger structure.

19

Take a union of an elementary chain

Let (M_i)_{i<δ} be a nonempty increasing chain with each earlier stage an elementary substructure of every later one. Set the union domain M to the union of the domains. Any finite tuple lies in one stage that contains all its members.

Interpret a function at a tuple using such a stage. The result lies in that stage, and a later stage has the same value because inclusions preserve the functions. Define relations by the same finite-tuple check, and keep the shared constant values. The comparisons among different choices agree.

Show for every formula at once across all stages that truth at a tuple in M_i agrees with truth in M. Atomic formulas agree by construction, and Boolean operations inherit agreement. If M_i has a witness for an existential, use the matrix induction hypothesis to obtain the same witness in M.

If M has such a witness, select a stage M_j containing it and the parameters, with j≥i. The matrix induction hypothesis identifies its truth in M_j, so M_j satisfies the existential. Elementarity of the original chain yields the same sentence with parameters in M_i. This proves elementarity of each stage in the union. Related reading: [Elementary substructures and existential witnesses](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Elementarity along a directed union](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). Finite parameter support and elementarity between old stages establish quantifier truth in the union.

20

Construct a small elementary substructure

Let A⊆M be the specified parameter set and κ=max(|L|,|A|,ℵ₀). Start with A and one domain element, adjoining any needed constant values. At each stage fill the interpretations of all basic functions on the stage's finite tuples.

For every existential formula with parameters in the current stage that is true in M, select one witness from M and add it at the next stage. ZFC supplies these selections. There are at most κ many formulas and parameter tuples because each formula or tuple uses finitely many symbols or parameters.

Thus each stage has cardinality at most κ, as does their countable union N. Each constant is in N. Any finite tuple from N occurs entirely at some stage, so the next stage contains its function values and a witness for each relevant true existential.

The union with induced interpretations is therefore a substructure of M. The same finite-tuple reasoning gives the Tarski–Vaught witness property, so it is elementary. It contains the original parameters and satisfies the stated cardinal bound. Related reading: [Elementary substructures and existential witnesses](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Elementarity along a directed union](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Larger elementary models by distinct names](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Counting finite tuples of symbols and parameters](https://builds.openlogicproject.org/open-logic-complete.pdf#page=63), [Cardinality bounds for finite tuples over infinite sets](https://builds.openlogicproject.org/open-logic-complete.pdf#page=923). Choose witnesses in the ambient structure and bound all stage sizes by the declared infinite cardinal.

21

Add witnesses while keeping finite satisfiability

Start with a finitely satisfiable T in a language L₀. If necessary add one fresh constant to guarantee a closed term. A nonempty model of any finite fragment can interpret this constant arbitrarily, so the finite satisfiability persists.

For every existential sentence ∃x φ(x) in L_n, give it a distinct fresh constant c in L_{n+1} and adjoin ∃x φ(x)→φ(c). The displayed φ has no other free variable because the existential was a sentence. Substitution by the new constant does not introduce free variables.

Given a finite fragment of the next theory, first choose a model of its finitely many old requirements. For each new witness implication present, assign its fresh name a witness if the antecedent is true, or any domain element if the antecedent is false. The older formulas do not mention these new names and the finite assignments do not interfere.

Therefore each new theory is finitely satisfiable. A finite fragment of the union over n lies in one stage, so the union is also finitely satisfiable. An existential sentence of the union language involves finitely many symbols, all present by some stage. Its witness implication is included at the next stage. Related reading: [Reducts and expansions](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Counting finite tuples of symbols and parameters](https://builds.openlogicproject.org/open-logic-complete.pdf#page=63). Each witness implication depends on its old-language sentence and one fresh symbol.

22

Decide all sentences without losing finite satisfiability

Let T be a finitely satisfiable set of sentences in a fixed set-sized language. Suppose both T∪{ψ} and T∪{¬ψ} fail finite satisfiability for some ψ. Then two finite subsets U,V of T give unsatisfiability of U∪{ψ} and V∪{¬ψ}, respectively.

Any model of U∪V would have one of the two truth values of ψ. Either truth value contradicts one of those two unsatisfiability statements. So U∪V cannot have a model, contrary to finite satisfiability of T.

Well-order all sentences and extend the current set by a permissible sign of each in turn. A limit union is finitely satisfiable because any finite subset lies already in one predecessor stage. This transfinite construction ends with a finitely satisfiable set Θ that contains exactly one sign of each sentence.

If a finite subset of Θ entails α and α is outside Θ, completeness of the choices puts ¬α in Θ. The finite subset together with ¬α would be unsatisfiable, contradicting the property of Θ. Thus Θ is closed under finite semantic consequences. Related reading: [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Counting finite tuples of symbols and parameters](https://builds.openlogicproject.org/open-logic-complete.pdf#page=63). Both failed signs would contradict finite satisfiability of the union of two finite old fragments.

23

Form a term structure with equality

Let C be the set of closed terms of the expanded language, with at least one term. Define s∼t when the sentence s=t belongs to Θ. Reflexivity follows from validity of s=s and finite semantic closure. Symmetry and transitivity follow from the corresponding one- or two-premise equality consequences.

The domain is the set C/∼. A constant c is interpreted by [c]. Interpret a basic k-ary function on classes by f([t₁],…,[t_k])=[f(t₁,…,t_k)]. If representatives are replaced by equal terms according to Θ, finitely many equality premises entail the equality of the resulting applications.

For each relation symbol R, interpret ([t₁],…,[t_k]) as belonging to R exactly when R(t₁,…,t_k) belongs to Θ. Equal representatives give a finite list of equalities, and these equalities together with one true-side atomic sentence entail the other atomic sentence. The argument works in both directions.

The interpretations are therefore independent of choices and give a structure in the expanded language. Evaluation of a closed term yields its class by term induction. Equality in this structure is actual identity of classes, encoded by the equivalence relation just defined. Related reading: [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Ultraproduct equality and atomic interpretation](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf). Equality congruence gives well-defined interpretations on term classes.

24

Prove the truth lemma for the term structure

Let φ have its free variables displayed and choose closed-term representatives for their assigned classes. Substitute the representatives for the free variables only. A closed term brings no free variable that a quantifier could capture. Rename bound variables as needed to keep the substitution positions explicit.

For equality the resulting sentence is in Θ exactly when its two evaluated classes agree. The relation case is the interpretation definition. For each Boolean connective, completeness and finite semantic closure of Θ give exactly its truth table, so structural induction handles that clause.

If the term model satisfies ∃x ψ at the chosen classes, take a witness class [t]. Induction gives ψ(t) with its remaining parameters replaced as a sentence of Θ. That sentence entails the corresponding existential, so the existential belongs to Θ.

Conversely, if the corresponding existential belongs to Θ, its witness implication gives a closed name c with the instantiated matrix in Θ by finite semantic closure. The induction hypothesis makes [c] a witness in the structure. Universals follow using their existential-negation form. With no free variables the lemma says every sentence of Θ holds in the term model. Related reading: [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Term interpretation and variable assignments](https://builds.openlogicproject.org/open-logic-complete.pdf#page=229). Closed-term evaluation, finite semantic closure and witness implications establish all truth clauses.

25

Prove compactness and finite-premise entailment

Given finitely satisfiable Γ in a set-sized language L, construct the expanded finitely satisfiable theory with witnesses for every existential sentence of the union language. Each stage uses a set of new names indexed by the current existential sentences, and the union of the stages is set-sized.

In ZFC the expanded sentences can be well-ordered. Complete the theory by choosing signs with preservation of finite satisfiability, then form the equality quotient of its closed terms. The truth lemma produces a model of the whole completed theory.

Every original sentence in Γ continues to hold after reducing to L, by the reduct truth argument. Thus finite satisfiability implies satisfiability. The reverse direction follows because any common model works for each finite subfamily. The construction works whether or not the original symbol set is countable.

The distinct-names theory has arbitrarily large finite fragmentsToo few elements for this finite fragment; Every finite fragment uses finitely many names. Taken together, the entire infinite set of pairwise inequalities demands infinitely many elements.The distinct-names theory has arbitrarily large finite fragmentsc0c1c201Names in the finite prefixPositions in the candidate domainc2 has no free position.This prefix cannot fit. The full theory requires infinitely many distinct positions.
Every finite fragment uses finitely many names. Taken together, the entire infinite set of pairwise inequalities demands infinitely many elements.

Each unordered pair of names contributes one inequality. An injective assignment exists exactly when the domain has at least as many elements as names. The full theory rules out every finite candidate by a sufficiently long prefix.

Exact finite satisfiability certificate
QuantityExact result
Names in the requested prefixc0, c1, c2
Distinct pair constraints3
Smallest satisfying domain3
Candidate acceptedFalse
Full theoryAll names can denote distinct natural numbers; no finite domain can provide them.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
k3
m2

If Γ entails φ, the set Γ∪{¬φ} is unsatisfiable. By compactness some finite part is unsatisfiable. Taking its original Γ-premises together with ¬φ gives a finite Γ₀⊆Γ with Γ₀ entailing φ. Conversely a finite such entailment implies entailment from all of Γ. Related reading: [Reducts and expansions](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Larger elementary models by distinct names](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Finite and infinite domain constraints](https://builds.openlogicproject.org/open-logic-complete.pdf#page=363), [Łoś's theorem and transfer](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Cardinality bounds for finite tuples over infinite sets](https://builds.openlogicproject.org/open-logic-complete.pdf#page=923). Use the witness expansion and completion inside a set-sized language. The new model reduces to a model of the original theory.

26

Separate atomic diagrams from elementary diagrams

For each a in M introduce a new name c_a. The signed atomic diagram contains each atomic sentence in this language true in M with its names, and the negation of each atomic sentence false there. The elementary diagram contains all true expanded sentences instead.

If a model N satisfies the signed diagram, map a to the interpretation of c_a. For a≠b the diagram includes c_a≠c_b, giving injectivity. Function values and original constants are preserved by the equations identifying them with the appropriate named elements.

Every relation on a tuple of names has exactly its corresponding truth from M by the two signs in the diagram. The map is therefore an embedding. Conversely such an embedding, used as the interpretation of the names, validates these atomic and negated atomic facts.

If N satisfies the elementary diagram, the same parameter naming transfers every formula after closing it with the names. When a formula fails in M its negation is true and included, so N also validates that failure. This is exactly elementarity, and an elementary embedding conversely gives a model of the elementary diagram. Related reading: [Reducts and expansions](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Named diagrams and elementary equivalence](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Larger elementary models by distinct names](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Realizing a type with named parameters](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). The signed diagram determines an embedding. The elementary diagram controls all formulas with named parameters.

27

Extend an infinite model to a specified larger size

Fix an infinite M in L and an infinite cardinal κ with κ≥|M| and κ≥|L|. Take its elementary diagram and add distinct fresh constants d_i for i<κ, all required pairwise distinct. One may also require d_i≠c_a for every old name a∈M.

Any finite subfamily of the augmented theory mentions only finitely many such new names and finite disequalities. Expand M by its own names and choose the finitely many required distinct new values away from the finitely many excluded old points. Infinitude of M supplies them.

Compactness gives a structure N modeling every requirement. In its original reduct the old names map M elementarily into N. All κ new name values are distinct. The parameter set containing these values and the old image has size κ.

Take a small elementary substructure of the reduct containing that parameter set. Its cardinality is at most κ and at least κ, so equals κ. The old elementary image remains elementary there because both it and the small substructure agree with the ambient reduct on formulas about the old parameters. Relabel the image of M as M to obtain an extension. Related reading: [Reducts and expansions](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Elementary substructures and existential witnesses](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Larger elementary models by distinct names](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Cardinality bounds for finite tuples over infinite sets](https://builds.openlogicproject.org/open-logic-complete.pdf#page=923). Compactness supplies the distinct witnesses and the small substructure step sets the exact target size.

28

Construct a nonstandard model of true arithmetic

Use the standard natural-number structure with constants 0, the successor operation, arithmetic operations and order. Take the full theory of its true sentences. To that theory add a new constant d and one sentence d>n̄ for every ordinary natural n, where n̄ is the numeral S^n(0).

For any finite fragment of the additional requirements choose a standard natural larger than all numerals mentioned there, and interpret d by it. The old sentences remain true because the underlying standard interpretation has not changed.

Compactness gives a model of all the sentences. In it the interpretation of d is above the entire standard numeral list, so no standard numeral equals d. In particular its reduct cannot be isomorphic to the standard natural-number structure, whose numerals cover the domain.

The map from ordinary n to the model's interpretation of n̄ is injective and respects the arithmetic symbols because the exact relevant numeral sentences were true in the standard structure. Every formula with a finite tuple of these parameters can be tested as a sentence using their numerals. Agreement on all such sentences shows the numeral copy is elementary. Related reading: [Nonstandard arithmetic, graph connectivity and field axioms](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Larger elementary models by distinct names](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Realizing a type with named parameters](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). The ordinary numerals remain elementary under the true arithmetic premise, and the fresh constant lies beyond all of them.

29

Realize a finitely satisfiable type in an extension

Let p(x) be a set of formulas using parameters from M, each finite subfamily of which has a common witness in M. Name the parameters through the elementary diagram and introduce a fresh constant d to stand for x in p.

A finite subset of the combined sentences is satisfied by expanding M with its own names and interpreting d as a witness for the finitely many selected type formulas. The selected diagram sentences are already true in that expansion.

Compactness yields a model of every added sentence. Its reduct has an elementary image of M by the diagram result. The interpretation of d satisfies all the parameter formulas there, producing a realization in an elementary extension after relabeling the old image.

For example, in the natural-number order the requirements x>n for all parameter values n are each finitely satisfiable, but no standard natural exceeds them all. The type is omitted by that order. The construction preserves its old truths while adding a witness in a larger structure. Related reading: [Named diagrams and elementary equivalence](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Elementary substructures and existential witnesses](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Nonstandard arithmetic, graph connectivity and field axioms](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Realizing a type with named parameters](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). Finite realization in the named original structure gives compactness for one fixed added type.

30

Show the standard numeral copy is not internally definable

Fix a formula φ(x,ȳ). In the standard natural numbers, every set defined by φ with fixed parameters has the usual induction property. Therefore the sentence stating universally in ȳ that φ(0,ȳ) and successor closure together imply ∀x φ(x,ȳ) belongs to true arithmetic.

In a model N of true arithmetic with an element beyond the ordinary numerals, suppose φ(x,ā) defines exactly those numeral values. The value of zero belongs to that set. Every numeral value has its successor equal to the next numeral value, so the set is internally closed under the interpreted successor.

Thus both antecedents of the induction instance hold for ā. Its truth in N yields ∀x φ(x,ā). In particular the nonstandard element would satisfy it.

The result contradicts that the definable set was exactly the proper standard numeral copy. The proof uses the first-order induction instance for the specific parameterized formula, which is available because N satisfies the entire true theory of the standard naturals. Related reading: [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Nonstandard arithmetic, graph connectivity and field axioms](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Realizing a type with named parameters](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). A particular first-order induction instance holds because the model satisfies true arithmetic.

31

Show finiteness cannot be axiomatized by first-order sentences

For n≥1 let σ_n say there are at least n distinct elements. Use n existential variables and a conjunction of distinctness conditions. These are individual first-order sentences of finite length.

Suppose a first-order theory T has exactly the finite nonempty structures of the fixed language as its models. The theory T together with all σ_n is finitely satisfiable. For any largest size bound in a finite fragment use a finite structure of at least that size, which satisfies all of T by hypothesis.

Compactness then gives a model of T and every σ_n. No finite domain can meet all these bounds. This contradicts the assumption that all T-models are finite.

Conversely every infinite domain has n distinct elements for each fixed finite n. Thus the entire family {σ_n:n≥1} axiomatizes infinite domains. Excluding finite domains can be expressed by including all positive size bounds individually. Related reading: [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Nonstandard arithmetic, graph connectivity and field axioms](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Finite and infinite domain constraints](https://builds.openlogicproject.org/open-logic-complete.pdf#page=363). All finite size bounds together force an infinite model by compactness of any proposed theory of finite structures.

32

Show graph connectivity is beyond first-order axiomatization

Let R be symmetric and irreflexive adjacency. In a language with fresh constants a,b, define χ_n(a,b) to assert a walk of length n from a to b. For n=0 use a=b. For n>0 use finitely many intermediate vertices with an R-edge at each step.

Suppose T has exactly the connected simple graphs among simple graphs as its models. Add the simple graph axioms and all sentences ¬χ_n(a,b). A finite fragment forbids only finitely many lengths, bounded by some N. Choose the path graph with end-to-end distance N+1 and name its ends.

Every step in that path moves the index by one, so its end-to-end walks have length at least N+1. The named graph satisfies the forbidden finite lengths, and it is connected, satisfying all the presumed T-axioms.

Compactness gives a simple T-graph in which the named ends have no walk of any finite length. They are distinct by the length-zero requirement. They lie in different connected components, contradicting the stipulated model class of T. Related reading: [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Nonstandard arithmetic, graph connectivity and field axioms](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Finite and infinite domain constraints](https://builds.openlogicproject.org/open-logic-complete.pdf#page=363). No finite fragment of the named walk prohibitions precludes a sufficiently long connected path.

33

Distinguish an infinite graph axiom scheme from a finite one

A bipartite graph has two parts with each edge crossing between them. In a closed walk the part changes at each step and must return to its initial value. Hence every closed walk has even length.

Conversely, suppose there is no odd closed walk. In each connected component choose a root using choice if needed. Assign to each vertex the parity of a walk from its root. Two root walks of different parities would yield an odd closed walk by following one and reversing the other. The parity is therefore well-defined and changes across every edge.

This expresses bipartiteness by all sentences forbidding an odd closed walk of a fixed odd length. If a finite set of sentences defined the same class among simple graphs, compactness would make each of them follow from finitely many of these prohibitions together with the graph axioms. The union of these finite lists would force bipartiteness.

Choose an odd simple cycle of length m greater than every listed length. In a walk of length k<m each step contributes +1 or −1 to the cyclic vertex index. A closed walk requires the sum to be a multiple of m, hence zero. That is impossible for odd k. The cycle thus satisfies every selected prohibition but is itself an odd closed walk, contradicting finite axiomatizability. Related reading: [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Nonstandard arithmetic, graph connectivity and field axioms](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf), [Finite and infinite domain constraints](https://builds.openlogicproject.org/open-logic-complete.pdf#page=363). Parity is a componentwise coloring argument, and arbitrarily long odd cycles refute finite axiomatizability.

34

Show field characteristic zero is not a single relative sentence

Assume a first-order sentence ψ holds in a field exactly when the field has characteristic zero. Form the theory consisting of field axioms, ¬ψ, and every inequality n·1≠0 for positive integers n.

For a finite fragment there are only finitely many such n. Choose a prime p larger than all of them, possible since the primes are unbounded. The field ℤ/pℤ satisfies each inequality in the fragment because none of the specified integers is divisible by p.

The same field has positive characteristic p and hence satisfies ¬ψ by the assumed characterization. Since it also satisfies all field axioms, the combined theory is finitely satisfiable.

By compactness it has a model. All of its integer inequalities give characteristic zero, while the model satisfies ¬ψ. This contradicts the defining property of ψ. The argument is relative to fields throughout. Related reading: [Finite satisfiability and first-order compactness](https://builds.openlogicproject.org/open-logic-complete.pdf#page=364), [Nonstandard arithmetic, graph connectivity and field axioms](https://akruckman.faculty.wesleyan.edu/files/2019/07/Lecture-Notes.pdf). A prime exceeding every listed integer gives a finite-fragment witness for the characteristic argument.

35

Build the ultrafilter needed for finite approximation

A proper filter on an index set I contains I, is closed under finite intersections and supersets, and omits the empty set. A maximal such filter is an ultrafilter. If S is not in an ultrafilter U, maximality prevents adding S while preserving properness.

In detail, if every F∈U intersected S nontrivially, the supersets of intersections F∩S would form a proper filter containing U and S. It would be strictly larger, so some F∈U instead has F∩S=∅. Its containment in I\S puts the complement in U.

On ℕ, the cofinite sets form a proper filter. Order the proper filters extending it by inclusion. A union along a chain remains a proper filter because any finite collection of its members already appears together in one chain element.

Zorn's lemma yields a maximal proper extension. It is an ultrafilter by maximality among extensions. No finite set belongs to it because the complement of any finite set was already in the cofinite filter, and the two together would force the empty set. Related reading: [Proper, free and maximal filters](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Łoś's theorem and transfer](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf). Maximality implies the two-valued complement test. Cofinite sets exclude finite additions.

36

Construct ultraproduct operations on equivalence classes

Let (M_i)_{i∈I} be nonempty structures in the same language and U an ultrafilter. Form the Cartesian product of their domains, using choice for nonemptiness. For two tuples x,y define x∼y when {i:x_i=y_i} belongs to U.

Equality is reflexive and symmetric at each coordinate. For transitivity, the two relevant equality sets have an intersection in U on which the first and third coordinates agree. Upward closure gives the third equality set in U.

Interpret a constant by the class of the tuple of its coordinate interpretations. Apply each basic function coordinatewise to define the class of the result. For any finite tuple of input replacements, the intersection of their equality sets lies in U and the function outputs agree there.

Interpret a relation on classes as true when the set of indices satisfying the coordinate relation lies in U. Under another choice of representatives the two satisfaction sets agree on the U-large intersection of input equalities. Either satisfaction set is in U exactly when its intersection with that fixed intersection is. This gives a well-defined structure. Related reading: [Proper, free and maximal filters](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Ultraproduct equality and atomic interpretation](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Łoś's theorem and transfer](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf). Representatives agree on a filter-large intersection of finitely many equality sets.

37

Prove Łoś's theorem

For each formula at a tuple of product representatives, let its truth set be the indices where the coordinate structure satisfies it at the corresponding coordinate values. Claim that the formula holds in the quotient structure exactly when this set belongs to U.

For terms, coordinatewise interpretation and induction give their represented values. This makes the atomic equality and relation clauses the definitions of the quotient. Negation corresponds to taking a complement, and the ultrafilter contains exactly one of the two signs. A conjunction corresponds to intersection, which belongs to U exactly when both sets do.

For an existential, a quotient witness has a product representative. If its matrix is true in the ultraproduct, the induction hypothesis gives a set in U where the coordinate matrix holds. This set is included in the coordinate existential truth set, so that larger set belongs to U.

The principal ultrafilter asks about one designated factorOne true principal factor overrides a false majority; Membership means containing j. This finite principal example illustrates the exact truth criterion without invoking an infinite nonprincipal ultrafilter. The principal ultrafilter reads the orange selected index, even when all factors agree.The principal ultrafilter asks about one designated factorTruth of φ in each indexed factorFactor 0TrueSelected jFactor 1FalseFactor 2FalseFactor 3False|A|=1; |I\A|=3; selected φ: TrueSelected ¬φ: False; ordinary majority for φ: False
Membership means containing j. This finite principal example illustrates the exact truth criterion without invoking an infinite nonprincipal ultrafilter. The principal ultrafilter reads the orange selected index, even when all factors agree.

Every subset either contains the designated index j or has a complement that contains it. Evaluating an equivalence class at j identifies the principal ultraproduct with the jth factor. Majority voting uses a different rule.

Exact principal ultrafilter truth
QuantityExact result
Truth set A{0}
Complement{1, 2, 3}
A belongs to UⱼTrue
Complement belongs to UⱼFalse
Ultraproduct truthTrue
Ordinary majorityFalse
Exact inputs and supporting calculations
Declared inputs
ParameterValue
N4
j0
A[0]

Conversely, when the coordinate existential truth set belongs to U, choose a witness at each such index and any element of each other nonempty domain. Choice gives a tuple. Its matrix is true on a set in U, so the induction hypothesis makes its class a quotient witness. Other Boolean connectives and the universal follow from these clauses. Related reading: [Proper, free and maximal filters](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Ultraproduct equality and atomic interpretation](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Łoś's theorem and transfer](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf). An existential quantified over the quotient uses one product tuple, selected by the coordinate witnesses and choice.

38

Build an infinite ultraproduct of finite linear orders

Index the structures by positive integers n and let each domain be {0,…,n−1} with its usual strict order. Every factor is a nonempty strict linear order, with first and last elements. These clauses are ordinary first-order sentences, true at every index.

By Łoś's theorem their ultraproduct under a nonprincipal ultrafilter is also a strict linear order with first and last elements. For example, the greatest-element sentence asserts some x with y<x or y=x for every y.

For any fixed k≥1, the sentence σ_k requiring at least k distinct elements is true precisely at n≥k, a cofinite index set. Thus each σ_k holds in the ultraproduct. All these size constraints together force its domain to be infinite.

The endpoint properties hold at every index. Each fixed lower size bound holds outside a finite exceptional set. This accounts for both the shared finite-order properties and the infinite resulting domain. Related reading: [Finite and infinite domain constraints](https://builds.openlogicproject.org/open-logic-complete.pdf#page=363), [Proper, free and maximal filters](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Łoś's theorem and transfer](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf). Lower size bounds hold on cofinite sets, while the endpoint axioms hold at every finite stage.

39

Transfer the field axioms to a characteristic-zero ultraproduct

Choose a strictly increasing sequence of primes (p_n) and form the prime fields F_{p_n}. All factors satisfy every field axiom in the ring language. For each fixed axiom its satisfaction set is the whole index set, so Łoś's theorem transfers the field structure.

For a fixed positive integer m, the equation m·1=0 holds in F_{p_n} exactly when p_n divides m. There are only finitely many such indices, since the primes are distinct and all divisors of m are bounded by m.

The nonprincipal ultrafilter excludes that finite set, so the equation fails in the ultraproduct. Equivalently the satisfaction set of its negation is cofinite and belongs to the ultrafilter.

This works for every fixed m≥1. Hence no positive integer annihilates the unit of the ultraproduct, giving a field of characteristic zero even though each factor has a positive prime characteristic. Related reading: [Proper, free and maximal filters](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf), [Łoś's theorem and transfer](https://people.math.wisc.edu/~hkeisler/ultraproducts-web-final.pdf). For a fixed positive integer, only its prime divisors can give zero at the corresponding coordinate.

Compare finite structural maps, diagrams and witnesses with rational-order cuts, finite satisfiability and ultrafilter truth conditions. The exact tables show each required preservation check.

A homomorphism and an embedding preserve different formulas

Every existing edge survives but a nonedge changes

Check preservation and reflection on every ordered pairEvery existing edge survives but a nonedge changes; Loops count as ordered pairs. The image of a loop-free source pair can be a target loop when vertices collapse. Solid arrows are directed relation edges. Dashed arrows are the declared function.Check preservation and reflection on every ordered pair0101Source ETarget GMap: 0 ↦ 0 · 1 ↦ 1Preserves edges: True Reflects edges: False
Loops count as ordered pairs. The image of a loop-free source pair can be a target loop when vertices collapse. Solid arrows are directed relation edges. Dashed arrows are the declared function.

A homomorphism maps positive edge facts to positive edge facts. An embedding also keeps vertices distinct and reflects every relation fact. Surjective embeddings are isomorphisms in this relational signature.

Exact structural map certificate
QuantityExact result
InjectiveTrue
SurjectiveTrue
Edge-preserving homomorphismTrue
Reflects all edgesFalse
EmbeddingFalse
IsomorphismFalse
Exact inputs and supporting calculations
Declared inputs
ParameterValue
N2
M2
E[[0,1]]
G[[0,1],[1,0]]
f[0,1]
All ordered pairs and relation facts
Source pairMapped pairSource edgeTarget edge
(0, 0)(0, 0)FalseFalse
(0, 1)(0, 1)TrueTrue
(1, 0)(1, 0)FalseTrue
(1, 1)(1, 1)FalseFalse

A complete finite diagram can isolate an isomorphism type

A relabeling realizes the complete finite diagram

A complete finite diagram fixes its finite structure up to isomorphismA relabeling realizes the complete finite diagram; All positive and negative edge facts apply. Simply having the same number of edges does not make structures isomorphic.A complete finite diagram fixes its finite structure up to isomorphism012012Required structureCandidate structureWitness tuple (v₀,v₁,v₂)=(2,0,1); every vertex is named.
All positive and negative edge facts apply. Simply having the same number of edges does not make structures isomorphic.

Existentially introduce one witness per original vertex. Assert pairwise distinctness, then use a universal clause to rule out other vertices. Include each true or false relation fact on every ordered tuple so a satisfying assignment induces an isomorphism.

Exact finite-diagram checks
QuantityExact result
Witness variablesv0, v1, v2
Pairwise distinctnessEvery pair of named vertices is unequal.
Universal exhaustiveness∀u (u=v0 ∨ u=v1 ∨ u=v2)
Tested bijections6
Satisfies complete sentenceTrue
Exact witness or obstructionMap 2, 0, 1
Exact inputs and supporting calculations
Declared inputs
ParameterValue
N3
E[[0,1],[1,2]]
M3
G[[2,0],[0,1]]
Exact atomic diagram
Fact
¬E(v0,v0)
E(v0,v1)
¬E(v0,v2)
¬E(v1,v0)
¬E(v1,v1)
E(v1,v2)
¬E(v2,v0)
¬E(v2,v1)
¬E(v2,v2)
Candidate bijection checks
Images of the complete tupleMismatched ordered pairs
0, 1, 2(1, 2) · (2, 0)
0, 2, 1(0, 1) · (0, 2) · (1, 0) · (1, 2)
1, 0, 2(0, 1) · (1, 0) · (1, 2) · (2, 1)
1, 2, 0(0, 1) · (2, 0)
2, 0, 1None
2, 1, 0(0, 1) · (0, 2) · (1, 2) · (2, 1)

A finite partial order isomorphism extends by finding a witness in its cut

Two bounds use density

Extend the finite correspondence by inserting a rational in the cutTwo bounds use density; Density supplies a rational strictly between both target bounds. A finite displayed map is not a finite model of dense linear order without endpoints. Each line preserves its own order and scale. Orange open marks exclude the finite bounds.Extend the finite correspondence by inserting a rational in the cutSource orderTarget order042-121/2Open cut (-1, 2); green point = new target.
Density supplies a rational strictly between both target bounds. A finite displayed map is not a finite model of dense linear order without endpoints. Each line preserves its own order and scale. Orange open marks exclude the finite bounds.

Preserve every old order comparison with the new point. Its target must lie in the corresponding cut, which is bounded by the images of the nearest mapped neighbors if they exist.

Exact back-and-forth extension
QuantityExact result
New input2
Tight lower target bound-1
Tight upper target bound2
Required cut(-1, 2)
Chosen new target1/2
Required axiomDensity
Exact inputs and supporting calculations
Declared inputs
ParameterValue
from[0,4]
to[-1,2]
x2

An existential witness outside a substructure can refute elementarity

The witness exists only outside the subset

A restricted witness test can pass while elementarity failsThe witness exists only outside the subset; For a proper finite domain, listing all inside parameters gives a separate equality formula that sees an outside point.A restricted witness test can pass while elementarity fails01201Full structureInduced structure∃y E(0,y): True in full, False in subset.∃z (z≠a₀ ∧ z≠a₁), with a₀=0, a₁=1, differs.Elementary: no.
For a proper finite domain, listing all inside parameters gives a separate equality formula that sees an outside point.

Being induced preserves relation facts on tuples already inside the smaller structure. Elementarity compares every formula with permitted parameters. A proper finite substructure fails the equality demand for a new point outside its entire old domain.

Exact existential witness and elementarity
QuantityExact result
Full witnesses{2}
Subset witnesses{}
Truth of ∃y E(a,y) in full structureTrue
Truth of ∃y E(a,y) in subsetFalse
Elementary inclusionNo; proper finite subset.
Equality counterformula when proper∃z (z≠a₀ ∧ z≠a₁) with a₀=0 and a₁=1 is true in the full structure and false in the induced structure.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
N3
E[[0,2]]
S[0,1]
a0

Every finite part can fit a model while the full set requires infinity

Too few elements for this finite fragment

The distinct-names theory has arbitrarily large finite fragmentsToo few elements for this finite fragment; Every finite fragment uses finitely many names. Taken together, the entire infinite set of pairwise inequalities demands infinitely many elements.The distinct-names theory has arbitrarily large finite fragmentsc0c1c201Names in the finite prefixPositions in the candidate domainc2 has no free position.This prefix cannot fit. The full theory requires infinitely many distinct positions.
Every finite fragment uses finitely many names. Taken together, the entire infinite set of pairwise inequalities demands infinitely many elements.

Each unordered pair of names contributes one inequality. An injective assignment exists exactly when the domain has at least as many elements as names. The full theory rules out every finite candidate by a sufficiently long prefix.

Exact finite satisfiability certificate
QuantityExact result
Names in the requested prefixc0, c1, c2
Distinct pair constraints3
Smallest satisfying domain3
Candidate acceptedFalse
Full theoryAll names can denote distinct natural numbers; no finite domain can provide them.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
k3
m2

An ultraproduct uses an ultrafilter, not majority vote

One true principal factor overrides a false majority

The principal ultrafilter asks about one designated factorOne true principal factor overrides a false majority; Membership means containing j. This finite principal example illustrates the exact truth criterion without invoking an infinite nonprincipal ultrafilter. The principal ultrafilter reads the orange selected index, even when all factors agree.The principal ultrafilter asks about one designated factorTruth of φ in each indexed factorFactor 0TrueSelected jFactor 1FalseFactor 2FalseFactor 3False|A|=1; |I\A|=3; selected φ: TrueSelected ¬φ: False; ordinary majority for φ: False
Membership means containing j. This finite principal example illustrates the exact truth criterion without invoking an infinite nonprincipal ultrafilter. The principal ultrafilter reads the orange selected index, even when all factors agree.

Every subset either contains the designated index j or has a complement that contains it. Evaluating an equivalence class at j identifies the principal ultraproduct with the jth factor. Majority voting uses a different rule.

Exact principal ultrafilter truth
QuantityExact result
Truth set A{0}
Complement{1, 2, 3}
A belongs to UⱼTrue
Complement belongs to UⱼFalse
Ultraproduct truthTrue
Ordinary majorityFalse
Exact inputs and supporting calculations
Declared inputs
ParameterValue
N4
j0
A[0]

Worked examples

Evaluate a formula in two finite structures

In a signature with unary P, unary function f and constant c, take domain {0,1,2}, c=0 and f cycling 0→1→2→0. Compare P={0,2} and P={0,1}. Evaluate P(f(f(c))) and ∀x(P(x)→P(f(x))) in each.

  1. The constant c denotes 0. Applying f once gives 1 and applying it again gives 2. Thus P(f(f(c))) is the membership test for 2.
  2. The first interpretation includes 2 in P, so the atomic sentence holds. The second P={0,1} excludes 2, so the same sentence fails with all other symbols interpreted identically.
  3. For the first interpretation, choose x=0. Its antecedent P(0) is true, but f(0)=1 and 1 is outside P. The conditional fails for that value, so the universal is false.
  4. For the second interpretation choose x=1. Then P(1) is true, whereas f(1)=2 lies outside P. This is a different counterassignment to the same universal, which therefore fails again.

The atomic sentence is true for P={0,2} and false for P={0,1}. The universal sentence is false in both structures.

Check candidates for a substructure

In (ℤ,0,+,−) with usual constants and group operations, check 2ℤ, the set {0,1}, and the nonnegative integers as candidate substructures. Exhibit one closure or codomain witness in each case.

  1. A substructure of this group must contain the named zero and be closed under addition and negation. The operations in the subset must agree with the original ones.
  2. For the even integers, zero is even. The sum 2m+2n=2(m+n) is even and the negation −2m=2(−m) is even. Thus every required operation stays inside.
  3. The set {0,1} contains zero but 1+1=2 is outside it. Therefore the restricted addition operation would be undefined on that input tuple as a map into the candidate set.
  4. The nonnegative integers contain zero and are closed under addition, but −1 is outside despite 1 being inside. They could carry an addition-only structure but fail for the required negation symbol.

Only the even integers form a substructure in the stated group language.

Exhibit an embedding with an existential failure

Embed M=({0,2},<) in N=({0,1,2},<) by inclusion. Check an atomic formula with parameters 0 and 2, then compare ∃x(0<x∧x<2) and identify the inference the embedding preserves.

  1. The shared parameters have the same order in both domains. In particular 0<2 is true in both and 2<0 is false in both. Identity of old points agrees too.
  2. The map is injective and the two-point order is the induced order on its image. Hence it is an embedding and the quantifier-free clauses with parameters remain true or false together.
  3. In M the only possible values for x are 0 and 2. The first violates 0<x and the second violates x<2. Thus no witness exists there.
  4. In N the value 1 satisfies both inequalities. The original parameter tuple has the same atomic properties, but the larger quantifier range supplies another witness. This embedding is therefore not elementary.

The inclusion preserves and reflects all comparisons on the old points, while the intermediate-point existential is false in M and true in N.

Eliminate a simple dense-order quantifier

In DLO simplify ∃x(a<x∧x<b∧x≠c) to a quantifier-free formula in a,b,c. Prove each direction including the case where c lies in the given interval.

  1. If a witness x satisfies a<x and x<b, transitivity gives a<b. The further requirement x≠c cannot weaken this necessary condition.
  2. Now assume a<b. If c is outside the open interval (a,b), density gives an x strictly between a and b, and that x automatically differs from c.
  3. If a<c<b, density between a and c gives an x with a<x<c. Then x<b follows and x differs from c by strict inequality. Thus an admissible witness exists in this case as well.
  4. Both cases give the existential whenever a<b, while failure of this strict comparison leaves no witness. The equivalent quantifier-free formula is the atomic comparison a<b.

The existential is equivalent to a<b in dense linear orders without endpoints.

Extend a finite partial order isomorphism

In two copies of (ℚ,<), start with −2↦0 and 3↦4. Extend first to include 1 on the left, then to include 6 on the right. Give explicit choices and explain all necessary order inequalities.

  1. The left point 1 is strictly between −2 and 3. Its image must therefore lie strictly between the corresponding values 0 and 4 in the right copy.
  2. Choose 2 as the image of 1. It is a rational in the required gap and is unused. The three source points −2<1<3 now correspond to 0<2<4 respectively.
  3. The new right point 6 exceeds all current images, in particular 4. To put it in the range, choose a source point strictly greater than 3. Choose the rational 4 in the left copy.
  4. The resulting sorted map is −2↦0, 1↦2, 3↦4, 4↦6. On each side all four values are distinct, and every strict comparison follows by their listed order. This is one forward extension and one backward extension.

One extension is 1↦2 followed by 4↦6. These assignments preserve the sorted order of both finite subsets.

Write a full finite graph description

For the simple three-vertex path a—b—c, give a one-sentence diagram with three distinct witnesses, covering the entire domain and giving all directed adjacency values. Show it rejects the triangle on three vertices.

  1. Start the sentence with ∃x∃y∃z. Require x,y,z pairwise distinct and use ∀u(u=x∨u=y∨u=z) to ensure that they enumerate the entire domain.
  2. Conjoin ∀u∀v[R(u,v)↔((u=x∧v=y)∨(u=y∧v=x)∨(u=y∧v=z)∨(u=z∧v=y))]. This fixes all nine truth values of the adjacency table.
  3. In the path, take its successive vertices as x,y,z. Their two symmetric edges give precisely those four ordered pairs. In any model, the coverage and distinctness clauses transport this exact table to the three named vertices.
  4. A simple triangle has an edge between every two of its distinct vertices. For any chosen x and z in such a triangle, R(x,z) is true, but the biconditional forces it false. Hence the triangle fails the sentence.

Use a coverage clause and an adjacency biconditional specifying exactly the four oriented edge pairs. This forces a three-point path.

Form a term-model quotient by an exact equality theory

In the language with constant c and unary f, suppose the complete truth theory of the two-element toggle gives f(f(c))=c and f(c)≠c. Identify all closed-term classes, define f on them and verify the two equations.

  1. Each closed term is f iterated a finite number of times on c because there are no other nonlogical term constructors. In the toggle structure its value depends only on whether the iteration count is even or odd.
  2. The equality f(f(c))=c, together with compatibility of equality with f, reduces every even iterate to the class of c and every odd iterate to the class of f(c). The sentence f(c)≠c keeps the two classes distinct.
  3. The interpreted f sends [c] to [f(c)] and sends [f(c)] to [f(f(c))]=[c]. The result is independent of the selected term representative because congruent words have the same toggled value.
  4. Therefore f applied twice to the class of c gives that same class, while one application gives the other class. This verifies the proposed equality and disequality in the quotient.

There are exactly two classes, [c] and [f(c)]. Applying f exchanges the two classes.

Use a finite fragment of nonstandard arithmetic

Take the finite added inequalities d>0,d>3,d>7 and 8<d. Give a standard interpretation of d satisfying the fragment, and explain why no one standard interpretation satisfies all d>n.

  1. The largest named lower bound in the fragment is 8, since 8<d is another way to write d>8. Choosing d=9 places it strictly above that bound and the earlier bounds 0,3,7.
  2. Adding this interpretation changes none of the old arithmetic symbols. Therefore any previously true arithmetic sentence from the finite fragment remains true in the standard structure.
  3. The same procedure works for any finite list by finding its largest bound and adding one. This is the finite satisfiability needed in compactness.
  4. If d were some standard natural m satisfying all inequalities, its own numeral m would occur among the required lower bounds. The inequality d>m would then read m>m, which fails.

Interpret d as 9 for the given fragment. Every standard natural is itself some numeral, so the whole family of strict lower bounds has no standard interpretation.

Realize a finite set of order constraints

In (ℚ,<) with named rationals 0, 1 and 2, consider x>0, x<2, and x≠q for every rational q in (0,2). Produce a witness avoiding any finite set of forbidden q and explain why the whole type is omitted in ℚ.

  1. The two strict bounds require the witness to lie in (0,2). The sequence 1,1/2,1/3,… gives distinct rational points there.
  2. For a finite set of m forbidden values, choose from the first m+1 of those candidates. At least one is outside the forbidden set, so that candidate satisfies the given finite exclusions as well as both inequalities.
  3. Any rational satisfying both inequalities is itself one of the parameters q in the complete list of exclusions. The condition x≠q fails when q is that chosen value.
  4. So each finite subfamily is realized in the current rational order, but the whole type is omitted. In an elementary extension a new witness can lie between 0 and 2 while differing from every old rational there.

A rational interval contains arbitrarily many distinct candidates, so each finite set of exclusions can be avoided. The full type excludes every possible rational witness.

Defeat a finite set of reachability axioms

If a fragment demands no a-to-b walk of lengths 0 through 4, give a connected finite graph and two vertices satisfying it. State which shortest-path facts establish the claim.

  1. Take vertices {0,1,2,3,4,5} and include an edge between adjacent integer labels. This finite simple graph is connected because moving along consecutive labels reaches any other vertex.
  2. Let a=0 and b=5. Every step of a walk changes a label by +1 or −1. A net difference of five cannot be obtained in fewer than five steps.
  3. In particular a and b are distinct, so a walk of length zero is absent. Walks of lengths one through four are also absent by the step bound.
  4. The walk 0,1,2,3,4,5 has length five and verifies the endpoint distance exactly. The graph meets all finite forbidden lengths in the exercise while preserving actual connectivity.

Use the path with six successive vertices 0 through 5 and name its endpoints a,b. Their distance is five.

Evaluate an ultraproduct relation on concrete sequences

For N_n=({0,…,n},<) indexed by n≥1, take x_n=0, y_n=n and z_n=1. In the ultraproduct by a nonprincipal ultrafilter, decide x<z, z<y and z=y. Show the index sets that determine each answer.

  1. For x_n=0 and z_n=1, the inequality x_n<z_n is true at every index n≥1. Its satisfaction set is the whole index set, which belongs to the ultrafilter.
  2. The inequality z_n<y_n is 1<n. It holds precisely for n≥2, the complement of the single first index. That set is cofinite and belongs to every nonprincipal ultrafilter on these indices.
  3. The equality z_n=y_n holds only at n=1. The singleton is finite and so is absent from the nonprincipal ultrafilter. The two product tuples therefore determine different classes.
  4. By the ultraproduct truth criterion the two strict inequalities hold in the quotient, and the equality fails. A coordinate exception at a single index does not change the first-order comparison in this example.

The ultraproduct satisfies x<z and z<y, and the classes of z and y are distinct.

Evaluate one characteristic equation across prime fields

In the prime-field ultraproduct over an increasing sequence of primes, analyze the satisfaction set of 6·1=0. State the resulting value and how the exact argument generalizes to every fixed positive integer.

  1. In a prime field F_p, the unit is the residue class of 1. The term 6·1 evaluates to the residue class of 6, which is zero precisely when p divides 6.
  2. The prime divisors are 2 and 3. Therefore the satisfaction set of 6·1=0 consists of whichever indices in the given sequence carry those primes. Because the sequence increases strictly it has at most two indices.
  3. A nonprincipal ultrafilter excludes every finite index set. Łoś's theorem now shows that 6·1=0 is false in the quotient field. Its negation holds at all but finitely many indices.
  4. For any fixed positive integer m, only its finitely many prime divisors can make m·1 vanish. Applying the same test for each m shows that no such multiple vanishes in the ultraproduct.

The equation is satisfied only at indices with prime 2 or 3. This finite set is excluded by the ultrafilter, and every fixed positive integer yields the same finite-set argument.

Try it yourself

  1. For a signature with a binary relation R and unary function f on {a,b}, suppose the R-table lists (a,b) and f is defined only at a. Explain which parts define a structure, complete the function in two ways and give a sentence distinguishing them.

    Show the answer and reasoning

    The relation table is valid but the function must be total. Two choices for f(b) are separated by a sentence testing whether the second entry of R is fixed.

    A binary relation on {a,b} is a subset of its square, so the table containing just (a,b) is a valid interpretation. It need not give a related point for every input. A unary function must instead give exactly one output in the domain for every element. The row for input b is missing, so the original table does not yet give a structure. Keep the stated value at a in both completions. In one assign f(b)=b, and in the other assign f(b)=a. These choices make total functions because the only missing input had two allowable domain values. The sentence ∃u∃v(R(u,v)∧f(v)=v) can hold only for u=a and v=b in either completed structure. It holds when f(b)=b and fails when f(b)=a. Thus two completions of the same partial table can give different truth.

  2. Use the language with unary P and distinct two-element domains. Give an injective homomorphism that does not reflect P and demonstrate a concrete failure of quantifier-free truth reflection.

    Show the answer and reasoning

    Map a to u and b to v, with P true only at a in the source and at both target points. The target value v satisfies P but the corresponding b does not.

    Take source A={a,b} with P^A={a}, and target B={u,v} with P^B={u,v}. Let h(a)=u and h(b)=v. This is an injective function. Every true source instance of P maps to a true target instance because the only such point is a and u is in P^B. There are no other nonlogical symbols to preserve. However P(h(b)) holds while P(b) fails in the source. Therefore h is a homomorphism without relation reflection, and the atomic formula already exhibits the failure. The negated formula ¬P(x) at b is true in A but false at its image v. Injectivity handles equality reflection, while the example shows the separate requirement for reflection of relations.

  3. Give a first-order sentence true in (ℕ,<) and false in every nonempty finite linear order. Prove each direction without using infinite-length syntax.

    Show the answer and reasoning

    Use ∀x∃y(x<y). It holds in the usual natural order and fails at the greatest element of every finite nonempty linear order.

    The sentence uses two quantified variables and the one relation symbol <. Its meaning is that each element has a strictly larger one. In (ℕ,<) a suitable witness y is x+1 for each assigned x. Hence the universal sentence is true there. A nonempty finite linear order has a greatest point: scan its finite list and retain the larger point in each successive comparison. The retained value at the end dominates the whole list. For that greatest point no larger y exists, so the same formula is false in each finite nonempty linear order. Its expression uses only the order relation, even though arithmetic supplied a witness in ℕ.

  4. If a linear order has a greatest point, prove any isomorphic order has one. Use the inference to distinguish (ℚ,<) from the order on ℚ with one additional greatest element.

    Show the answer and reasoning

    A greatest element maps to a greatest element. The rational order lacks one, while the extended order has the adjoined point.

    Let h:A→B be an order isomorphism and suppose g is greatest in A. Take any b∈B. By surjectivity it has the form h(a) for some a∈A. If a=g, then b=h(g). Otherwise a<g, and preservation of strict comparison gives b<h(g). Thus every b is less than or equal to h(g). The ordinary rational order has no greatest point because q+1 is strictly larger than any rational q. In the order with a new top point, that point is greater than every rational. If the two were isomorphic, apply the preservation argument to the inverse isomorphism from the extended order. The new greatest point would have a greatest rational as its image, contradicting its absence.

  5. For named rationals a<b, characterize each subset of ℚ defined by a one-variable formula with these two parameters. In particular, decide whether the singleton at their rational midpoint is definable from a,b.

    Show the answer and reasoning

    The definable subsets are exactly unions of the five order regions determined by a,b. The midpoint singleton lies inside one region and is not definable from those parameters.

    For a<b the five regions are x<a, x=a, a<x<b, x=b and b<x. They are disjoint and cover the rational domain. All points in any one region have the same complete order pattern over a,b. By quantifier elimination, any formula in one variable with these parameters is constant in truth on that entire region. Each region is individually definable by its stated condition. A disjunction of finitely many such conditions expresses every union of regions, with falsity for the empty union. The midpoint (a+b)/2 is strictly inside the open interval from a to b. Density gives another rational in that same interval, with the same pattern. Therefore the two original parameters cannot isolate the midpoint as a singleton.

  6. In two dense linear orders without endpoints, suppose a₁<a₂<a₃ corresponds to b₁<b₂<b₃. If a witness lies strictly between a₂ and a₃, show which requirements determine a matching witness on the second side.

    Show the answer and reasoning

    Choose a matching point strictly between b₂ and b₃. Density ensures one, and all its other required comparisons then follow.

    The given witness x is greater than a₂ and less than a₃. It is also greater than a₁ by transitivity. None of the three equalities to the old points hold. The matching point y in the second order must therefore satisfy b₂<y<b₃. Then b₁<y follows because b₁<b₂. Strict inequalities ensure that all three matching equalities fail. Density in the second order supplies a y in that interval. There are no other order or equality conditions relative to the given finite tuple, so this one choice realizes the full extended pattern. Extending the correspondence by x↦y preserves all comparisons involving the new element and the existing three elements. It also leaves old comparisons unchanged, yielding a finite partial order isomorphism.

  7. In the language of equality alone, show that a structure of size 2 and one of size 3 disagree on a single sentence. Explain why finite equality patterns still require the correct number of available distinct elements.

    Show the answer and reasoning

    The sentence asserting three distinct elements holds in the size-three structure and fails in the size-two structure.

    Write ∃x∃y∃z(x≠y∧x≠z∧y≠z). This is a sentence of the pure-equality language, because disequality abbreviates negated equality. A domain with three elements realizes the sentence by assigning a different one to each variable. In a two-element domain at least two of the three assigned values must coincide. The sentence asks to realize the pattern with three separate equality classes. With two available elements, that pattern is impossible regardless of how the variables are named. Patterns with fewer classes can occur in both domains, but this specific finite pattern distinguishes their sizes. An argument equating truth in infinite pure-equality domains relies on the ability to supply any finite number of fresh points.

  8. Consider the inclusion of the one-point order {0} in (ℚ,<). Exhibit a parameter formula violating the Tarski–Vaught criterion and state the interpretation in both domains.

    Show the answer and reasoning

    The larger order satisfies ∃x(0<x) with named parameter 0, and the singleton has no matching witness.

    The inclusion of {0} into the rational order is a substructure inclusion for the strict order relation. On the only old pair (0,0) the relation is false on each side. In ℚ the formula ∃x(0<x) is true, since the rational 1 satisfies its matrix. Its only parameter 0 belongs to the smaller domain. The only available candidate in {0} is 0 itself, and 0<0 is false by irreflexivity. Hence no smaller-domain witness has the required truth even in the ambient structure. This violates the Tarski–Vaught condition, so the inclusion is not elementary. The base atomic facts about old parameters stay identical through the same inclusion.

  9. In a countable language and starting with two parameters, show at each stage the number of potential existential formulas and basic operation values stays countable. Explain why taking the union reaches every finite parameter tuple.

    Show the answer and reasoning

    Finite tuples and formulas over a countable stock of symbols form countable sets. Each stage adds at most countably many points and the union contains every finite tuple at some finite stage.

    At the start there are two given parameters, one domain point to ensure a nonempty structure if needed, and at most countably many interpretations of constants. Thus the first collected set is countable. At a countable stage, tuples of each fixed finite arity form a countable set. The countable union over finite arities stays countable using the given enumeration scheme or countable choice in ZFC. A term or formula is a finite string in a countable stock, and each parameter occurrence may be named by a member of a countable set. The number of existential formulas with current parameters and basic function applications is therefore at most countable. Adding one witness or value for each preserves this bound. The union over the natural stages is countable in ZFC. Every point in a finite tuple belongs to some stage and the largest of those finitely many stage indices contains the tuple. Thus the next step of the construction can address any required witness for that tuple.

  10. Suppose both choices T∪{φ} and T∪{¬φ} fail finite satisfiability. Extract two finite subfamilies of T and prove their union is unsatisfiable.

    Show the answer and reasoning

    Failure of both signs gives two finite old fragments whose union cannot be satisfied. If T is finitely satisfiable, this is a contradiction.

    If T∪{φ} fails, take a finite unsatisfiable subset. Let U be its intersection with T. Adjoining φ if needed preserves unsatisfiability, so U∪{φ} is unsatisfiable with U a finite subset of T. Likewise a finite unsatisfiable subset of T∪{¬φ} is V∪{¬φ} for some finite V⊆T. Both U and V belong to the original side of the construction. If a structure satisfied U∪V, its truth value for φ would be true or false. In the first case it would satisfy the impossible U∪{φ}, and in the second it would satisfy the impossible V∪{¬φ}. Hence U∪V is an unsatisfiable finite subset of T. If T is finitely satisfiable, this is a contradiction. In that case, at least one of the two signs can be added while preserving finite satisfiability.

  11. In a language with unary P, add the witness implication ∃xP(x)→P(c) for fresh c. Explain how a structure expands when P is empty or nonempty, without changing its original interpretation.

    Show the answer and reasoning

    Name a P-point when one exists. When P is empty, the implication is true regardless of the chosen interpretation of c.

    The fresh name c occurs only in the added implication. The structure already determines whether its domain has an element in the interpreted subset P. If P is nonempty, choose an element a∈P and set c^M=a. The antecedent ∃xP(x) is true, and the consequent P(c) is true with this name. If P is empty, choose any element to interpret c, which is possible because the domain is nonempty. The antecedent is false and the material implication holds. In both cases the reduct keeps exactly the old domain and P-interpretation. Satisfaction of each old-language formula is therefore independent of the newly assigned value of c.

  12. Suppose M with parameters a,b satisfies ∃x R(a,x,b), and N satisfies the elementary diagram with constants for all elements of M. Prove the corresponding formula in N and compare the role of its atomic diagram.

    Show the answer and reasoning

    The elementary diagram preserves the named existential directly. In this case its atomic diagram also supplies a named positive witness.

    With the names c_a and c_b, the original statement becomes the expanded sentence ∃x R(c_a,x,c_b). It is true in the named M and so belongs to the elementary diagram. Any structure N satisfying that diagram satisfies this very sentence. Thus the corresponding images of a and b have a related witness in N. For the positive atomic matrix in this example, choose an actual witness w in M. The signed atomic diagram contains R(c_a,c_w,c_b), which also transfers the existential by using the corresponding named witness in N. The broader elementary diagram conclusion covers arbitrary parameter formulas and their negations. An atomic diagram only fixes the induced image. It can transfer this positive atomic witness without determining whether a larger domain creates witnesses to other quantifier conditions.

  13. Given the sentences requiring at least n distinct elements for n≥1, describe a finite structure witnessing any finite fragment and explain why the entire set has only infinite models.

    Show the answer and reasoning

    For any finite fragment, take a domain at least as large as its largest listed bound. A finite domain eventually fails a larger bound.

    Let the fragment mention bounds n₁,…,n_m, and choose N=max(1,n₁,…,n_m), using 1 if no bound is present. A structure with exactly N points satisfies all those individual existence statements. For example take an equality-only structure on {0,…,N−1}. If a fixed additional signature is required without further axioms, interpret constants and functions by an available fixed point and relations as empty. A finite structure of size q fails the sentence for n=q+1 because a tuple of q+1 values from q points has a repetition. Thus no finite model satisfies the full family. Every infinite structure has at least n distinct values for each fixed n. It therefore satisfies the entire scheme. The finite checks differ from the full requirement because the size needed grows with the selected fragment.

  14. For a simple cycle of length 7, prove it has no odd closed walk of length 1, 3 or 5, yet is not bipartite. Explain why the claim concerns walks even if vertices repeat.

    Show the answer and reasoning

    An odd walk of length below 7 cannot return to its cyclic index. The full seven-edge walk returns and is odd, so the cycle is not bipartite.

    Label the vertices by residues modulo 7. Each edge step changes the label by 1 or −1. This holds also when a walk revisits a vertex or reverses direction. A closed walk of length k therefore has a sum of k signs divisible by 7. For k=1,3,5 the absolute sum is at most k<7, so the only possible multiple is zero. However a sum of an odd number of signs is odd, and cannot be zero. Hence no closed walk has any of those three lengths. Traversing the seven edges cyclically gives a closed walk of length 7. Under a bipartition every edge changes the part, so any closed walk has even length. This witness excludes bipartiteness.

  15. For the ring-language inequalities n·1≠0 with n∈{1,2,4,6,10}, give a prime field satisfying them, and exhibit one different prime field failing at least one.

    Show the answer and reasoning

    The field F₁₁ satisfies all the inequalities. The field F₂ fails the inequality for n=2 and other even entries.

    In the prime field F_p, n·1 is the residue of n modulo p. For n positive, it is zero exactly when p divides n. Taking p=11, the integers 1,2,4,6,10 lie strictly between 0 and 11, so none is divisible by 11. All required inequalities therefore hold. Taking p=2, the unit added to itself is zero. Thus 2·1≠0 fails, and so do the inequalities for 4,6 and 10. This finite check depends only on the named integers. The larger-prime choice can work for every fixed finite list even though that field has its own positive characteristic.

  16. For a nonprincipal ultrafilter on ℕ, decide whether {0,1}, ℕ\{0,1} and ℕ belong to it. Explain why its complement decision alone does not specify whether the even numbers belong.

    Show the answer and reasoning

    The two-point set is excluded, and its cofinite complement and ℕ are included. Exactly one parity class is included, with either choice possible in some nonprincipal ultrafilter.

    A nonprincipal ultrafilter on ℕ contains no finite set, so {0,1} is excluded. The complement decision then puts ℕ\{0,1} in the ultrafilter. By the filter axioms ℕ belongs to it. Even numbers and odd numbers are complements of one another, so exactly one of the two sets belongs to a given ultrafilter. Neither is finite or cofinite, so the previous size tests do not determine the choice. To obtain an example containing the evens, adjoin the evens to the cofinite filter and generate the corresponding filter. Intersecting the evens with any cofinite set gives infinitely many points, so the generated filter is proper. Zorn's lemma extends it to a nonprincipal ultrafilter because all cofinite sets are retained. The same argument starting from the odds gives an ultrafilter containing the odds. Thus complement decision itself selects no fixed parity.

  17. Suppose coordinate structures satisfy ∃x P(x) on a set J in the ultrafilter. Construct a product tuple witnessing the existential in the quotient and explain why the values outside J can be arbitrary.

    Show the answer and reasoning

    Choose a P-witness at each index of J and any domain element at other indices. The resulting quotient class satisfies P.

    For each i∈J choose a_i from the nonempty interpreted P-set in M_i. At other indices choose a_i from the nonempty domains. The stated use of choice produces one full tuple a. The set {i:M_i satisfies P(a_i)} contains J because each selected value on J was a witness. Some additional coordinates may also satisfy P. Since J is in the ultrafilter and filters are closed upward, the entire displayed set belongs to the ultrafilter. Therefore P([a]) holds by the quotient relation definition. The quotient now satisfies ∃xP(x) by the witness [a]. The values outside J need no matching property because including or excluding them cannot change membership of a superset of J in this case.

  18. For structures of lengths n+1 and nonprincipal ultrafilter on n∈ℕ, compute the satisfaction index set of the sentence requiring at least k elements. Use the exact set to infer each such sentence in the ultraproduct.

    Show the answer and reasoning

    The satisfaction set is {n∈ℕ:n+1≥k}, which is cofinite for each positive k. Therefore the quotient has at least k elements for every k.

    Write σ_k for the sentence asserting k pairwise distinct elements. At coordinate n the available domain size is n+1, so a tuple of k different values exists exactly when n+1≥k. For k=1 all indices qualify. For k≥2 the failing indices are 0 through k−2, a finite set. Thus the satisfaction set is cofinite in each case. A nonprincipal ultrafilter contains that cofinite set. Applying Łoś's theorem yields σ_k in the ultraproduct for the specified k. Since this applies independently to each positive k, a finite quotient size q would contradict its satisfaction of σ_(q+1). Hence the quotient domain is infinite.

What to carry forward

  • A signature fixes symbol arities, while each structure supplies their actual interpretations.
  • An elementary embedding preserves formulas with parameters, including their quantified truth.
  • Dense-order gaps determine all one-variable definable regions over finitely many named points.
  • A union of an elementary chain keeps the truth of any formula at each earlier stage.
  • A finitely satisfiable first-order theory has a model by the witness and term-structure construction.
  • Elementary diagrams preserve the exact named original structure when adding new witnesses.
  • Compactness compares every finite fragment with a proposed global requirement.
  • Ultraproduct truth of a fixed formula is determined by its coordinate satisfaction set in the specified ultrafilter.

References

Sources for the concepts and teaching approaches in this article.

  1. Truth preservation under structure mapsAlex KruckmanPrimary · PDFakruckman.faculty.wesleyan.eduRead source
  2. Reducts and expansionsH. Jerome KeislerPrimary · PDFpeople.math.wisc.eduRead source
  3. Dense-order extension and quantifier eliminationStefan GeschkePrimary · PDFmath.uni-hamburg.deRead source
  4. Open Logic Project6 sources
    1. Finite satisfiability and first-order compactnessOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source
    2. Finite and infinite domain constraintsOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source
    3. Term interpretation and variable assignmentsOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source
    4. Elementary equivalence and structure isomorphismOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source
    5. Counting finite tuples of symbols and parametersOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source
    6. Cardinality bounds for finite tuples over infinite setsOpen Logic ProjectPrimary · PDFbuilds.openlogicproject.orgRead source