Reading preferences
Optional display controls need JavaScript. All reading content and navigation work without it.
Source file content/model-theory/basics/basics.tex
documentclass[../../../include/open-logic-chapter]subfiles
Document
Basics of Model Theory
olimportreducts-and-expansions
olimportsubstructures
olimportoverspill
olimportisomorphism
olimporttheory-of-m
olimportpartial-iso
olimportdlo
Source file content/model-theory/basics/reducts-and-expansions.tex
documentclass[../../../include/open-logic-section]subfiles
Document
olfileidmodbasred
Reducts and Expansions
Often it is useful or necessary to compare languages which have symbols in common, as well as structures for these languages. The most common case is when all the symbols in a language source are also part of a language source, i.e., source. An source-structure source can then always be expanded to an source-structure by adding interpretations of the additional symbols while leaving the interpretations of the common symbols the same. On the other hand, from an source-structure source we can obtain an source-structure simply by “forgetting” the interpretations of the symbols that do not occur in source.
Definition of reduct and expansion
Suppose source, source is an source-structure and source is an source-structure. source is the reduct of source to source, and source is an expansion of source to source iff
Reducts preserve smaller-language sentences
If an source-structure source is a reduct of an source-structure source, then for all source-sentences source,
Proof
Exercise.
Exercise proving preservation under reduct
Prove reference prop:reduct.
Expansion by one predicate relation
When we have an source-structure source, and source is the expansion of source obtained by adding a single source-place predicate symbol source, and source is an source-place relation, then we write source for the expansion source of source with source.
Source file content/model-theory/basics/substructures.tex
documentclass[../../../include/open-logic-section]subfiles
Document
olfileidmodbassub
Substructure
The domain of a structure source may be a subset of another source. But we should obviously only consider source a “part” of source if not only source, but source and source “agree” in how they interpret the symbols of the language at least on the shared part source.
Definition of substructure and extension
Given structures source and source for the same language source, we say that source is a substructure of source, and source an extension of source, written source, iff
Source file content/model-theory/basics/overspill.tex
documentclass[../../../include/open-logic-section]subfiles
Document
olfileidmodbasove
Overspill
Overspill theorem for finite models
If a set source of sentences has arbitrarily large finite models, then it has an infinite model.
Proof
Expand the language of source by adding countably many new constants source, source, dots and consider the set source. To say that source has arbitrarily large finite models means that for every source there is source such that source has a model of cardinality source. This implies that source is finitely satisfiable. By compactness, source has a model source whose domain must be infinite, since it satisfies all inequalities source.
Finiteness is not first-order definable
There is no sentence source of any first-order language that is true in a structure source if and only if the domain source of the structure is infinite.
Proof
If there were such a source, its negation source would be true in all and only the finite structures, and it would therefore have arbitrarily large finite models but it would lack an infinite model, contradicting reference overspill.
Source file content/model-theory/basics/isomorphism.tex
documentclass[../../../include/open-logic-section]subfiles
Document
olfileidmodbasiso
Isomorphic Structures
First-order structures can be alike in one of two ways. One way in which they can be alike is that they make the same sentences true. We call such structures elementarily equivalent. But structures can be very different and still make the same sentences true---for instance, one can be enumerable and the other not. This is because there are lots of features of a structure that cannot be expressed in first-order languages, either because the language is not rich enough, or because of fundamental limitations of first-order logic such as the L\"owenheim--Skolem theorem. So another, stricter, aspect in which structures can be alike is if they are fundamentally the same, in the sense that they only differ in the objects that make them up, but not in their structural features. A way of making this precise is by the notion of an isomorphism.
Definition of elementary equivalence
Given two structures source and source for the same language source, we say that source is elementarily equivalent to source, written source, if and only if for every sentence source of source, source iff source.
Definition of isomorphism
Given two structures source and source for the same language source, we say that source is isomorphic to source, written source, if and only if there is a function source such that:
Isomorphic structures are elementarily equivalent
Proof
Let source be an isomorphism of source onto source. For any assignment source, source is the composition of source and source, i.e., the assignment in source such that source. By induction on source and source one can prove the stronger claims:
The first is proved by induction on the complexity of source.
If source, then source and source. Thus, source (by reference defn:iso-const of reference defn:isomorphism) source.
If source, then
The induction hypothesis is that for each source, source. So,
Here, reference iso-1 follows by reference defn:iso-func of reference defn:isomorphism and reference iso-2 by induction hypothesis.
Part (b) is left as an exercise.
If source is a sentence, the assignments source and source are irrelevant, and we have source iff source.
Exercise completing isomorphism invariance
Carry out the proof of (b) of reference thm:isom in detail. Make sure to note where each of the five properties characterizing isomorphisms of reference defn:isomorphism is used.
Definition of automorphism
An automorphism of a structure source is an isomorphism of source onto itself.
Exercise on automorphism-invariant definable sets
Show that for any structure source, if source is a definable subset of source, and source is an automorphism of source, then source (i.e., source is fixed under source).
Source file content/model-theory/basics/theory-of-m.tex
documentclass[../../../include/open-logic-section]subfiles
Document
olfileidmodbasthm
The Theory of a structure
Every structure source makes some sentences true, and some false. The set of all the sentences it makes true is called its theory. That set is in fact a theory, since anything it entails must be true in all its models, including source.
Definition of the theory of a structure
Given a structure source, the theory of source is the set source of sentences that are true in source, i.e., source.
We also use the term “theory” informally to refer to sets of sentences having an intended interpretation, whether deductively closed or not.
The theory of a structure is complete
Proof
For any sentence source either source or source, so either source or source.
Models of a complete structural theory are elementarily equivalent
Proof
Since source for all source, source. If source, then source, so source. Since source is complete, source. So, source, and we have source.
Source file content/model-theory/basics/partial-iso.tex
documentclass[../../../include/open-logic-section]subfiles
Document
olfileidmodbaspis
Partial Isomorphisms
Definition of partial isomorphism
Given two structures source and source, a partial isomorphism from source to source is a finite partial function source taking arguments in source and returning values in source, which satisfies the isomorphism conditions from reference defn:isomorphism on its domain:
source is injective;
for every constant symbol source: if source is defined, then source;
for every source-place predicate symbol source: if source, dots, source are in the domain of source, then source if and only if source;
for every source-place function symbol source: if source, dots, source are in the domain of source, then source.
Notice that the empty function source is always a partial isomorphism between any two structures.
Definition of partial isomorphism between structures
Two structures source and source, are partially isomorphic, written source, if and only if there is a non-empty set source of partial isomorphisms between source and source satisfying the back-and-forth property:
Enumerable partially isomorphic structures are isomorphic
If source and source and source are enumerable, then source.
Proof
Since source and source are enumerable, let source and source. Starting with an arbitrary source, we define an increasing sequence of partial isomorphisms source as follows:
if source is odd, say source, then using the Forth property find a source such that source and source is in the domain of source;
if source is even, say source, then using the Back property find a source such that source and source is in the range of source.
If we now put:
we have that source is a an isomorphism between source and source.
Exercise checking the back-and-forth union map
Show in detail that source as defined in reference thm:p-isom1 is in fact an isomorphism.
Partial isomorphism implies elementary equivalence in relational languages
Suppose source and source are structures for a purely relational language (a language containing only predicate symbols, and no function symbols or constants). Then if source, also source.
Proof
By induction on formulas, one shows that if source, dots, source and source, dots, source are such that there is a partial isomorphism source mapping each source to source and source and source (for source, dots, source), then source if and only if source. The case for source gives source.
The previous result can be “broken down” into stages by establishing a connection between the number of nested quantifiers in a formula and how many times the relevant partial isomorphisms can be extended.
Quantifier rank and n equivalence
For any formula source, the quantifier rank of source, denoted by source, is recursively defined as the highest number of nested quantifiers in source. Two structures source and source are source-equivalent, written source, if they agree on all sentences of quantifier rank less than or equal to source.
Finitely many bounded-rank sentences
Let source be a finite purely relational language, i.e., a language containing finitely many predicate symbols and constant symbols, and no function symbols. Then for each source there are only finitely many first-order sentences in the language source that have quantifier rank no greater than source, up to logical equivalence.
Proof
By induction on source.
Finite sequences over a structure domain
Given a structure source, let source be the set of all finite sequences over source. We use source to range over finite sequences of elements. If source and source, then source represents the concatenation of source with source.
Recursive back-and-forth relations on finite sequences
Given structures source and source, we define relations source between sequences of equal length, by recursion on source as follows:
source if and only if source and source satisfy the same atomic formulas in source and source; i.e., if source and source and source is atomic with all variables among source, dots, source, then source if and only if source.
source if and only if for every source there is a source such that source, and vice-versa.
Definition of back-and-forth equivalence at level n
Write source if source holds of source and source (where source is the empty sequence).
Back-and-forth agreement preserves bounded-rank formulas
Let source be a purely relational language. Then source implies that for every source such that source, we have source if and only if source (where again source satisfies source if any source such that source satisfies source). Moreover, if source is finite, the converse also holds.
Proof
The proof that source implies that source and source satisfy the same formulas of quantifier rank no greater than source is by an easy induction on source. For the converse we proceed by induction on source, using reference prop:qr-finite, which ensures that for each source there are at most finitely many non-equivalent formulas of that quantifier rank.
For source the hypothesis that source and source satisfy the same quantifier-free formulas gives that they satisfy the same atomic ones, so that source.
For the source case, suppose that source and source satisfy the same formulas of quantifier rank no greater than source; in order to show that source suffices to show that for each source there is a source such that source, and by the inductive hypothesis again suffices to show that for each source there is a source such that source and source satisfy the same formulas of quantifier rank no greater than source.
Given source, let source be set of formulas source of rank no greater than source satisfied by source in source; source is finite, so we can assume it is a single first-order formula. It follows that source satisfies source, which has quantifier rank no greater than source. By hypothesis source satisfies the same formula in source, so that there is a source such that source satisfies source; in particular, source satisfies the same formulas of quantifier rank no greater than source as source. Similarly one shows that for every source there is source such that source and source satisfy the same formulas of quantifier rank no greater than source, which completes the proof.
Finite back-and-forth equivalence matches bounded elementary equivalence
If source and source are purely relational structures in a finite language, then source if and only if source. In particular source if and only if for each source, source .
Source file content/model-theory/basics/dlo.tex
documentclass[../../../include/open-logic-section]subfiles
Document
olfileidmodbasdlo
Dense Linear Orders
Definition of dense linear ordering without endpoints
A dense linear ordering without endpoints is a structure source for the language containing a single 2-place predicate symbol source satisfying the following sentences:
Cantor isomorphism theorem for countable dense orders
Any two enumerable dense linear orderings without endpoints are isomorphic.
Proof
Let source and source be enumerable dense linear orderings without endpoints, with source and source, and let source be the set of all partial isomorphisms between them. source is not empty since at least source. We show that source satisfies the Back-and-Forth property. Then source, and the theorem follows by reference thm:p-isom1.
To show source satisfies the Forth property, let source and let source for source, dots, source, and without loss of generality suppose source. Given source, find source as follows:
It is always possible to find a source with the desired property since source is a dense linear ordering without endpoints. Define source so that source is the desired extension of source. This establishes the Forth property. The Back property is similar. So source; by reference thm:p-isom1, source.
Exercise verifying the back property for dense orders
Complete the proof of reference thm:cantorQ by verifying that source satisfies the Back property.
Source disclosures
- TR026-SOURCE-FORMULA-001: The left side evaluates t in M prime under h composed with s, so its function clause must use the interpretation of f in M prime. The frozen display prints M; the reader discloses and speaks M prime. source
- TR026-SOURCE-FORMULA-002: The first row opens h applied to the interpretation of f but has only the inner closing parenthesis. The reader supplies the missing outer close while retaining the frozen source formula beside the corrected reading. source
- TR026-SOURCE-PROSE-003: The reader removes the duplicated article in the conclusion of the back-and-forth construction. source