ๅฎŸ็›ด่‹ฆ้—˜ ใ‚ทใƒณใ‚ปใƒชใƒ†ใ‚ฃใจใ‚นใƒˆใƒฉใ‚ฐใƒซ

On Model Theory: Chapter Three

You may ask why I name this chapter with such a title in quiet simplicity. Thatโ€™s because I HATE this chapter in A Course in Model Theory. Therefore, here is my version of this chapter, which I deleted a lot from and added some into. I hope you like it.

Quantifier Elimination

A method of model theory in the early stage is called quantifier elimination. One can easily understand it by the name that we can find a substitution of one formula with a quantifier free formula. More formally, given a theory TT, we say TT has quantifier elimination if and only if, for every formula varphi varphi, there is a quantifier free formula ฯˆ\psi with TโŠขฯ†โ†”ฯˆT\vdash \varphi\leftrightarrow\psi, which reads ฯ†\varphi is equivalent to ฯˆ\psi modulo T. For sake of convenience, in such condition, we say the quantifier of ฯ†\varphi can be eliminated.

There is a simple characterization of it. We introduce a concept first.

A formula in the prenex normal form is called simple existential if it is in the form

โˆƒx1โ‹ฏโˆƒxnฯ†(x1,โ‹ฏโ€‰,xn,y1,โ‹ฏโ€‰,yn),\exists x_1\cdots\exists x_n\varphi(x_1,\cdots,x_n,y_1,\cdots,y_n),

and it is called primitive if ฯ†\varphi is a conjunction of basic formulas.

A remark needs to be given here that a simple existential formula is not an existential formula, which is defined as a formula in negation normal form having no universal quantifiers. An example is (โˆƒxP(x))โˆจ(โˆƒxQ(x))(\exists xP(x))\vee(\exists xQ(x)), where P,QP,Q are predicates.

A theory TT has quantifier elimination if and only if the quantifier of every primitive existential formula ฯ†\varphi can be eliminated. One can easily prove this by replacing primitive existential formulas with quantifier-free formulas in some order.

Here we give another characterization. For convenience, in this article, we define (Prop.QE) as the proposition that a given theory TT has quantifier elimination, and we write (Prop.A) as following with corresponding theory TT.

(Prop.A): Given models M,N\mathfrak{M,N} of TT, with common substructure A\mathfrak{A}, for all primitive existential formulas ฯ†(x1,โ‹ฏโ€‰,xn)\varphi(x_1,\cdots,x_n) and parameters a1,โ‹ฏโ€‰,anโˆˆAa_1,\cdots,a_n\in A, we have

MโŠจฯ†(a1,โ‹ฏโ€‰,an)โ‡”NโŠจฯ†(a1,โ‹ฏโ€‰,an).\mathfrak{M}\models\varphi(a_1,\cdots,a_n)\Leftrightarrow\mathfrak{N}\models\varphi(a_1,\cdots,a_n).

The characterization of quantifier elimination is (Prop.QE) if and only if (Prop.A). This is not that easy to prove, and the direct proof is rather complicated (or maybe just I donโ€™t like it.) I have found a better way to prove it (I hope there is nothing wrong!), and here it is.

Types, Topology, and Proof

To make the proof more understandable, we introduce some new concepts at first.

Types!

Given a structure A\mathfrak{A} and a1,โ‹ฏโ€‰,anโˆˆAa_1,\cdots,a_n\in A, we call the set

tpA(a1,โ‹ฏโ€‰,an)={ฯ†(x1,โ‹ฏโ€‰,xn);AโŠจฯ†(a1,โ‹ฏโ€‰,an)}\mathrm{tp}_\mathfrak{A}(a_1,\cdots,a_n)=\{\varphi(x_1,\cdots,x_n);\mathfrak{A}\models\varphi(a_1,\cdots,a_n)\}

an nn-type. We should give two remarks,

  1. an nn-type is the set of nn-ary formulas which is maximal finitely satisfiable.
  2. there are also formulas with less variables in an nn-type.

