Skip to content

Commit 4e3919a

Browse files
committed
Lemmas for Henkin's completeness theorem
1 parent 0d71c97 commit 4e3919a

3 files changed

Lines changed: 54 additions & 9 deletions

File tree

text/first_order_completeness.tex

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,25 @@ \section{First-order completeness}\label{sec:first_order_completeness}
55
\begin{definition}\label{def:fol_henkin_theory}\mcite[def. 3.1.7]{Hinman2005Logic}
66
We say that the \hyperref[def:fol_theory]{first-order theory} \( \Gamma \) is \term[ru=экзистенциально полная (теория) (\cite[140]{ШеньВерещагин2017ЯзыкиИИсчисления})]{Henkin complete} is, whenever \( \qexists x \varphi \) belongs to \( \Gamma \), there exists a \hyperref[def:fol_closed_term]{closed term} \( \tau \) such that \( \varphi[x \mapsto \tau] \) belongs to \( \Gamma \). We call \( \tau \) the \term{Henkin witness} of \( \varphi \).
77
\end{definition}
8+
\begin{comments}
9+
\item Note that \( \qexists x \varphi \) is assumed to be closed, so \( x \) is the only variable possibly free in \( \varphi \).
10+
\end{comments}
811

912
\begin{definition}\label{def:fol_henkin_extension}\mcite[def. 3.1.6]{VanDalen2004LogicAndStructure}
1013
Consider some \hyperref[def:fol_theory]{first-order theory} \( \Gamma \) over the signature \( \Sigma \).
1114

12-
Consider the \hyperref[def:fol_signature_extension]{extension} \( \Sigma^* \) of \( \Sigma \) where, for every existential formula \( \qexists x \varphi \) in \( \Gamma \), we add a new constant \( c_{x,\varphi} \).
15+
Consider the \hyperref[def:fol_signature_extension]{extension} \( \Sigma^* \) of \( \Sigma \) where, for every existential formula \( \qexists x \varphi \) in \( \Gamma \), we add a new constant \( c_{x,\varphi} \). For the sake of determinism, suppose that \( c_{x,\varphi} \) is a symbol entirely determined by \( x \) and \( \varphi \).
1316

1417
We define the \term{Henkin extension} \( \Gamma^* \) as the consequence closure of
1518
\begin{equation}\label{eq:def:fol_henkin_extension}
1619
\Gamma \cup \set[\big]{ (\qexists x \varphi) \synimplies \varphi[x \mapsto c_{x,\varphi}] \given* \qexists x \varphi \T{belongs to} \Gamma }.
1720
\end{equation}
1821
\end{definition}
22+
\begin{comments}
23+
\item Note that \( \qexists x \varphi \) is assumed to be closed, so \( x \) is the only variable possibly free in \( \varphi \).
24+
25+
\item The determinism condition, although not present in \cite[def. 3.1.6]{VanDalen2004LogicAndStructure}, is important for some intermediate results like \cref{thm:def:fol_henkin_extension/scott_continuous}.
26+
\end{comments}
1927

2028
\begin{theorem}[Theorem on constants]\label{thm:theorem_on_constants}\mcite[33]{Shoenfield1967MathematicalLogic}
2129
Over some \hyperref[def:fol_signature]{signature} \( \Sigma \), fix some set \( \Gamma \) of \hyperref[def:closed_fol_formula]{closed formulas} and a formula \( \varphi \) with free variables \( x_1, \ldots, x_n \).
@@ -73,10 +81,31 @@ \section{First-order completeness}\label{sec:first_order_completeness}
7381
\end{equation*}
7482
\end{proof}
7583

