Model theory

Basics of Model Theory

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 Lsource are also part of a language Lsource, i.e., LLsource. An Lsource-structure Msource can then always be expanded to an Lsource-structure by adding interpretations of the additional symbols while leaving the interpretations of the common symbols the same. On the other hand, from an Lsource-structure Msource we can obtain an Lsource-structure simply by “forgetting” the interpretations of the symbols that do not occur in Lsource.

Definition of reduct and expansion

Suppose LLsource, Msource is an Lsource-structure and Msource is an Lsource-structure. Msource is the reduct of Msource to Lsource, and Msource is an expansion of Msource to Lsource iff

  1. |M|=|M|source

  2. For every constant symbol cLsource, cM=cMsource.

  3. For every function symbol fLsource, fM=fMsource.

  4. For every predicate symbol PLsource, PM=PMsource.

Reducts preserve smaller-language sentences

If an Lsource-structure Msource is a reduct of an Lsource-structure Msource, then for all Lsource-sentences Asource,

MA iff MA.source

Proof

Exercise.

Exercise proving preservation under reduct

Prove reference prop:reduct.

Expansion by one predicate relation

When we have an Lsource-structure Msource, and L=L{P}source is the expansion of Lsource obtained by adding a single nsource-place predicate symbol Psource, and R|M|nsource is an nsource-place relation, then we write M[R]source for the expansion Msource of Msource with PM=Rsource.

Source file content/model-theory/basics/substructures.tex

documentclass[../../../include/open-logic-section]subfiles

Document

olfileidmodbassub

Substructure

The domain of a structure Msource may be a subset of another Msource. But we should obviously only consider Msource a “part” of Msource if not only |M||M|source, but Msource and Msource “agree” in how they interpret the symbols of the language at least on the shared part |M|source.

Definition of substructure and extension

Given structures Msource and Msource for the same language Lsource, we say that Msource is a substructure of Msource, and Msource an extension of Msource, written MMsource, iff

  1. |M||M|source,

  2. For each constant cLsource, cM=cMsource;

  3. For each nsource-place function symbol fLsource fM(a1,,an)=fM(a1,,an)source for all a1source, dots, an|M|source.

  4. For each nsource-place predicate symbol RLsource, a1,,anRMsource iff a1,,anRMsource for all a1source, dots, an|M|source.

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 c0source, c1source, dots and consider the set Γ{cicj:ij}source. To say that Γsource has arbitrarily large finite models means that for every m>0source there is nmsource such that Γsource has a model of cardinality nsource. This implies that Γ{cicj:ij}source is finitely satisfiable. By compactness, Γ{cicj:ij}source has a model Msource whose domain must be infinite, since it satisfies all inequalities cicjsource.

Finiteness is not first-order definable

There is no sentence Asource of any first-order language that is true in a structure Msource if and only if the domain |M|source of the structure is infinite.

Proof

If there were such a Asource, its negation ¬Asource 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 Msource and Msource for the same language Lsource, we say that Msource is elementarily equivalent to Msource, written MMsource, if and only if for every sentence Asource of Lsource, MAsource iff MAsource.

Definition of isomorphism

Given two structures Msource and Msource for the same language Lsource, we say that Msource is isomorphic to Msource, written MMsource, if and only if there is a function h:|M||M|source such that:

  1. hsource is injective: if h(x)=h(y)source then x=ysource;

  2. hsource is surjective: for every y|M|source there is x|M|source such that h(x)=ysource;

  3. for every constant symbol csource: h(cM)=cMsource;

  4. for every nsource-place predicate symbol Psource:

    a1,,anPMiffh(a1),,h(an)PM;source
  5. for every nsource-place function symbol fsource:

    h(fM(a1,,an))=fM(h(a1),,h(an)).source

Isomorphic structures are elementarily equivalent

If MMsource then MMsource.

Proof

Let hsource be an isomorphism of Msource onto Msource. For any assignment ssource, hssource is the composition of hsource and ssource, i.e., the assignment in Msource such that (hs)(x)=h(s(x))source. By induction on tsource and Asource one can prove the stronger claims:

  1. h(tM[s])=tM[hs]source.

  2. M,sAsource iff M,hsAsource.

The first is proved by induction on the complexity of tsource.

  1. If tcsource, then cM[s]=cMsource and cM[hs]=cMsource. Thus, h(tM[s])=h(cM)=cMsource (by reference defn:iso-const of reference defn:isomorphism) =tM[hs]source.

  2. If txsource, then xM[s]=s(x)source and xM[hs]=h(s(x))source. Thus, h(xM[s])=h(s(x))=xM[hs]source.

  3. If tf(t1,,tn)source, then

    tM[s]=fM(t1M[s],,tnM[s])andtM[hs]=fM(t1M[hs],,tnM[hs]).source

    The induction hypothesis is that for each isource, h(tiM[s])=tiM[hs]source. So,

    h(tM[s])=h(fM(t1M[s],,tnM[s]))=fM(h(t1M[s]),,h(tnM[s]))=fM(t1M[hs],,tnM[hs])=tM[hs]source

    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 Asource is a sentence, the assignments ssource and hssource are irrelevant, and we have MAsource iff MAsource.

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 Msource is an isomorphism of Msource onto itself.