Given a satisfiable theory TT, the set of all types that contain (one understand this by remark 2) TT is denoted by Sn(T)S_n(T), which is exactly the nn-types in LL that consistent with TT.

The nontriviality of Sn(T)S_n(T) is that it can be equipped with a topology. For a given formula ฯ†\varphi, we define [ฯ†][\varphi] to be the set of all nn-types containing ฯ†\varphi. One can easily check that O={[ฯ†];ฯ†ย isย aย formula}\mathcal{O}=\{[\varphi];\varphi\text{ is a formula}\} gives the basic open sets on Sn(T)S_n(T).

Now, we can rewrite the (Prop.A) with the language of types as follows.

(Prop.Aโ€™): M,N\mathfrak{M,N} are models of theory TT, with common substructure A\mathfrak{A}. For a1,โ‹ฏโ€‰,anโˆˆAa_1,\cdots,a_n\in A, then the primitive existential formulas in tpM(a1,โ‹ฏโ€‰,an),tpN(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{M}(a_1,\cdots,a_n),\mathrm{tp}_\mathfrak{N}(a_1,\cdots,a_n) are the same.

Topology!

To be totally irresponsible, itโ€™s easy to prove that such a topological space is totally disconnected, Hausdorff, and compact (this is why compactness was discussed in the last chapter).

One should also realize that the closed sets are in the form of

{ฮฃโˆˆSn(T);ฮฃโŠƒฮฃโ€ฒ}\{\Sigma\in S_n(T);\Sigma\supset\Sigma'\}

where ฮฃโ€ฒ\Sigma' is a given set of formulas. The clopen sets are exactly [ฯ†][\varphi].

Letโ€™s prove a lemma. For an LL-formula ฯ†(a1,โ‹ฏโ€‰,an)\varphi(a_1,\cdots,a_n) and a set ฮฃ\Sigma of formulas which is closed under disjunction and conjunction, the following are equivalent:

  1. TโŠจฯ†T\models\varphi or TโŠจยฌฯ†T\models\neg\varphi or TโŠจฯ†โ†”ฯƒT\models\varphi\leftrightarrow\sigma for some formula ฯƒโˆˆฮฃ\sigma\in\Sigma.
  2. For every p1,p2โˆˆSn(T)p_1,p_2\in S_n(T), if ฯ†โˆˆp1\varphi\in p_1 and ยฌฯ†โˆˆp2\neg\varphi\in p_2, then there exists ฯƒโˆˆฮฃ\sigma\in\Sigma such that ฯƒโˆˆp1\sigma\in p_1 and ยฌฯƒโˆˆp2\neg\sigma\in p_2.

We only prove (2 โ‡’\Rightarrow 1). If 2 holds and neither TโŠจฯ†T\models\varphi nor TโŠจยฌฯ†T\models\neg\varphi, we have to prove TโŠจฯ†โ†”ฯƒT\models\varphi\leftrightarrow\sigma for some formula ฯƒโˆˆฮฃ\sigma\in\Sigma. This is equivalent to find a ฯƒ\sigma such that [ฯƒ]=[ฯ†][\sigma]=[\varphi].

For any type pโˆˆ[ฯ†]p\in[\varphi], by condition 2, there is a subset ฮฃโ€ฒ\Sigma' of ฮฃ\Sigma such that [ฯ†]cโŠ‚โ‹ƒ{ยฌ[ฯƒโ€ฒ];ฯƒโ€ฒโˆˆฮฃโ€ฒ}[\varphi]^c\subset\bigcup\{\neg[\sigma'];\sigma'\in\Sigma'\}. Since the space is compact, there is a finite subcover. By taking disjunction, we have a ฯƒโ€ฒโˆˆฮฃ\sigma'\in\Sigma such that pโˆˆ[ฯƒโ€ฒ]โŠ‚[ฯ†]p\in[\sigma']\subset[\varphi]. By such process, we find an open cover of [ฯ†][\varphi] generated from ฮฃ\Sigma. Again, by compactness and disjunction, we find some ฯƒโˆˆฮฃ\sigma\in\Sigma that we desire. Here, the operation of disjunction is guaranteed by the closure of ฮฃ\Sigma, so the reader need not worry about the validity.