84+
\begin{lemma}\label{thm:unward_union_of_theories}
85+
With respect to a \hyperref[def:consequence_relation/compactness]{compact} \hyperref[def:consequence_relation]{consequence relation}, the union of an \hyperref[def:directed_set]{upward-directed family} of \hyperref[def:fol_theory]{first-order theories} is again a theory.
86+
\end{lemma}
87+
\begin{proof}
88+
Let \( \seq{ \Gamma_k }_{k \in \mscrK} \) be an upward-directed family of theories and let \( \Gamma \) be their union.
89+
90+
If \( \Gamma \vdash \varphi \), by compactness there exists a finite subset \( \Gamma_0 \) of \( \Gamma \) such that \( \Gamma_0 \vdash \varphi \).
91+
92+
For every formula \( \psi \) in \( \Gamma \), let \( \Gamma_{k_\psi} \) be the smallest theory to which \( \psi \) belongs, and let \( k_0 > \max\set{ k_\psi \given \psi \in \Gamma_0 } \). Then \( \Gamma_0 \) is a subset of \( \Gamma_{k_0} \).
93+
94+
Since \( \varphi \) is a consequence of \( \Gamma_0 \), and hence of \( \Gamma_{k_0} \), it must belong to the latter, and hence to \( \Gamma \).
95+
96+
Therefore, \( \Gamma \) is also closed under consequence, i.e. it is a theory.
97+
\end{proof}
98+
7699
\begin{proposition}\label{thm:def:fol_henkin_extension}
77-
\hyperref[def:fol_henkin_extension]{Henkin extensions} of syntactic theories have the following basic properties:
100+
\hyperref[def:fol_henkin_extension]{Henkin extensions} of syntactic (natural deduction) theories have the following basic properties:
78101
\begin{thmenum}
79102
\thmitem{thm:def:fol_henkin_extension/conservative}\mcite[lemma 3.1.7]{VanDalen2004LogicAndStructure} Every Henkin extension is \hyperref[def:fol_theory/conservative]{conservative}.
103+
104+
\thmitem{thm:def:fol_henkin_extension/scott_continuous} As an operator on theories, the Henkin extension operator \( (\anon)^* \) is \hyperref[def:scott_continuity]{Scott-continuous}.
105+
106+
\thmitem{thm:def:fol_henkin_extension/fixed_point}\mcite[lemma 3.1.8]{VanDalen2004LogicAndStructure} For a given theory \( \Gamma \), the union \( \Gamma^{*\omega} \) of the sequence \( \Gamma, \Gamma^*, \Gamma^{**}, \ldots \) is a \hyperref[def:fol_henkin_theory]{Henkin theory} and is invariant under Henkin extension.
107+
108+
Furthermore, \( \Gamma^{*\omega} \) is conservative over \( \Gamma \).
80109
\end{thmenum}
81110
\end{proposition}
82111
\begin{proof}
@@ -115,6 +144,26 @@ \section{First-order completeness}\label{sec:first_order_completeness}
115144
\end{equation*}
116145

117146
Here \( \qexists x \psi \) is by assumption in \( \Gamma \), so \( P_{k+1} \) derives \( \varphi \) from \( \Gamma \cup \Delta_{k+1} \), as desired.
147+
148+
\SubProofOf{thm:def:fol_henkin_extension/scott_continuous} Let \( \seq{ \Gamma_k }_{k \in \mscrK} \) be an upward-directed family of theories and let \( \Gamma \) be their union. \Cref{thm:unward_union_of_theories} shows that \( \Gamma \) is also a theory.
149+
150+
We must show that
151+
\begin{equation*}
152+
\Gamma^* = \bigcup_{k \in \mscrK} \Gamma_k^*.
153+
\end{equation*}
154+
155+
Indeed, let \( \psi = (\qexists x \varphi) \synimplies \varphi[x \mapsto c_{x,\varphi}] \) be a new axiom introduced in \( \Gamma^* \). Then there exists some index \( \Gamma_{k_0} \) to which \( \qexists x \varphi \) belongs. Then \( \psi \) is also present in \( \Gamma_{k_0}^* \). It follows that
156+
\begin{equation*}
157+
\Gamma^* \subseteq \bigcup_{k \in \mscrK} \Gamma_k^*.
158+
\end{equation*}
159+
160+
Conversely, let \( \psi = (\qexists x \varphi) \synimplies \varphi[x \mapsto c_{x,\varphi}] \) be a new axiom introduced in some \( \Gamma_{k_0}^* \) for some index \( k_0 \). Then \( \qexists x \varphi \) is in \( \Gamma_{k_0} \), so \( \psi \) belongs to \( \Gamma^* \).
161+
162+
\SubProofOf{thm:def:fol_henkin_extension/fixed_point} Denote the signature of \( \Gamma \) by \( \Sigma \). Let \( \Gamma^{*\omega} \) be the union of \( \Gamma, \Gamma^*, \Gamma^{**}, \ldots \). \Cref{thm:unward_union_of_theories} implies that it is a theory, and \fullref{thm:knaster_tarski_iteration/continuous} implies that it is a fixed point of the Henkin extension operator.
163+
164+
Moreover, \( \Gamma^{*\omega} \) is a Henkin theory by construction. Indeed, given an existential formula \( \qexists x \varphi \) in \( \Gamma^{*\omega} \), since \( \Gamma^{*\omega} = \Gamma^{\omega*} \), it also contains \( (\qexists x \varphi) \synimplies \varphi[x \mapsto c_{x,\varphi}] \). Then can use \ref{inf:def:propositional_natural_deduction/imp/elim} to derive \( \varphi[x \mapsto c_{x,\varphi}] \).
165+
166+
It remains to show that \( \Gamma^{*\omega} \) is conservative over \( \Gamma \). If \( \varphi \) is a formula over \( \Sigma \) that belongs to \( \Gamma^{*\omega} \), it also belongs to some finite \( \Gamma^{*k} \). Using \cref{thm:def:fol_henkin_extension/conservative}, by induction on \( k \) we can show that \( \Gamma^{*k} \) is conservative over \( \Gamma \). Therefore, \( \varphi \) belongs to \( \Gamma \).
118167
\end{proof}
119168

