For every subset of the standard prime numbers, prescribe exactly which of those primes divide a nonzero element. Every finite prescription is realized by the product of its finitely many positive divisibility requirements. Compactness theorem extends each prescription to a complete one-type of the complete theory of the integer ring. Different subsets give incompatible partial types. The countable first-order language supplies the matching upper bound.
Diagram embedding criterion for universal theories Created 2026-10-06 Updated 2026-10-31
A first-order structure embeds into a model of exactly when . For the nontrivial direction apply the compactness theorem to . If a finite diagram conjunction were inconsistent with , its universal negation after replacing the new constants by variables would belong to and contradict its truth in .
Suppose a first-order theory characterized equivalence relations with exactly one infinite class. Name two inequivalent points and require each named class to have at least elements for every positive integer . Every finite subset is satisfied with one infinite class and a sufficiently large finite class. Compactness theorem would produce a first-order model with two infinite classes, a contradiction.
Existential embedding 2026-10-14
An embedding of first-order structures is existential when every existential formula with parameters from the source has the same truth value in the source and target. Forward preservation follows from being a structure embedding; reflection is the additional requirement. Applying compactness theorem to the target's diagram of a structure and the source's elementary diagram places the target inside an elementary extension of the source.
If a first-order theory had exactly the finite structures in a class containing arbitrarily large members, adjoin constants and require them to be pairwise distinct. Every finite fragment has a sufficiently large finite model, while compactness produces an infinite model, a contradiction. In particular, finite groups are not first-order axiomatizable.
If a universal first-order theory in a first-order language with a constant entails an existential sentence with quantifier-free matrix, it entails a finite disjunction of closed-term instances of that matrix. Otherwise a first-order model of the first-order theory and all negated ground instances would have a ground-term substructure satisfying the first-order theory. An existential witness there is a tuple of closed-term values, contradicting its negated ground instance. Compactness theorem extracts finitely many instances.
An involution partitions its set into fixed points and pairs exchanged by the function. If there is exactly one fixed point, every finite model has odd size. Conversely any finite set of odd size admits such a function by pairing all but one element. The first-order sentence consequently has exactly the positive odd finite model sizes. Its arbitrarily large finite models imply an infinite model by the compactness theorem.
Łoś-Tarski preservation theorem Created 2026-10-05 Updated 2026-10-06
A first-order theory has its class of first-order models closed under substructures of a first-order structure exactly when it is equivalent to its universal consequences . If , then is consistent. Otherwise a finite logical conjunction of signed diagram of a structure sentences yields a universal consequence false in . The compactness theorem gives a first-order model of containing an embedded copy of , and closure under substructures of a first-order structure implies . The converse is preservation of universal sentences. The diagram of a structure must include negated as well as positive atomic sentences so that the resulting map is an embedding, not just a homomorphism.
The class of torsion-free abelian groups has an infinite first-order axiomatization but no finite axiomatization. Add for every positive integer to the abelian group axioms. If an equivalent finite theory existed, compactness would make it follow from finitely many of these conditions. A cyclic group of prime order larger than the finitely many integers mentioned satisfies those conditions but has torsion, a contradiction.
Name every integer and add a new constant asserted to be prime and unequal to every named integer. Every finite part is satisfied by an ordinary prime outside a finite list, using Euclid's theorem. Compactness theorem with the elementary diagram gives an elementary extension with the desired prime. A countable elementary substructure retaining that prime cannot be isomorphic to the integer ring, since any unital ring isomorphism fixes every standard integer.
A group admits a two-sided invariant total order exactly when every finite list of nonidentity elements can be signed so that the conjugation-invariant semigroup generated by the signed elements excludes the identity. A compactness theorem argument supplies a compatible global sign assignment. Omitting the conjugates changes the criterion to a different orderability problem.
The compactness theorem says that a set of first-order sentences has a first-order model if and only if every finite subset of has a first-order model. One direction follows by using the same first-order model for each subset.
For the nontrivial direction suppose every finite subset has a first-order model, but has none. Semantically , so completeness gives a formal logical derivation . A formal logical derivation is finite and uses only finitely many assumptions, say . Thus . Soundness would make unsatisfiable, contradicting the hypothesis. Here can be any fixed contradictory first-order sentence, such as , if it is not a primitive logical symbol. Therefore finite satisfiability implies satisfiability.
Suppose such a first-order theory existed. Add two new constants and consider
where is the finite lower-bound logical formula from (iii).
Every finite subset of has a first-order model. Choose a first-order structure with exactly two equivalence classes: one countably infinite, and one finite of size at least the largest bound appearing in that subset. Interpret in the infinite class and in the finite class. The first-order structure satisfies all of , by its assumed characterization, and meets the finite demands on both named classes.
Compactness theorem in the language with the two new constants gives a first-order model of all of . Its classes of and are distinct and both infinite. Its reduct still satisfies , which is impossible if characterizes exactly one infinite class. Hence
The finite approximations work because any finite list of lower bounds permits the second class to remain finite; the entire list prevents that escape.
No finite axiomatization exists. Write for the axioms just constructed and suppose a finite set of first-order sentences had exactly the same first-order models. Its logical conjunction is a single first-order sentence, and . By the compactness theorem there is a finite subset with : otherwise would be finitely satisfiable and hence satisfiable, a contradiction.
Only finitely many of the integers in the torsion-free scheme occur in . Choose a prime number larger than all of them. The cyclic group satisfies all the group axioms and each of these finitely many conditions from the torsion-free abelian group axiom scheme: multiplication by an integer is invertible modulo , so implies . It consequently satisfies , then , and therefore .
But its nonzero elements have finite order , so it is not a torsion-free group, contradicting the assumed description of the first-order models of . This establishes the nonfinite axiomatizability of torsion-free abelian groups, ruling out every finite set of defining first-order sentences, not just finite subsets of the particular scheme in part (c).
For each , let assert that at least distinct elements exist. Consider . A finite subset requires only some finite lower bound on the size. Choose an odd integer ; the given property of supplies a model of that size, satisfying the finite subset. By the compactness theorem, has a model. Its domain has at least elements for every , so has an infinite model. This argument applies to every sentence with the finite-model-size property in (b), irrespective of its behavior on infinite structures.
The saturated model condition in degree means that a first-order model realizes every one-variable complete type over a parameter set of size less than . Equivalently every finitely satisfiable such complete type is realized, since it can be extended to a complete type. Without a specified degree, saturated usually means -saturated. Countable saturation means -saturation, including complete types over countably many parameters.
Here is a general saturated elementary extension theorem, with proof: for every infinite regular cardinal , every first-order structure has a -saturated elementary extension. At a stage , list all complete types over its subsets of size less than . There is a set of them, since their formulas lie in a set-sized language. Add a witness constant for each complete type to the elementary diagram of , together with every formula in that complete type evaluated at its witness constant. A finite part mentions finitely many complete types and finitely many formulas from each; each finite conjunction is realizable in , and the witnesses for different complete types are unconstrained relative to each other. Thus the finite part is satisfiable. The compactness theorem produces an elementary extension realizing all those complete types. At limits take elementary unions, justified by the elementary chain theorem.
Iterate for stages and put . If has size below , regularity bounds the stages at which its elements enter, so for some . A complete type over consistent with is finitely satisfiable in : each finite conjunction is an existential formula with parameters from , and elementarity transfers its truth from . The complete type is therefore realized in . This proves
For a singular desired degree, apply the theorem at a larger regular cardinal. If is infinite and an uncountable regular satisfies , with and , the construction can keep every stage of size . There are then at most parameter sets and complete types, and downward Löwenheim-Skolem gives that size after each extension; adding distinct elements initially ensures final size exactly . The resulting model is saturated in the unqualified sense. The cardinal-arithmetic hypothesis belongs to this size refinement, not to the general existence theorem.
An explicit ultraproduct version is useful too. In a countable language let be a nonprincipal ultrafilter on and , where each factor is nonempty. Enumerate a countable finitely satisfiable complete type, including its chosen parameter representatives, as . By the Łoś theorem, the set of coordinates where the first formulas have a simultaneous witness belongs to . Put
These are decreasing members of . At coordinate , let be the greatest with , if there is one. Choose a witness to the first formulas there, and an arbitrary element when there is none. For fixed , every coordinate in has , so the chosen function satisfies on a -large set. Its ultraproduct class realizes the whole complete type. A countable language over a countable parameter set has only countably many formulas, so this proves countable saturation of a nonprincipal ultraproduct over omega.
For NFU, we give the rank-indiscernible construction of an NFU model explicitly. NFU has a unary predicate for sets, atoms have no members, extensionality applies to sets, and comprehension applies to every stratified formula. A stratification assigns integer types to variables so that equality uses equal types and requires . A unary set predicate adds no type difference.
Start with the actual set structure . This structure satisfies extensionality and every pure-membership separation instance: the subset defined in a set of rank below still has rank below . We do not assert that satisfies replacement or all of ZFC. Expand it by Skolem functions. In it use the sequence of rank objects , . For two such objects in sequence order, we have
with quantifiers in . The second statement holds because every subset of belongs to , and the later rank is at least .
Introduce constants , , and require them to be order indiscernibles in the Skolem language, satisfying these two assertions whenever . Also require for every ; this fixed rank object is first-order definable in . Every finite part of these requirements together with is satisfiable: color finite increasing tuples of the original rank sequence by the truth values of the finitely many formulas mentioned, and use Ramsey's theorem to get a homogeneous subsequence. The rank assertions hold for every increasing tuple there. The compactness theorem gives a model of the full theory. In its Skolem hull generated by the , the integer shift extends to an automorphism with , by the term-transport proof of the Ehrenfeucht-Mostowski theorem. Thus still satisfies extensionality and all pure-membership separation instances, and
This is a set-sized first-order model; no satisfaction predicate for a proper-class universe is being assumed.
Externally let . The automorphism bijects onto . Interpret a typed structure with sort equal to . At sort , declare a set exactly when ; otherwise it is an atom. Define adjacent-sort membership by
The guard is necessary: a typed atom might have some ordinary -members in , and those must not become its typed members. Set-extensionality follows from extensionality in , because the ordinary members of a typed set all lie in . For any typed formula on sort , its quantifiers can be restricted to the corresponding , its set predicates replaced by subset assertions, and its memberships replaced by the guarded relation. This is an ordinary pure-membership formula of with finitely many parameters. Separation gives its extension , and the displayed closure assertion gives . It is therefore a typed set witnessing comprehension. The automorphism shifts these sorted domains and preserves the set flags and guarded memberships.
Collapse the types onto . Define
Objects not satisfying have no -members. If two sets have the same -members, their images under are subsets of with the same ordinary members, so are equal by extensionality of ; injectivity of gives equality of the original objects.
To verify every stratified comprehension instance, assign a variable its stratification type and translate its value to . Equality is preserved. An atomic translates to the guarded adjacent-sort membership because ; the unary predicate translates to . Induction on formulas, using the domain bijections for quantifiers, preserves truth. If the free variable has type , typed comprehension produces its extension , with . Put . Then holds, and for every ,
This is exactly the required NFU set. No formula containing the external automorphism has been used in a separation or comprehension scheme; only transports values after the pure formula is formed.
The construction also permits the usual infinity requirement. The ordinary and its successor graph are definable in , hence fixed by , and lie below , so belong to all the required domains. Under , the members of are still its ordinary -members. The new Kuratowski pair satisfies
Since , membership of this pair in under is equivalent to . Thus is an internal injection of into itself omitting zero, giving a Dedekind-infinite set.
We have built a model of NFU, with infinity if it is included in the formulation, in ordinary ZFC metatheory:
In particular . This proof does not assume as an additional internal axiom: its starting structure is the set , not a model of ZFC.
A useful form of the Ehrenfeucht-Mostowski theorem says that, for an infinite first-order structure and any total order , there is a model of generated as a Skolem hull by distinct order indiscernibles . Every order automorphism of extends uniquely to an automorphism of the specified Skolem expansion of that hull. The model can be obtained inside an elementary extension of a Skolem expansion of ; the generated hull itself need not contain .
Choose a Skolem expansion by iteratively adjoining witness functions: for each existential formula in the current language choose a function returning a witness whenever one exists, with an arbitrary value otherwise. Repeat for countably many rounds. Every formula in the final language uses finitely many symbols, so has a witness function from a later round. Thus the expansion is Skolemized for its own formulas, as required for elementarity of its hull. Add constants for to the complete theory of , require them to be distinct, and impose the scheme
for every formula in the Skolem language. If an elementary extension of is desired, also add its elementary diagram with separate names for its elements.
Every finite part of this theory is satisfiable. Choose infinitely many distinct elements of . For each of the finitely many arities in that fragment, color increasing index tuples by the finite vector of truth values of the formulas occurring. Repeated applications of the infinite Ramsey theorem give an infinite subset on which all these vectors are constant. Interpret the finitely many in increasing-index order from that subset. This satisfies the finite indiscernibility requirements and distinctness, while the elementary diagram is satisfied by the named original structure. The compactness theorem gives a structure satisfying the whole theory.
Let be the closure of the under the Skolem functions, including nullary ones. It is elementary in : whenever an existential formula with parameters from is true in , its Skolem witness lies in . This is the Tarski-Vaught test, whose proof is induction on formulas, using precisely this witness property for the existential step. Hence the reduct of is a model of .
For an order automorphism , define
This is well-defined. If two terms denote the same element, write their equality as a formula on the combined increasing tuple of their indices; indiscernibility preserves that formula after transport by . The same argument preserves every relation and function. Applying gives the inverse, so is an automorphism. Since all elements are terms in the generators, it is the unique automorphism of this Skolem expansion extending . This proves the theorem.
One may require the indiscernibles to lie in any specified infinite sequence of the starting structure, or to satisfy additional finite-tuple properties holding along that sequence: the same finite satisfiability proof chooses its homogeneous subsequence there. This strengthened form is what the rank-domain construction of NFU uses. Uniqueness is asserted in the Skolem expansion, not for all automorphisms of its reduct.
The compactness theorem for first-order logic says that a set of first-order sentences has a model if and only if every finite subset of has a model. It applies to arbitrary languages, including expansions by arbitrarily many new constants. Equivalently, if entails a sentence, some finite subset already entails it. We will use both formulations with the diagram of a structure.
Name every element by a new constant , distinct from the symbols already in . Let be its full atomic and negated atomic diagram of a structure. A model of this diagram contains an isomorphic copy of as an -substructure. We claim
is satisfiable.
Otherwise compactness theorem gives a finite diagram conjunction inconsistent with . Replace these new constants by variables. Since says nothing about the new names, it then entails the universal sentence
The conjunction uses only symbols of , so this is one of the universal -consequences assumed true in . But satisfies , a contradiction. A model of the consistent enlarged theory gives an embedding of into the -reduct of a model of . Negated atomic facts and disequalities in the diagram ensure that this is a structure embedding, not merely a homomorphism.
We use the hypothesis for the two target structures when they are models of ; the common source is their generated substructure and need not itself be a model of . If the hypothesis is read as applying to all target structures, it is stronger and the same proof applies.
Suppose tuples and , with , have the same complete quantifier-free type. The substructures they generate are isomorphic by the map
for every term . Equality of the quantifier-free types makes this map well defined and injective and makes it preserve and reflect all relations. Identify these generated substructures with one common structure. The assumption then implies that and have the same truth value. Thus the truth of is determined by the tuple's quantifier-free type.
For any realization of in a model of , let be its complete quantifier-free type. The preceding paragraph makes inconsistent. By compactness theorem, a finite conjunction of members of satisfies
Choose such a conjunction for every quantifier-free type realized by a -tuple. These conjunctions cover every realization of . Another application of compactness theorem, to together with and the negations of all the chosen conjunctions, gives a finite subcover . Therefore
The right side is a quantifier-free formula. If there are no realizations of , use the always-false quantifier-free formula. This proves the common-substructure test for quantifier elimination for the given formula; it does not assume that the source structures are models of the theory.