Exercise on automorphism-invariant definable sets

Show that for any structure Msource, if Xsource is a definable subset of Msource, and hsource is an automorphism of Msource, then X={h(x):xX}source (i.e., Xsource is fixed under hsource).

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 Msource 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 Msource.

Definition of the theory of a structure

Given a structure Msource, the theory of Msource is the set Th(M)source of sentences that are true in Msource, i.e., Th(M)={A:MA}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

For any Msource, Th(M)source is complete.

Proof

For any sentence Asource either MAsource or M¬Asource, so either ATh(M)source or ¬ATh(M)source.

Models of a complete structural theory are elementarily equivalent

If NAsource for every ATh(M)source, then MNsource.

Proof

Since NAsource for all ATh(M)source, Th(M)Th(N)source. If NAsource, then N¬Asource, so ¬ATh(M)source. Since Th(M)source is complete, ATh(M)source. So, Th(N)Th(M)source, and we have MNsource.

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 Msource and Nsource, a partial isomorphism from Msource to Nsource is a finite partial function psource taking arguments in |M|source and returning values in |N|source, which satisfies the isomorphism conditions from reference defn:isomorphism on its domain:

  1. psource is injective;

  2. for every constant symbol csource: if p(cM)source is defined, then p(cM)=cNsource;

  3. for every nsource-place predicate symbol Psource: if a1source, dots, ansource are in the domain of psource, then a1,,anPMsource if and only if p(a1),,p(an)PNsource;

  4. for every nsource-place function symbol fsource: if a1source, dots, ansource are in the domain of psource, then p(fM(a1,,an))=fN(p(a1),,p(an))source.

That psource is finite means that dom(p)source is finite.

Notice that the empty function source is always a partial isomorphism between any two structures.

Definition of partial isomorphism between structures

Two structures Msource and Nsource, are partially isomorphic, written MpNsource, if and only if there is a non-empty set Isource of partial isomorphisms between Msource and Nsource satisfying the back-and-forth property:

  1. (Forth) For every pIsource and a|M|source there is qIsource such that pqsource and asource is in the domain of qsource;

  2. (Back) For every pIsource and b|N|source there is qIsource such that pqsource and bsource is in the range of qsource.

Enumerable partially isomorphic structures are isomorphic

If MpNsource and Msource and Nsource are enumerable, then MNsource.

Proof

Since Msource and Nsource are enumerable, let |M|={a0,a1,}source and |N|={b0,b1,}source. Starting with an arbitrary p0Isource, we define an increasing sequence of partial isomorphisms p0p1p2source as follows:

  1. if n+1source is odd, say n=2rsource, then using the Forth property find a pn+1Isource such that pnpn+1source and arsource is in the domain of pn+1source;

  2. if n+1source is even, say n+1=2rsource, then using the Back property find a pn+1Isource such that pnpn+1source and brsource is in the range of pn+1source.

If we now put:

p=n0pn,source

we have that psource is a an isomorphism between Msource and Nsource.

Exercise checking the back-and-forth union map

Show in detail that psource as defined in reference thm:p-isom1 is in fact an isomorphism.

Partial isomorphism implies elementary equivalence in relational languages

Suppose Msource and Nsource are structures for a purely relational language (a language containing only predicate symbols, and no function symbols or constants). Then if MpNsource, also MNsource.

Proof

By induction on formulas, one shows that if a1source, dots, ansource and b1source, dots, bnsource are such that there is a partial isomorphism psource mapping each aisource to bisource and s1(xi)=aisource and s2(xi)=bisource (for i=1source, dots, nsource), then M,s1Asource if and only if N,s2Asource. The case for n=0source gives MNsource.

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 Asource, the quantifier rank of Asource, denoted by qr(A)source, is recursively defined as the highest number of nested quantifiers in Asource. Two structures Msource and Nsource are nsource-equivalent, written MnNsource, if they agree on all sentences of quantifier rank less than or equal to nsource.

Finitely many bounded-rank sentences

Let Lsource 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 nsource there are only finitely many first-order sentences in the language Lsource that have quantifier rank no greater than nsource, up to logical equivalence.

Proof

By induction on nsource.

Finite sequences over a structure domain