120169
\begin{theorem}[First-order completeness]\label{thm:fol_completeness}\mcite[thm. 3.1.3]{VanDalen2004LogicAndStructure}

text/first_order_theories.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ \section{First-order theories}\label{sec:first_order_theories}
1616

1717
\thmitem{def:fol_theory/category} Based on theories and their morphisms, as per \cref{def:category_of_theories}, we have a category of (syntactic or semantic) theories \( \ucat{Th} \) for every \hyperref[def:grothendieck_universe]{Grothendieck universe} \( \mscrU \).
1818

19-
\thmitem{def:fol_theory/conservative} As in \cref{def:entailment_system_theory/conservative}, we say that a theory morphism \( t: (\Sigma, \Gamma) \to (\Theta, \Delta) \) is \term[en=conservative extension (\cite[180]{Hinman2005Logic})]{conservative} when \( \Gamma \vdash_\Sigma \varphi \) if and only if \( \Delta \vdash_\Theta \op*{Sen}(t)(\varphi) \).
19+
\thmitem{def:fol_theory/conservative} Based on \cref{def:entailment_system_theory/conservative}, we say that a theory morphism \( t: (\Sigma, \Gamma) \to (\Theta, \Delta) \) is \term[en=conservative extension (\cite[180]{Hinman2005Logic})]{conservative} when \( \varphi \) belongs to \( \Gamma \) if and only if \( \op*{Sen}(t)(\varphi) \) belongs to \( \Delta \).
2020

21-
Sufficiency is obvious for both semantic entailment and natural deduction, so it usually suffices to check that \( \Delta \vdash_\Theta \op*{Sen}(t)(\varphi) \) implies \( \Gamma \vdash_\Sigma \varphi \).
21+
Sufficiency is obvious for both semantic entailment and natural deduction, so it usually suffices to check that \( \op*{Sen}(t)(\varphi) \in \Delta \) implies \( \varphi \in \Gamma \).
2222

2323
\thmitem{def:fol_theory/model}\mcite[def. 2.4.4]{Hinman2005Logic} As in \cref{def:theory_of_institutional_model}, we define the \term{theory} \( \cat{Th}(\mscrX) \) \hi{of} a structure \( \mscrX \) as the set of all sentences valid in \( \mscrX \).
2424

text/propositional_completeness.tex

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ \section{Propositional completeness}\label{sec:propositional_completeness}
1414

1515
\thmitem{def:propositional_theory/category} Based on propositional theories and their extensions, as per \cref{def:category_of_theories}, we have a (syntactic or semantic) category of theories \( \cat{Th} \).
1616

17-
\thmitem{def:propositoinal_theory/conservative} As in \cref{def:entailment_system_theory/conservative}, we say that a theory extension \( \Delta \) of \( \Gamma \) is \term{conservative} when \( \Gamma \vdash \varphi \) if and only if \( \Delta \vdash \varphi \).
18-
19-
Sufficiency is obvious for both semantic entailment and natural deduction, so it usually suffices to check that \( \Delta \vdash \varphi \) implies \( \Gamma \vdash \varphi \).
20-
2117
\thmitem{def:propositional_theory/model}\mcite[def. 1.4.10]{Hinman2005Logic} As in \cref{def:theory_of_institutional_model}, we define the \term{theory} \( \cat{Th}(I) \) \hi{of} a propositional interpretation \( I \) as the set of all sentences valid in \( I \).
2218

2319
\thmitem{def:propositional_theory/consistent}\mcite[def. 1.5.2]{VanDalen2004LogicAndStructure} We call a propositional theory \term[ru=противоречивое (множество формул) (\cite[def. 1.3.15]{Герасимов2014Вычислимость})]{consistent} if \( \Gamma \) contains no \hyperref[def:propositional_semantics/tautology]{contradictions}, i.e. if \( \Gamma \) does not contain \( \synbot \).
@@ -220,7 +216,7 @@ \section{Propositional completeness}\label{sec:propositional_completeness}
220216
\end{thmenum}
221217
\end{proposition}
222218
\begin{comments}
223-
\item This also holds for \hyperref[sec:first_order_logic]{first-order logic} since the same natural deduction rules hold there.
219+
\item This also holds for \hyperref[sec:first_order_logic]{first-order logic} since the same natural deduction rules are used there.
224220
\item See \cref{ex:con:curry_howard_correspondence/algebraic_types} for how this statement relates to \hyperref[def:simple_algebraic_type]{simple algebraic types} via the \hyperref[con:curry_howard_correspondence]{Curry-Howard correspondence}.
225221
\end{comments}
226222
\begin{proof}

0 commit comments

Comments
 (0)