content/model-theory/lindstrom/lindstrom.tex
1% Part: model-theory2% Chapter: lindstrom34\documentclass[../../../include/open-logic-chapter]{subfiles}56\begin{document}78\olchapter{mod}{lin}{Lindstr\"om's Theorem}910\olimport{introduction}1112\olimport{abstract-logics}1314\olimport{ls-property}1516\olimport{lindstrom-proof}1718\OLEndChapterHook1920\end{document}
content/model-theory/lindstrom/introduction.tex
1% Part: first-order-logic2% Chapter: lindstrom3% Section: introduction45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{mod}{lin}{int}10\section{Introduction}1112In this chapter we aim to prove Lindstr\"om's characterization of13first-order logic as the maximal logic for which (given certain14further constraints) the Compactness and the Downward15L\"owenheim--Skolem theorems hold16(\olref[fol][com][com]{thm:compactness} and17\olref[fol][com][dls]{thm:downward-ls}). First, we need a more general18characterization of the general class of logics to which the theorem19applies. We will restrict ourselves to \emph{relational} languages,20i.e., languages which only contain !!{predicate}s and individual21constants, but no !!{function}s.2223\end{document}
content/model-theory/lindstrom/abstract-logics.tex
1% Part: first-order-logic2% Chapter: lindstrom3% Section: abstract-logics45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{mod}{lin}{alg}10\olsection{Abstract Logics}1112\begin{defn}13An \emph{abstract logic} is a pair $\tuple{L, \models_L}$, where $L$14is a function that assigns to each !!{language}~$\Lang{L}$ a set15$L(\Lang{L})$ of !!{sentence}s, and $\models_L$ is a relation between16!!{structure}s for the !!{language}~$\Lang{L}$ and !!{element}s of17$L(\Lang{L})$. In particular, $\tuple{F, \models}$ is ordinary18first-order logic, i.e., $F$ is the function assigning to the19!!{language}~$\Lang{L}$ the set of first-order !!{sentence}s built from20the constants in $\Lang{L}$, and $\models$ is the satisfaction relation21of first-order logic.22\end{defn}2324Notice that we are still employing the same notion of !!{structure}25for a given !!{language} as for first-order logic, but we do not26presuppose that !!{sentence}s are build up from the basic symbols in27$\Lang{L}$ in the usual way, nor that the relation $\models_L$ is28recursively defined in the same way as for first-order logic. So for29instance the definition, being completely general, is intended to30capture the case where !!{sentence}s in $\tuple{L,\models_L}$ contain31infinitely long conjunctions or disjunction, or quantifiers other than32$\lexists$ and $\lforall$ (e.g., ``there are infinitely many~$x$ such33that \dots''), or perhaps infinitely long quantifier prefixes. To34emphasize that ``!!{sentence}s'' in $L(\Lang{L})$ need not be ordinary35!!{sentence}s of first-order logic, in this chapter we use !!{variable}s $!E$,36$!F$,~\dots to range over them, and reserve $!A$, $!B$,~\dots for37ordinary first-order !!{formula}s.3839\begin{defn}40Let $\Mod(L){!E}$ denote the class $\Setabs{\Struct{M}}{\Struct{M}41 \models_L !E}$. If the !!{language} needs to be made explicit, we42write $\Mod[L](L){!E}$. Two !!{structure}s $\Struct{M}$ and43$\Struct{N}$ for $\Lang{L}$ are \emph{elementarily equivalent in}44$\tuple{L, \models_L}$, written $\Struct{M} \elemequiv[L] \Struct{N}$, if45the same !!{sentence}s from $L(\Lang{L})$ are true in each.46\end{defn}4748\begin{defn}49An abstract logic $\tuple{L,\models_L}$ for the !!{language} $\Lang{L}$50is \emph{normal} if it satisfies the following properties:51\begin{enumerate}52\item (\emph{$L$-Monotonicity}) For !!{language}s $\Lang{L}$ and53 $\Lang{L'}$, if $\Lang{L} \subseteq \Lang{L'}$, then54 $L(\Lang{L}) \subseteq L(\Lang{L'})$.55\item (\emph{Expansion Property}) For each $!E \in L(\Lang{L})$56 there is a \emph{finite} subset $\Lang{L'}$ of $\Lang{L}$ such that57 the relation $\Struct{M} \models_L !E$ depends only on the58 reduct of $\Struct{M}$ to $\Lang{L'}$; i.e., if $\Struct{M}$ and59 $\Struct{N}$ have the same reduct to $\Lang{L'}$ then $\Struct{M}60 \models_L !E$ if and only if $\Struct{N} \models_L !E$.61\item (\emph{Isomorphism Property}) If $\Struct{M} \models_L !E$62 and $\Struct{M} \simeq \Struct{N}$ then also $\Struct{N} \models_L63 !E$.64\item (\emph{Renaming Property}) The relation $\models_L$ is preserved65 under renaming: if the !!{language} $\Lang{L}'$ is obtained from66 $\Lang{L}$ by replacing each symbol $P$ by a symbol $P'$ of the same67 arity and each constant $c$ by a distinct constant $c'$, then for68 each !!{structure}~$\Struct{M}$ and !!{sentence}~$!E$, $\Struct{M}69 \models_L !E$ if and only if $\Struct{M}' \models_L !E'$,70 where $\Struct{M}'$ is the $\Lang{L}'$-!!{structure} corresponding71 to $\Lang{L}$ and $!E' \in L(\Lang{L}')$.72\item (\emph{Boolean Property}) The abstract logic $\tuple{L,73 \models_L}$ is closed under the Boolean connectives in the sense74 that for each $!E \in L(\Lang{L})$ there is a~$!F \in75 L(\Lang{L})$ such that $\Struct{M} \models_L !F$ if and only if76 $\Struct{M} \not\models_L !E$, and for each $!E$ and $!F$77 there is a $!G$ such that $\Mod(L){!G} = \Mod(L){!E} \cap78 \Mod(L){!F}$. Similarly for atomic !!{formula}s and the other79 connectives.80\item (\emph{Quantifier Property}) For each constant $c$ in $\Lang{L}$81 and $!E \in L(\Lang{L})$ there is a $!F \in L(\Lang{L})$ such82 that83 \[84 \Mod[L'](L){!F} = \Setabs{\Struct{M}}{\Expan{M}{a} \in85 \Mod[L](L){!E} \text{ for some } a \in \Domain{M}},86 \]87 where $\Lang{L'} = \Lang{L} \setminus \{c\}$ and $\Expan{M}{a}$88 is the expansion of $\Struct{M}$ to $\Lang{L}$ assigning $a$89 to~$c$.90\item (\emph{Relativization Property}) Given !!a{sentence} $!E \in91 L(\Lang{L})$ and symbols $R$, $c_1$, \dots, $c_n$ not in $\Lang{L}$,92 there is !!a{sentence} $!F \in L(\Lang{L} \cup \{R,c_1,\ldots,c_n\})$93 called the \emph{relativization} of $!E$ to $\Atom{R}{x, c_1, \dots c_n}$,94 such that for each !!{structure}~$\Struct{M}$:95 \[96 \Expan{M}{X, b_1, \ldots, b_n} \models_L !F \text{ if and97 only if } \Struct{N} \models_L !E,98 \]99 where $\Struct{N}$ is the substructure of $\Struct{M}$ with !!{domain}100 $\Domain{N} = \Setabs{a\in \Domain{M}}{\Assign{R}{M}(a, b_1, \dots, b_n)}$101 (see \olref[bas][sub]{rem:substructure}), and $\Expan{M}{X, b_1, \ldots,102 b_n}$ is the expansion of $\Struct{M}$ interpreting $R$, $c_1$,103 \dots, $c_n$ by $X$, $b_1,$ \dots, $b_n$, respectively (with $X104 \subseteq M^{n+1}$).105\end{enumerate}106\end{defn}107 108\begin{defn}109Given two abstract logics $\tuple{L_1, \models_{L_1}}$ and110$\tuple{L_2, \models_{L_2}}$ we say that the latter is \emph{at least111 as expressive} as the former, written $\tuple{L_1, \models_{L_1}}112\leq \tuple{L_2, \models_{L_2}}$, if for each !!{language} $\Lang{L}$113and !!{sentence} $!E \in L_1(\Lang{L})$ there is !!a{sentence} $!F114\in L_2(\Lang{L})$ such that $\Mod[L](L_1){!E} =115\Mod[L](L_2){!F}$. The logics $\tuple{L_1, \models_{L_1}}$ and116$\tuple{L_2, \models_{L_2}}$ are \emph{equivalent} if $\tuple{L_1,117 \models_{L_1}} \leq \tuple{L_2, \models_{L_2}}$ and $\tuple{L_2,118 \models_{L_2}} \leq \tuple{L_1, \models_{L_1}}$.119\end{defn}120121\begin{rem}122 First-order logic, i.e., the abstract logic $\tuple{F, \models}$, is123 normal. In fact, the above properties are mostly straightforward for124 first-order logic. We just remark that the expansion property comes125 down to extensionality, and that the relativization of126 !!a{sentence} $!E$ to $\Atom{R}{x, c_1, \dots, c_n}$ is obtained by127 replacing each !!{subformula} $\lforall[x][!F]$ by128 $\lforall[x][(\Atom{R}{x, c_1, \dots, c_n} \lif \ !F)]$. Moreover,129 if $\tuple{L, \models_L}$ is normal, then130 $\tuple{F, \models} \leq \tuple{L, \models_{L}}$, as can be can131 shown by induction on first-order !!{formula}s. Accordingly, with no132 loss in generality, we can assume that every first-order133 !!{sentence} belongs to every normal logic.134\end{rem}135136\end{document}137
content/model-theory/lindstrom/ls-property.tex
1% Part: first-order-logic2% Chapter: lindstrom3% Section: ls-property45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{mod}{lin}{lsp}1011\olsection{Compactness and L\"owenheim--Skolem Properties}1213We now give the obvious extensions of compactness and14L\"owenheim--Skolem to the case of abstract logics.1516\begin{defn}17An abstract logic $\tuple{L, \models_L}$ has the \emph{Compactness18 Property} if each set $\Gamma$ of $L(\Lang{L})$-!!{sentence}s is19satisfiable whenever each finite $\Gamma_0 \subseteq \Gamma$ is20satisfiable.21\end{defn}2223\begin{defn}24$\tuple{L, \models_L}$ has the \emph{Downward L\"owenheim--Skolem25 property} if any satisfiable $\Gamma$ has !!a{enumerable} model.26\end{defn}272829The notion of partial isomorphism from30\olref[bas][pis]{defn:partialisom} is purely ``algebraic'' (i.e.,31given without reference to the !!{sentence}s of the language but only32to the constants provided by the !!{language}~$\Lang{L}$ of the33!!{structure}s), and hence it applies to the case of abstract34logics. In case of first-order logic, we know from35\olref[bas][pis]{thm:p-isom2} that if two !!{structure}s are partially36isomorphic then they are elementarily equivalent. That proof does not37carry over to abstract logics, for induction on !!{formula}s need not38be available for arbitrary $!E \in L(\Lang{L})$, but the theorem is39true nonetheless, provided the L\"owenheim--Skolem property holds.4041\begin{thm}42\ollabel{thm:abstract-p-isom}43Suppose $\tuple{L, \models_L}$ is a normal logic with the44L\"owenheim--Skolem property. Then any two !!{structure}s that are45partially isomorphic are elementarily equivalent in $\tuple{L,46 \models_L}$.47\end{thm}4849\begin{proof}50Suppose $\Struct{M} \simeq_p \Struct{N}$, but for some $!E$ also51$\Struct{M} \models_L !E$ while $\Struct{N} \not\models_L !E$. By the52Isomorphism Property we can assume that $\Domain{M}$ and $\Domain{N}$53are disjoint, and by the Expansion Property we can assume that $!E \in54L(\Lang{L})$ for a finite !!{language}~$\Lang{L}$. Let $\mathcal{I}$55be a set of partial isomorphisms between $\Struct{M}$ and56$\Struct{N}$, and with no loss of generality also assume that if $p57\in \mathcal{I}$ and $q \subseteq p$ then also $q \in \mathcal{I}$.5859$\Domain{M}^{<\omega}$ is the set of finite sequences of !!{element}s60of~$\Domain{M}$. Let $S$ be the ternary relation over $\Domain{M}^{<\omega}$61representing concatenation, i.e., if $\mathbf{a}, \mathbf{b},62\mathbf{c} \in \Domain{M}^{<\omega}$ then $S(\mathbf{a}, \mathbf{b},63\mathbf{c})$ holds if and only if $\mathbf{c}$ is the concatenation of64$\mathbf{a}$ and $\mathbf{b}$; and let $T$ be the ternary relation65such that $T(\mathbf{a}, b, \mathbf{c})$ holds for $b \in M$ and66$\mathbf{a}, \mathbf{c} \in \Domain{M}^{<\omega}$ if and only if $\mathbf{a} =67a_1, \dots a_n$ and $\mathbf{c} = a_1, \dots a_n, b$. Pick new683-place !!{predicate}s $P$ and $Q$ and form the !!{structure}69$\Struct{M}^*$ having the universe $\Domain{M} \cup \Domain{M}^{<\omega}$, having70$\Struct{M}$ as a substructure, and interpreting $P$ and $Q$ by the71concatenation relations $S$ and $T$ (so $\Struct{M}^*$ is in the72!!{language} $\Lang{L} \cup \{ P, Q\}$).7374Define $\Domain{N}^{<\omega}$, $S'$, $T'$, $P'$, $Q'$ and75$\Struct{N}^*$ analogously. Since by hypothesis $\Struct{M} \simeq_p76\Struct{N}$, there is a relation $I$ between $\Domain{M}^{<\omega}$77and $\Domain{N}^{<\omega}$ such that $I(\mathbf{a}, \mathbf{b})$78holds if and only if $\mathbf{a}$ and $\mathbf{b}$ are isomorphic and79satisfy the back-and-forth condition of80\olref[bas][pis]{defn:partialisom}. Now, let $\Struct{M}$ be the81!!{structure} whose !!{domain} is the union of the !!{domain}s of82$\Struct{M}^*$ and $\Struct{N}^*$, having $\Struct{M}^*$ and83$\Struct{N}^*$ as sub!!{structure}s, in the !!{language} with one extra84binary !!{predicate}~$R$ interpreted by the relation~$I$ and85!!{predicate}s denoting the !!{domain}s $\Domain{M}^*$86and~$\Domain{N}*$.8788\begin{figure}[h]89 \centering90 \begin{tikzpicture}[node distance=2cm, auto, thick, >=stealth']91 \draw [rounded corners] (0,0) -- (8,0) -- (8,4) -- (0,4) -- cycle;92 \draw (2,2) circle (0.5cm);93 \draw (2,2) circle (1.25cm);94 \draw (6,2) circle (0.5cm);95 \draw (6,2) circle (1.25cm);96 \path node at (0.75,3.5) {\large $\Struct{M}$};97 \path node at (2,2) {\large $\Struct{M}$};98 \path node at (6,2) {\large $\Struct{N}$};99 \path node at (3.5,1) {\large $\Struct{M}^*$};100 \path node at (7.5,1) {\large $\Struct{N}^*$};101 \node (Idom) at (2.8,2) {};102 \node (Irng) at (5.2,2) {};103 \draw[<->, bend left] (Idom) to node {\large $I$} (Irng) ;104 \end{tikzpicture} 105 \caption{The !!{structure}~$\Struct{M}$ with the internal106 partial isomorphism.}107\end{figure}108109The crucial observation is that in the !!{language} of the110!!{structure}~$\Struct{M}$ there is a \emph{first-order} !!{sentence} $!D_1$111true in $\Struct{M}$ saying that $\Struct{M} \models_L !E$ and112$\Struct{N} \not\models_L !E$ (this requires the Relativization113Property), as well as a \emph{first-order} !!{sentence} $!D_2$ true in114$\Struct{M}$ saying that $\Struct{M} \simeq_p \Struct{N}$ via the115partial isomorphism~$I$. By the L\"owenheim--Skolem Property, $!D_1$116and $!D_2$ are jointly true in !!a{enumerable} model $\Struct{M}_0$117containing partially isomorphic substructures $\Struct{M}_0$ and118$\Struct{N}_0$ such that $\Struct{M}_0 \models_L !E$ and $\Struct{N}_0119\not\models_L !E$. But !!{enumerable} partially isomorphic !!{structure}s are120in fact isomorphic by \olref[bas][pis]{thm:p-isom1}, contradicting the121Isomorphism Property of normal abstract logics.122\end{proof}123124\end{document}
content/model-theory/lindstrom/lindstrom-proof.tex
1% Part: first-order-logic2% Chapter: lindstrom3% Section: lindstrom-proof45\documentclass[../../../include/open-logic-section]{subfiles}67\begin{document}89\olfileid{mod}{lin}{prf}1011\olsection{Lindstr\"om's Theorem}1213\begin{lem}14\ollabel{lem:lindstrom}15Suppose $!E \in L(\Lang{L})$, with $\Lang{L}$ finite, and assume16also that there is an $n \in \Nat$ such that for any two17!!{structure}s $\Struct{M}$ and~$\Struct{N}$, if $\Struct{M} \equiv_n18\Struct{N}$ and $\Struct{M} \models_L !E$ then also $\Struct{N}19\models_L !E$. Then $!E$ is equivalent to a first-order20!!{sentence}, i.e., there is a first-order $!D$ such that21$\Mod(L){!E} = \Mod(L){!D}$.22\end{lem}2324\begin{proof} 25Let $n$ be such that any two $n$-equivalent !!{structure}s26$\Struct{M}$ and $\Struct{N}$ agree on the value assigned to~$!E$.27Recall \olref[bas][pis]{prop:qr-finite}: there are only finitely many28first-order !!{sentence}s in a finite !!{language} that have29quantifier rank no greater than~$n$, up to logical equivalence. Now,30for each fixed !!{structure}~$\Struct{M}$ let $!D_{\Struct{M}}$ be the31conjunction of all first-order !!{sentence}s~$!E$ true in~$\Struct{M}$32with $\QuantRank{!E} \le n$ (this conjunction is finite), so that33$\Struct{N} \models !D_{\Struct{M}}$ if and only if $\Struct{N}34\equiv_n \Struct{M}$. Then put $!D = \textstyle\bigvee35\Setabs{!D_{\Struct{M}}}{\Struct{M} \models_L !E}$; this disjunction36is also finite (up to logical equivalence).3738The conclusion $\Mod(L){!E} = \Mod(L){!D}$ follows. In fact, if39$\Struct{N} \models_L !D$ then for some $\Struct{M} \models_L40!E$ we have $\Struct{N} \models !D_{\Struct{M}}$, whence also41$\Struct{N} \models_L !E$ (by the hypothesis of the42lemma). Conversely, if $\Struct{N} \models_L !E$ then43$!D_\Struct{N}$ is a disjunct in $!D$, and since $\Struct{N}44\models !D_\Struct{N}$, also $\Struct{N} \models_L !D$.45\end{proof}4647\begin{thm}[Lindstr\"om's Theorem]48 \ollabel{thm:lindstrom} Suppose $\tuple{L, \models_L}$ has the49 Compactness and the L\"owenheim--Skolem Properties. Then50 $\tuple{L, \models_L} \le \tuple{F, \models}$ (so51 $\tuple{L, \models_L}$ is equivalent to first-order logic).52\end{thm}5354\begin{proof}55By \olref{lem:lindstrom}, it suffices to show that for any $!E56\in L(\Lang{L})$, with $\Lang{L}$ finite, there is $n \in \Nat$57such that for any two !!{structure}s $\Struct{M}$ and~$\Struct{N}$: if58$\Struct{M} \equiv_n \Struct{N}$ then $\Struct{M}$ and $\Struct{N}$59agree on~$!E$. For then $!E$ is equivalent to a first-order60!!{sentence}, from which $\tuple{L, \models_L} \le \tuple{F, \models}$61follows. Since we are working in a finite, purely relational62!!{language}, by \olref[bas][pis]{thm:b-n-f} we can replace the statement63that $\Struct{M} \equiv_n \Struct{N}$ by the corresponding algebraic64statement that $I_n(\emptyset,\emptyset)$.6566Given $!E$, suppose towards a contradiction that for each $n$ there67are !!{structure}s $\Struct{M}_n$ and $\Struct{N}_n$ such that68$I_n(\emptyset, \emptyset)$, but (say) $\Struct{M}_n \models_L !E$69whereas $\Struct{N}_n \not\models_L !E$. By the Isomorphism Property70we can assume that all the $\Struct{M}_n$'s interpret the constants of71the language by the same objects; furthermore, since there are only72finitely many atomic !!{sentence}s in the language, we may also assume73that they satisfy the same atomic !!{sentence}s (we can take a74subsequence of the $\Struct{M}$'s otherwise). Let $\Struct{M}$ be the75union of all the $\Struct{M}_n$'s, i.e., the unique minimal76!!{structure} having each $\Struct{M}_n$ as a substructure. As in the77proof of \olref[lsp]{thm:abstract-p-isom}, let $\Struct{M}^*$ be the78extension of $\Struct{M}$ with !!{domain} $\Domain{M} \cup79\Domain{M}^{<\omega}$, in the expanded !!{language} comprising the80concatenation predicates $P$ and~$Q$.8182Similarly, define $\Struct{N}_n$, $\Struct{N}$ and $\Struct{N}^*$. Now83let $\Struct{M}$ be the !!{structure} whose !!{domain} comprises the84!!{domain}s of $\Struct{M}^*$ and $\Struct{N}^*$ as well as the natural85numbers~$\Nat$ along with their natural ordering~$\le$, in the86!!{language} with extra predicates representing the !!{domain}s87$\Domain{M}$, $\Domain{N}$, $\Domain{M}^{<\omega}$ and88$\Domain{N}^{<\omega}$ as well as predicates coding the domains of89$\Struct{M}_n$ and $\Struct{N}_n$ in the sense that:90\begin{align*}91 \Domain{M_n} & = \Setabs{a \in \Domain{M}}{R(a, n)}; & 92 \Domain{N_n} & = \Setabs{a \in \Domain{N}}{S(a,n)}; \\93 \Domain{M}^{<\omega}_n & = \Setabs{a \in \Domain{M}^{<\omega}}{R(a,n)}; &94 \Domain{N}^{<\omega}_n & = \Setabs{a \in \Domain{N}^{<\omega}}{S(a,n)}. 95\end{align*}96The !!{structure}~$\Struct{M}$ also has a ternary relation $J$ such97that $J(n, \mathbf{a}, \mathbf{b})$ holds if and only if98$I_n(\mathbf{a}, \mathbf{b})$.99100Now there is !!a{sentence}~$!D$ in the !!{language}~$\Lang{L}$ augmented101by $R$, $S$, $J$, etc., saying that $\le$ is a discrete linear ordering102with first but no last element and such that $\Struct{M}_n \models103!E$, $\Struct{N}_n \not\models !E$, and for each $n$ in the104ordering, $J(n, \mathbf{a}, \mathbf{b})$ holds if and only if105$I_n(\mathbf{a}, \mathbf{b})$.106107Using the Compactness Property, we can find a model $\Struct{M}^*$ of108$!D$ in which the ordering contains a non-standard element~$n^*$. In109particular then $\Struct{M^*}$ will contain sub!!{structure}s110$\Struct{M_{n^*}}$ and $\Struct{N_{n^*}}$ such that $\Struct{M_{n^*}}111\models_L !E$ and $\Struct{N_{n^*}} \not\models_L !E$. But now we can112define a set $\mathcal{I}$ of pairs of $k$-tuples from113$\Domain{M_{n^*}}$ and $\Domain{N_{n^*}}$ by putting114$\tuple{\mathbf{a}, \mathbf{b}} \in \mathcal{I}$ if and only if115$J(n^*-k, \mathbf{a}, \mathbf{b})$, where $k$ is the length of116$\mathbf{a}$ and $\mathbf{b}$. Since $n^*$ is non-standard, for each117standard $k$ we have that $n^* - k >0$, and the set $\mathcal{I}$118witnesses the fact that $\Struct{M_{n^*}} \simeq_p119\Struct{N_{n^*}}$. But by \olref[lsp]{thm:abstract-p-isom},120$\Struct{M_{n^*}}$ is $L$-equivalent to $\Struct{N_{n^*}}$, a121contradiction.122\end{proof}123124\end{document}