Given a structure Msource, let |M|<ωsource be the set of all finite sequences over |M|source. We use a,b,c,source to range over finite sequences of elements. If a|M|<ωsource and a|M|source, then aasource represents the concatenation of asource with asource.

Recursive back-and-forth relations on finite sequences

Given structures Msource and Nsource, we define relations In|M|<ω×|N|<ωsource between sequences of equal length, by recursion on nsource as follows:

  1. I0(a,b)source if and only if asource and bsource satisfy the same atomic formulas in Msource and Nsource; i.e., if s1(xi)=aisource and s2(xi)=bisource and Asource is atomic with all variables among x1source, dots, xnsource, then M,s1Asource if and only if N,s2Asource.

  2. In+1(a,b)source if and only if for every a|M|source there is a b|N|source such that In(aa,bb)source, and vice-versa.

Definition of back-and-forth equivalence at level n

Write MnNsource if In(,)source holds of Msource and Nsource (where source is the empty sequence).

Back-and-forth agreement preserves bounded-rank formulas

Let Lsource be a purely relational language. Then In(a,b)source implies that for every Asource such that qr(A)nsource, we have M,aAsource if and only if N,bAsource (where again asource satisfies Asource if any ssource such that s(xi)=aisource satisfies Asource). Moreover, if Lsource is finite, the converse also holds.

Proof

The proof that In(a,b)source implies that asource and bsource satisfy the same formulas of quantifier rank no greater than nsource is by an easy induction on Asource. For the converse we proceed by induction on nsource, using reference prop:qr-finite, which ensures that for each nsource there are at most finitely many non-equivalent formulas of that quantifier rank.

For n=0source the hypothesis that asource and bsource satisfy the same quantifier-free formulas gives that they satisfy the same atomic ones, so that I0(a,b)source.

For the n+1source case, suppose that asource and bsource satisfy the same formulas of quantifier rank no greater than n+1source; in order to show that In+1(a,b)source suffices to show that for each a|M|source there is a b|N|source such that In(aa,bb)source, and by the inductive hypothesis again suffices to show that for each a|M|source there is a b|N|source such that aasource and bbsource satisfy the same formulas of quantifier rank no greater than nsource.

Given a|M|source, let Tansource be set of formulas B(x,y)source of rank no greater than nsource satisfied by aasource in Msource; Tansource is finite, so we can assume it is a single first-order formula. It follows that asource satisfies xTan(x,y)source, which has quantifier rank no greater than n+1source. By hypothesis bsource satisfies the same formula in Nsource, so that there is a b|N|source such that bbsource satisfies Tansource; in particular, bbsource satisfies the same formulas of quantifier rank no greater than nsource as aasource. Similarly one shows that for every b|N|source there is a|M|source such that aasource and bbsource satisfy the same formulas of quantifier rank no greater than nsource, which completes the proof.

Finite back-and-forth equivalence matches bounded elementary equivalence

If Msource and Nsource are purely relational structures in a finite language, then MnNsource if and only if MnNsource. In particular MNsource if and only if for each nsource, MnNsource .

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 Msource for the language containing a single 2-place predicate symbol <source satisfying the following sentences:

  1. x¬x<xsource;

  2. xyz(x<y(y<zx<z))source;

  3. xy(x<yx=yy<x)source;

  4. xyx<ysource;

  5. xyy<xsource;

  6. xy(x<yz(x<zz<y))source.

Cantor isomorphism theorem for countable dense orders

Any two enumerable dense linear orderings without endpoints are isomorphic.

Proof

Let M1source and M2source be enumerable dense linear orderings without endpoints, with <1=<M1source and <2=<M2source, and let Isource be the set of all partial isomorphisms between them. Isource is not empty since at least Isource. We show that Isource satisfies the Back-and-Forth property. Then M1pM2source, and the theorem follows by reference thm:p-isom1.

To show Isource satisfies the Forth property, let pIsource and let p(ai)=bisource for i=1source, dots, nsource, and without loss of generality suppose a1<1a2<1<1ansource. Given a|M1|source, find b|M2|source as follows:

  1. if a<1a1source let b|M2|source be such that b<2b1source;

  2. if an<1asource let b|M2|source be such that bn<2bsource;

  3. if ai<1a<1ai+1source for some isource, then let b|M2|source be such that bi<2b<2bi+1source.

It is always possible to find a bsource with the desired property since M2source is a dense linear ordering without endpoints. Define q=p{a,b}source so that qIsource is the desired extension of psource. This establishes the Forth property. The Back property is similar. So M1pM2source; by reference thm:p-isom1, M1M2source.

Exercise verifying the back property for dense orders

Complete the proof of reference thm:cantorQ by verifying that Isource satisfies the Back property.

Source disclosures