By this lemma, one can easily prove the following theorem.

(Prop.QE) if and only if (Prop.B): for each nโ‰ฅ1n\ge 1, every type in Sn(T)S_n(T) is determined by the quantifier free formula it contains.

Proof!

Now, we can prove the theorem we want. To prove that (Prop.QE) if and only if (Prop.A), we only have to prove that (Prop.Aโ€™) is equivalent to (Prop.B).

We prove (Prop.B)โ‡’\Rightarrow(Prop.Aโ€™) first. By the definition of substructure, for any quantifier-free formula ฯ†(x1,โ‹ฏโ€‰,xn)\varphi(x_1,\cdots,x_n),

MโŠจฯ†(a1,โ‹ฏโ€‰,an)โ‡”AโŠจฯ†(a1,โ‹ฏโ€‰,an)โ‡”NโŠจฯ†(a1,โ‹ฏโ€‰,an),\mathfrak{M}\models\varphi(a_1,\cdots,a_n)\Leftrightarrow\mathfrak{A}\models\varphi(a_1,\cdots,a_n)\Leftrightarrow\mathfrak{N}\models\varphi(a_1,\cdots,a_n),

where a1,โ‹ฏโ€‰,anโˆˆAa_1,\cdots,a_n\in A. With (Prop.B), tpM(a1,โ‹ฏโ€‰,an)=tpN(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{M}(a_1,\cdots,a_n)=\mathrm{tp}_\mathfrak{N}(a_1,\cdots,a_n), then (Prop.Aโ€™) holds vacuously.

Conversely, suppose that (Prop.Aโ€™) holds. For two given types tpM(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{M}(a_1,\cdots,a_n) and tpN(b1,โ‹ฏโ€‰,bn)\mathrm{tp}_\mathfrak{N}(b_1,\cdots,b_n) which share the same quantifier-free formulas. Denote A={a1,โ‹ฏโ€‰,an},B={b1,โ‹ฏโ€‰,bn}A=\{a_1,\cdots,a_n\},B=\{b_1,\cdots,b_n\}, then โŸจAโŸฉ\langle A\rangle is isomorphic to โŸจBโŸฉ\langle B \rangle. Itโ€™s clear (one can refer to Lemma 1.1.8 in Tentโ€“Ziegler, A Course in Model Theory) that there is an extension Mโ€ฒ\mathfrak{M}' of โŸจAโŸฉ\langle A \rangle which is isomorphic to N\mathfrak{N}. Now, we can assume that M\mathfrak{M} and N\mathfrak{N} have a common substructure A\mathfrak{A} with a1,โ‹ฏโ€‰,anโˆˆAa_1,\cdots,a_n\in\mathfrak{A} without loss of generality.

We write every simple existential formula in the form โˆƒx1โ‹ฏโˆƒxnโ‹i<nฯi\exists x_1\cdots\exists x_n\bigvee_{i<n}\rho_i, where ฯi\rho_i are conjunctions of basic formulas. Then every simple existential formula is equivalent to a disjunction of primitive existential formulas. Therefore, we can assume tpM(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{M}(a_1,\cdots,a_n) and tpN(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{N}(a_1,\cdots,a_n) share the same simple existential formula by (Prop.Aโ€™).

Now, consider an arbitrary formula. We first rewrite it into prenex normal form, which is Qnxnโ‹ฏQ1x1ฯQ_nx_n\cdots Q_1x_1\rho. If Q1Q_1 is โˆƒ\exists, then Q1x1ฯQ_1x_1\rho is either in or not in both tpM(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{M}(a_1,\cdots,a_n) and tpN(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{N}(a_1,\cdots,a_n). If Q1Q_1 is โˆ€\forall, then we rewrite it as ยฌโˆƒx1ยฌฯ\neg\exists x_1\neg\rho, which is still either in or not in both tpM(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{M}(a_1,\cdots,a_n) and tpN(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{N}(a_1,\cdots,a_n). Keeping such a process, we can prove this formula is in both tpM(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{M}(a_1,\cdots,a_n) and tpN(a1,โ‹ฏโ€‰,an)\mathrm{tp}_\mathfrak{N}(a_1,\cdots,a_n). Hence (Prop.B) holds.

Snacks

Some results should also be given here, which are useful, important, but irrelevant to the main thread of this article.

Another criterion

We have already proved the equivalence of (Prop.QE) and (Prop.A), but there is actually a intermediate proposition there.

(Prop.L): Given two models M,N\mathfrak{M},\mathfrak{N} of LL with a common substructure A\mathfrak{A}, we have MAโ‰กNA\mathfrak{M}_A\equiv\mathfrak{N}_A.

Given a sentence ฯ†\varphi in L(A)L(A), we can rewrite it as a formula ฯˆ(a1,โ‹ฏโ€‰,an)\psi(a_1,\cdots,a_n) in LL. And by (Prop.QE), there is a quantifier free formula ฯ(a1,โ‹ฏโ€‰,an)\rho(a_1,\cdots,a_n) which has the same truth value in models of LL. Then we have

MAโŠจฯ†โ‡”MโŠจฯˆ(a1,โ‹ฏโ€‰,an)โ‡”MโŠจฯ(a1,โ‹ฏโ€‰,an)โ‡”AโŠจฯ(a1,โ‹ฏโ€‰,an)โ‡”NโŠจฯ(a1,โ‹ฏโ€‰,an)โ‡”NโŠจฯˆ(a1,โ‹ฏโ€‰,an)โ‡”NAโŠจฯ†.\begin{align*} \mathfrak{M}_A\models\varphi&\Leftrightarrow\mathfrak{M}\models\psi(a_1,\cdots,a_n)\\ &\Leftrightarrow\mathfrak{M}\models\rho(a_1,\cdots,a_n)\\ &\Leftrightarrow \mathfrak{A}\models\rho(a_1,\cdots,a_n)\\ &\Leftrightarrow \mathfrak{N}\models\rho(a_1,\cdots,a_n)\\ &\Leftrightarrow\mathfrak{N}\models\psi(a_1,\cdots,a_n)\Leftrightarrow\mathfrak{N}_A\models\varphi. \end{align*}

This shows (Prop.QE)โ‡’\Rightarrow(Prop.L). And (Prop.L)โ‡’\Rightarrow(Prop.A) is obvious. This provides another criterion for quantifier elimination, which is also quite useful.

Prime Structure

A prime structure of TT is a structure that can be embedded into all models of TT. A consistent theory with a prime structure and quantifier elimination is complete.

Suppose the converse. Without loss of generality, we can let ฯ†\varphi be a sentence and MโŠจฯ†,NโŠจยฌฯ†\mathfrak{M}\models\varphi,\mathfrak{N}\models\neg\varphi be two models of TT that do not agree on ฯ†\varphi. Then, we can find a quantifier-free formula ฯ\rho with no free variables which is equivalent to ฯ†\varphi modulo TT. However, ฯ\rho must be the same in M\mathfrak{M} and N\mathfrak{N} since they share the same interpretation of constants, which leads to a contradiction.

Examples

The detailed mathematical structures are important in the early stage of Model Theory. We introduce the theories here and investigate their properties.

Infinite sets

The language here is empty, and infinite sets are axiomatized by sentences

โˆƒx1โ‹ฏโˆƒxnโ‹€i<j<nยฌxi=xj,\exists x_1\cdots\exists x_n\bigwedge_{i<j<n}\neg x_i=x_j,

for any positive integer nn.

Itโ€™s clear that this theory has quantifier elimination, since the only predicate is โ€=โ€œ. The empty set is the prime structure of this theory; therefore, it is complete.

Dense Linear Orderings

This theory is called dense linear orderings without endpoints, and abbreviates as DLO\mathsf{DLO}. The language only needs a symbol <<, and the axioms are the following,

  1. (Irreflexive) โˆ€x(ยฌx=x)\forall x(\neg x=x),
  2. (Transitive) โˆ€xโˆ€yโˆ€z(x<yโˆงy<zโ†’x<z)\forall x\forall y\forall z(x<y\wedge y<z\rightarrow x<z),
  3. (Trichotomy) โˆ€xโˆ€y(x<yโˆจy<xโˆจx=y)\forall x\forall y(x<y\vee y<x\vee x=y),
  4. (No endpoints) โˆ€xโˆƒy(x<y)\forall x\exists y(x<y),
  5. (No endpoints) โˆ€xโˆƒy(y<x)\forall x\exists y(y<x),
  6. (Density) โˆ€xโˆ€zโˆƒy(x<zโ†’(x<yโˆงy<z))\forall x\forall z\exists y(x<z\rightarrow (x<y\wedge y<z)).

Now, we prove that this theory has quantifier elimination. Suppose M\mathfrak{M} and N\mathfrak{N} are two models with a common substructure A\mathfrak{A}. You will see that the formula ฯ†(a1,โ‹ฏโ€‰,an)\varphi(a_1,\cdots,a_n), where ฯ†(x1,โ‹ฏโ€‰,xn)\varphi(x_1,\cdots,x_n) is a primitive existential formula and a1,โ‹ฏโ€‰,anโˆˆAa_1,\cdots,a_n\in A, only cares about the relationships between elements in AA and โ€œwhether there is something in front of, in the middle of, or after some two elements of AAโ€œ. The truth value of these thingsโ€”I hope my reader can agree with this without further explanationโ€”is independent of the choice of either M\mathfrak{M} or N\mathfrak{N}. This is exactly (Prop.A).

The reader might note that there are no constants, and this is a proof of the completeness.

Algebraically Closed Field

The language we need here is Lring=0,1,+,โˆ’,โ‹…L_{\text{ring}}={0,1,+,-,\cdot}, and the axioms are:

  1. โˆ€xโˆ€yโˆ€z((x+y)+z=x+(y+z))\forall x\forall y\forall z((x+y)+z=x+(y+z)),
  2. โˆ€xโˆ€y(x+y=y+x)\forall x\forall y(x+y=y+x),
  3. โˆ€x(x+0=x)\forall x(x+0=x),
  4. โˆ€x(x+(โˆ’x)=0)\forall x(x+(-x)=0),
  5. โˆ€xโˆ€yโˆ€z((xโ‹…y)โ‹…z=xโ‹…(yโ‹…z))\forall x\forall y\forall z((x\cdot y)\cdot z=x\cdot(y\cdot z)),
  6. โˆ€xโˆ€y(xโ‹…y=yโ‹…x)\forall x\forall y(x\cdot y=y\cdot x),
  7. โˆ€x(xโ‹…1=x)\forall x(x\cdot1=x),
  8. โˆ€x(ยฌ(x=0)โ†’โˆƒy(xโ‹…y=1))\forall x (\neg(x=0)\rightarrow \exists y(x\cdot y =1)),
  9. โˆ€xโˆ€yโˆ€z(xโ‹…(y+z)=(xโ‹…y+xโ‹…z))\forall x\forall y\forall z(x\cdot(y+z)=(x\cdot y+x\cdot z)),
  10. ยฌ(0=1)\neg(0=1),
  11. for every positive integer nn, โˆ€x0โ‹ฏโˆ€xnโˆ’1โˆƒx(xn+xnโˆ’1xnโˆ’1+โ‹ฏ+x1x+x0=0)\forall x_0\cdots\forall x_{n-1}\exists x(x^{n}+x_{n-1}x^{n-1}+\cdots+x_1x+x_0=0) (any reader can easily understand this abbreviation).

And now, Iโ€™m too lazy to prove the quantifier elimination of it, sorry.