A congruence relation on a first-order structure is an equivalence relation compatible with each interpreted function and relation. Equivalent input tuples give equivalent function outputs, and an atomic relation has the same truth value on equivalent input tuples. This compatibility makes the functions and relations well-defined on the quotient set. In a Henkin term model with equality, membership of a formal equality in the maximal consistent theory gives precisely the equivalence relation used for this quotient.
Full set of first-order sentences 2026-10-31
A full set of first-order sentences has existential witnesses among names in its own first-order language: if it proves an existential sentence, it proves some closed-term instance of the matrix. For a deductively closed set this may be stated by membership of the first-order sentences. In a function-free first-order language the witness is a constant symbol. A first-order consistent complete full first-order theory has a canonical term model.
Henkin construction Created 2026-10-05 Updated 2026-10-14
A Henkin construction enlarges a consistent first-order theory by fresh constants, decides sentences while preserving consistency, and supplies constant witnesses for existential sentences. Countably many additional dense requirements can be interleaved, as in the omitting types theorem. A complete consistent extension with witnesses has a term model.
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 b Solution 2026-10-31
Gödel's completeness theorem for first-order sentences says that, in a standard sound first-order Hilbert calculus,Equivalently every first-order consistent set of first-order sentences has a first-order model: apply this existence statement to for the consequence formulation.
For the first-order model existence formal proof use a Henkin construction. Enlarge the language by fresh constant symbols and adjoin Henkin witness axiomsFreshness of preserves first-order consistency. In detail, if a contradiction followed after adjoining one witness axiom, the deduction theorem for first-order logic would yield its negation, from which one obtains both and over the old theory. Since the new constant symbol does not occur in that theory or in , replace it by a fresh logical variable and generalize to derive , a contradiction. Finitely many witness additions preserve first-order consistency successively, and unions preserve first-order consistency because formal proofs are finite. Iterate the enlargement so that logical formulas involving newly introduced constant symbols also receive witnesses. Include at least one constant symbol to guarantee closed terms.
Extend the resulting first-order consistent witnessed first-order theory to a maximal consistent set of first-order sentences . In the equality-free case make the domain the set of closed terms. Interpret constant symbols and function symbols by their formal first-order term constructions; interpret an atomic formula byThe truth lemma for a Henkin term model follows by induction on logical formulas with closed terms substituted for their free variables. The logical connective steps use maximal consistency of a first-order theory. In the existential step, membership of supplies a witness constant and hence a first-order term satisfying ; conversely a satisfying closed term gives the existential sentence by an inference of the calculus. The term model consequently satisfies and the original theory. Equality is absent here, so distinct closed terms may remain distinct domain elements without further identifications.
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 c Solution 2026-10-31
In the presence of equality, two syntactically different closed terms can be asserted equal by the Henkin theory, so the raw first-order term domain from part (b) must be replaced by a quotient set. DefineThe equality axioms give reflexivity, symmetry and transitivity, so this is an equivalence relation. Their substitution consequences make it a congruence relation on a first-order structure: replacing an input by an equivalent first-order term preserves equivalence of function values and preserves membership of atomic formulas in .
Take domain . Define a function symbol by , and relations by the same membership test as before using representatives. The congruence relation on a first-order structure makes these definitions independent of representatives. Actual identity of equivalence classes now agrees with the formal equality first-order sentences in :This supplies the equality case of the truth lemma for a Henkin term model; the logical connective and quantifier cases then proceed exactly as in the Henkin construction. Thus the term model built from the quotient set is a genuine first-order model with equality interpreted as identity.
Past exam of the logic and set theory course of the University of Oxford 2008 A 4 d Solution 2026-10-31
For a countable first-order language, the Henkin construction introduces only countably many constant symbols: each round needs at most one for each logical formula, there are countably many finite strings in a countable alphabet, and countably many rounds suffice. There are therefore at most countably many closed terms. The term model, and also its quotient set by equality, has at most countably many elements.
It follows that every satisfiable theory in a countable first-order language has an at most countable first-order model. If the theory has no finite first-order model, the constructed first-order model is countably infinite. More generally the same counting argument gives a first-order model of cardinality at most for any satisfiable theory in language .
For the elementary-substructure version of the downward Löwenheim-Skolem theorem, begin with a first-order structure and a set of designated elements. Close , the named constant symbols and one initial element under the language's functions and under chosen witnesses in for existential formulas with parameters already chosen. Iterate countably often. The resulting set has cardinality at most , and its induced substructure is elementary: induction on logical formulas proves the truth equivalence, with the existential case supplied by the chosen witnesses. This is the same witness mechanism as the Henkin formal proof, now keeping witnesses inside a given first-order model.
Past exam of the logic and set theory course of the University of Oxford 2010 A 3 c i Solution 2026-10-31
In the Henkin construction, first extend the consistent sentence set to a complete consistent theory with witnesses in an expanded language containing fresh constants. Its term model has closed terms modulo provable equality as elements:Functions are interpreted by applying their symbols to representative terms, and an atomic predicate holds of term classes exactly when the corresponding atomic sentence belongs to . Equality axioms make these definitions independent of representatives. The Henkin witness property handles the existential step in the truth lemma, so the resulting structure satisfies and hence the original .
An arbitrary sentence set need not already have enough closed terms or witnesses. Calling this a term model for means a term-model construction of a model satisfying , usually through that witnessed completion; it does not assert that every arbitrary itself already supplies the construction.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 27 4 a Solution Created 2026-10-03 Updated 2026-10-14
The Godel completeness theorem is strong completeness: for any first-order theory and sentence ,Equivalently every syntactically consistent theory has a model. Work in the ordinary classical metatheory with choice; the language need not be countable. Soundness is induction on a derivation: logical axioms hold under every assignment, modus ponens preserves truth, and the quantifier rule preserves truth when its variable is not free in the assumptions. We prove the nontrivial converse by a Henkin construction.
Start with a consistent and add a constant if the language has no closed term. Let be this language. At stage , for every existential sentence of , add a fresh constant and the witness axiomAn axiom of this form is conservative for consistency: if a contradiction followed after adding it, the old theory would prove its negation, hence both and . Since the constant is fresh, replace it by a fresh variable and generalize, obtaining , a contradiction. Every finite set of new witness axioms can be handled one at a time, so each stage remains consistent. Their union is consistent because a finite proof uses only finitely many stages.
Well-order the sentences of . Successively add a sentence if doing so is consistent, and otherwise add its negation. At least one of those two choices preserves consistency: otherwise the deduction theorem would give both its negation and its double negation in the previous theory. At limits take unions. The deductive closure of the resulting union is complete and consistent and retains all witness axioms. Every sentence of uses finitely many symbols and belongs to some , so its existential witness was added at the next stage. Thus has the Henkin witness property even for formulas using the new constants.
Build its term model. The domain consists of closed terms modulo iff . Equality axioms make this an equivalence relation and a congruence. Interpret functions by forming their corresponding terms, and interpret a relation by iff . Congruence makes this independent of representatives.
The truth lemma for a Henkin term model is proved by induction on formulas after substituting closed terms for their free variables. Atomic formulas are the definition. Completeness and consistency of give the Boolean steps. For existence, if , a witness axiom yields a constant with , and induction supplies a model witness. Conversely every domain element is a term class, so a model witness gives an instance in , and existential introduction gives the existential sentence. Universality follows by negation and existence. The model therefore satisfies , hence .
Finally, if , then is consistent by the deduction theorem and classical logic. Its constructed model is a countermodel to . This proves completeness, with an actual witness model rather than merely a finite-satisfiability assertion.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 135 3 Solution Created 2026-10-03 Updated 2026-10-05
The countable form of the omitting types theorem is as follows. Let be a countable first-order language and a consistent first-order theory in . For any countable family of nonprincipal partial types in finite tuples of variables, there is an at most countable first-order model of omitting all of them. Nonprincipality means that no -consistent first-order formula entails every member of the type modulo . A complete first-order theory with nonisolated complete types is the usual special case; neither an uncountable language nor an arbitrary uncountable family is covered by this statement.
Use the Godel completeness theorem to pass between consistency and the existence of a first-order model. Adjoin a countable stock of new constants. Construct finite conditions with consistent, interleaving three countable lists of requirements: decide each -sentence; provide a fresh constant witness for each existential sentence; and, for each and each tuple of closed terms of its arity, add for some . Sentence decisions preserve consistency by choosing a consistent sign. For an existential sentence , add with fresh for that condition and first-order formula. This is consistent: any first-order model of the old condition can interpret as a witness if one exists, and otherwise arbitrarily in the nonempty domain.
The omission step is the key Henkin omission extension lemma. Let be the logical conjunction of the current finite condition, listing every new constant occurring either there or in . If adding were inconsistent for every , then would entail for each such . Replace the new constants by fresh variables and formIt is consistent with and entails every , contradicting nonprincipality. Hence some omission extension is consistent. The construction need not be computable; countability merely permits all these requirements to be scheduled.
Let be the deductive closure of . It is consistent by the finite character of formal proofs, complete by sentence decisions, and has the Henkin witness property. Its term model consists of closed terms modulo provable logical equality and has at most countably many elements. The truth lemma for a Henkin term model proves that it is a first-order model of . Every tuple in it is represented by closed terms, whose scheduled omission requirement supplies a negated member of each corresponding type. Thus
A universal sentence has the form with quantifier-free , including an empty quantifier block. Embeddings preserve and reflect quantifier-free truth, so universal sentences pass to substructures of a first-order structure. For the converse Łoś-Tarski preservation theorem, let be all universal consequences of an arbitrary first-order theory , and take . We claim is consistent, where the diagram of a structure contains both atomic and negated atomic sentences in constants naming the elements of .
If inconsistent, the compactness theorem gives a finite logical conjunction of diagram sentences for which . The added constants do not occur in , soThis universal sentence belongs to but is false in at the named tuple, a contradiction. The compactness theorem therefore produces containing an isomorphic embedded copy of . The signed diagram ensures a genuine substructure of a first-order structure: functions are preserved, constants are included and relations are preserved and reflected. If the first-order model class of is closed under substructures of a first-order structure, this copy, and hence , is a first-order model of . We have provedNo countability assumption is needed for this second argument. An inconsistent first-order theory is covered as well, with a universally false axiom and an empty first-order model class.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 135 2 Solution Created 2026-10-03 Updated 2026-10-14
Use the following form of the omitting types theorem. Let be a consistent first-order theory in a countable first-order language, and let be a countable family of finite-arity partial types. Suppose each is a nonprincipal partial type: no formula consistent with satisfies for every . Then has a countable model omitting all the .
For the proof, add countably many fresh constants and perform a Henkin construction. Enumerate three kinds of tasks: deciding each sentence, providing a fresh constant witness for each existential sentence, and making every constant tuple omit each of the corresponding arity. Starting with the empty set, keep a finite set such that is consistent. A sentence can be decided in one of its two ways while preserving consistency. For an existential sentence, add with fresh; inconsistency would contradict freshness and the existential sentence itself.
For an omission task at a tuple , let be the conjunction of . Replace its constants by variables, identify the occurrences of the tuple's constants with the corresponding variables , and existentially quantify the other variables. If the tuple repeats a constant, include the corresponding equalities between its variables. This gives with consistent. Nonprincipality supplies such thatis consistent. Reintroducing the constants shows that is a permitted next stage. Thus each constant tuple will fail some formula of each prescribed type.
The union is consistent by the finite character of formal proofs, complete in the expanded language, and has the Henkin witness property. Its term model has closed terms modulo provable equality as elements, and satisfies the truth lemma for a Henkin term model, proved by induction on formulas. It is countable. Every closed term equals a constant in this model: apply the witness task to . Consequently every tuple is represented by a constant tuple and fails a formula of each . This proves simultaneous omission.
For arithmetic, the nonstandard element type isIn a model of Peano arithmetic, an element omits this type precisely when it is one of the standard numerals: arithmetic proves that every element at most equals one of . A model omitting everywhere is therefore isomorphic to the standard structure .
For a complete consistent theory , this gives the particularly useful equivalenceThe first implication is the omitting types theorem. For the converse, if a consistent over the theory of true arithmetic implied every , completeness would give . A standard witness contradicts the implication .
Completeness matters in this formulation. One must not claim that is automatically nonprincipal over an arbitrary incomplete arithmetic theory. For example, assuming consistency of Peano arithmetic, the formula saying that is the least code of a proof of a contradiction is consistent with that theory, by Gödel second incompleteness theorem, and implies for each standard . It makes principal over that incomplete theory, although its standard model still omits the type. The theorem is a sufficient omission criterion, not a necessary one for arbitrary partial types over incomplete theories.
The compactness theorem states that a set of first-order sentences has a first-order model if and only if every finite subset has a first-order model.
For the nontrivial direction suppose every finite subset of is satisfiable. If were inconsistent, a finite formal derivation of a contradiction would use only finitely many premises . Soundness of an arithmetic theory would then exclude a first-order model of , contradicting finite satisfiability. Therefore is first-order consistent. The completeness theorem, proved by adjoining witnesses and constructing a Henkin term model, supplies a first-order model of .
The reverse direction is immediate by restriction of the list of required first-order sentences. The key reason compactness theorem follows from syntactic completeness is that every formal proof uses only finitely many premises, even when the whole first-order theory is infinite.
Term-generated model 2026-10-31
A term-generated model has every element denoted by a closed term of its original language. Each element is then parameter-free definable by an equation . A term model of a complete Henkin theory is a syntactic construction with this property, but “term-generated” can be stated for an arbitrary structure without choosing such a construction.
Truth lemma for a Henkin term model 2026-10-05
A sentence with closed-term parameters holds in a term model if and only if it belongs to the complete consistent theory defining that model. Prove this by structural induction: atoms are the definition, Boolean steps use completeness and consistency, and existential sentences use the Henkin witness property. Conversely any existential witness represented by a term gives the existential sentence by logical inference.
Witness constant 2026-10-31
A witness constant is a fresh constant symbol added to a first-order language so that an existential assertion has a named witness. In a Henkin construction one adds , with absent from the previous language. Freshness preserves consistency. Repeating the construction for the successively enlarged languages supplies the witness property used in a term model.