Skip to content

Commit 80ddc59

Browse files
authored
Add section on \Sigma_1 completeness to the chapter on representability in Q (#395)
* Add section on \Sigma_1 completeness to the chapter on representability in Q. * Tidy up Sigma_1 completeness proof.
1 parent c19c4b9 commit 80ddc59

File tree

2 files changed

+302
-0
lines changed

2 files changed

+302
-0
lines changed

content/incompleteness/representability-in-q/representability-in-q.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727

2828
\olimport{undecidability}
2929

30+
\olimport{sigma1-completeness}
31+
3032
\OLEndChapterHook
3133

3234
\end{document}
Lines changed: 300 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,300 @@
1+
% Part: incompleteness
2+
% Chapter: representability-in-q
3+
% Section: sigma1-completeness
4+
5+
\documentclass[../../../include/open-logic-section]{subfiles}
6+
7+
\begin{document}
8+
9+
\olfileid{inc}{inp}{s1c}
10+
\olsection{\texorpdfstring{$\Sigma_1$}{Sigma-1} completeness}
11+
12+
Despite the incompleteness of $\Th{Q}$ and its consistent, axiomatizable
13+
extensions, we have seen that $\Th{Q}$ does prove many basic facts about
14+
numerals. In fact, this can be extended quite considerably. To understand
15+
the scope of what can be proved in $\Th{Q}$, we introduce the notions of
16+
$\Delta_0$, $\Sigma_1$, and $\Pi_1$ !!{formula}s. Roughly speaking, a
17+
$\Sigma_1$ !!{formula} is one of the form $\lexists{x}!A(x)$, where $!A$
18+
is constructed using only propositional connectives and bounded
19+
quantifiers. We shall show that if $!A$ is a $\Sigma_1$ !!{sentence}
20+
which is true in $\Struct{N}$, then $\Th{Q} \Proves !A$
21+
(\olref{thm:sigma1-completeness}).
22+
23+
\begin{defn}
24+
\ollabel{defn:bd-quant}
25+
A \emph{bounded existential !!{formula}} is one of the form
26+
$\lexists[x][(x < t \land !A(x))]$ where $t$ is any term, which we
27+
conventionally write as $\bexists{x < t}{!A(x)}$.
28+
%
29+
A \emph{bounded universal !!{formula}} is one of the form
30+
$\lforall[x][(x < t \lif !A(x))]$ where $t$ is any term, which we
31+
conventionally write as $\bforall{x < t}{!A(x)}$.
32+
\end{defn}
33+
34+
\begin{defn}
35+
\ollabel{defn:delta0-sigma1-pi1-frm}
36+
A !!{formula} $!B$ is $\Delta_0$ if it is built up from atomic
37+
!!{formula}s using only propositional connectives and bounded
38+
quantification.
39+
%
40+
A !!{formula} $!A$ is $\Sigma_1$ if $!A \ident \lexists[x][!B(x)]$
41+
where $!B$ is $\Delta_0$.
42+
%
43+
A !!{formula} $!A$ is $\Pi_1$ if $!A \ident \lforall[x][!B(x)]$
44+
where $!B$ is $\Delta_0$.
45+
\end{defn}
46+
47+
\begin{lem}
48+
\ollabel{lem:q-proves-clterm-id} Suppose $t$ is a closed term such that
49+
$\Assign{t}{N} = n$. Then $\Th{Q} \Proves \eq[t][\num n]$.
50+
\end{lem}
51+
52+
\begin{proof}
53+
We prove this by induction on the complexity of $t$. For the base case,
54+
${\Obj 0}^\Struct{N} = 0$, and $\Th{Q} \Proves \eq[\Obj 0][\num 0]$
55+
since $\num 0 \ident \Obj 0$.
56+
%
57+
For the inductive case, let $t_1$ and $t_2$ be terms such that
58+
$t_1^\Struct{N} = n_1$, $t_2^\Struct{N} = n_2$,
59+
$\Th{Q} \Proves \eq[t_1][\num n_1]$, and
60+
$\Th{Q} \Proves \eq[t_2][\num n_2]$.
61+
62+
Then $(t_1')^\Struct{N} = n_1 + 1$, and we have that $\Th{Q} \Proves
63+
\eq[t_1'][{\num n_1}']$ by the first-order rules for identity applied
64+
to the induction hypothesis and the !!{formula}
65+
$\eq[\num{n_1}'][\num{n_1}']$,
66+
so we have $\Th{Q} \Proves \eq[t_1'][\num{n_1 + 1}]$
67+
by the definition of numerals.
68+
69+
For sums we have
70+
$$
71+
(t_1 + t_2)^\mathfrak{N}
72+
= t_1^\mathfrak{N} + t_2^\mathfrak{N}
73+
= n_1 + n_2.
74+
$$
75+
By the induction hypothesis and the rules for identity,
76+
$\Th{Q} \Proves \eq[t_1 + t_2][\num n_1 + t_2]$, and then
77+
$\Th{Q} \Proves \eq[t_1 + t_2][\num n_1 + \num n_2]$
78+
by a second application of the rules for identity.
79+
By \olref[inc][req][bre]{lem:q-proves-add},
80+
$\Th{Q} \Proves \eq[\num n_1 + \num n_2][\num{n_1 + n_2}]$,
81+
so $\Th{Q} \Proves \eq[t_1 + t_2][\num{n_1 + n_2}]$.
82+
83+
Similar reasoning also works for $\times$, using
84+
\olref[inc][req][bre]{lem:q-proves-mult}.
85+
%
86+
Since this exhausts the closed terms of arithmetic, we have that
87+
$\Th{Q} \Proves \eq[t][\num n]$ for all closed terms $t$ such that
88+
$t^\Struct{N} = n$.
89+
\end{proof}
90+
91+
\begin{prob}
92+
Prove in detail the part of \olref{lem:q-proves-clterm-id}
93+
involving $\times$.
94+
\end{prob}
95+
96+
\begin{lem}
97+
\ollabel{lem:atomic-completeness}
98+
Suppose $t_1$ and $t_2$ are closed terms. Then
99+
\begin{enumerate}
100+
\item If $t_1^\Struct{N} = t_2^\Struct{N}$,
101+
then $\Th{Q} \Proves \eq[t_1][t_2]$.
102+
\item If $t_1^\Struct{N} \neq t_2^\Struct{N}$,
103+
then $\Th{Q} \Proves \eq/[t_1][t_2]$.
104+
\item If $t_1^\Struct{N} < t_2^\Struct{N}$,
105+
then $\Th{Q} \Proves t_1 < t_2$.
106+
\item If $t_2^\Struct{N} \leq t_1^\Struct{N}$,
107+
then $\Th{Q} \Proves \lnot(t_1 < t_2)$.
108+
\end{enumerate}
109+
\end{lem}
110+
111+
\begin{proof}
112+
Given terms $t_1$ and $t_2$, we fix $n = t_1^\mathfrak{N}$ and
113+
$m = t_2^\mathfrak{N}$.
114+
115+
Suppose $!A \ident t_1 = t_2$. By \olref{lem:q-proves-clterm-id},
116+
$\Th{Q} \Proves \eq[t_1][\num n]$ and $\Th{Q} \Proves \eq[t_2][\num n]$.
117+
If $n = m$, then $\Th{Q} \Proves \eq[\num n][\num m]$ and hence
118+
$\Th{Q} \Proves \eq[t_1][t_2]$ by the transitivity of identity.
119+
If $n \neq m$ then $\Th{Q} \Proves \eq/[\num n][\num m]$,
120+
and by the transitivity of identity again,
121+
$\Th{Q} \Proves \eq/[t_1][t_2]$.
122+
123+
Now let $!A \ident t_1 < t_2$. For both cases, we rely on axiom $!Q_8$,
124+
which states that $x < y \leftrightarrow \lexists[z][\eq[z' + x][y]]$
125+
for all $x,y$.
126+
127+
Suppose $\Sat{N}{t_1 < t_2}$. Then there exists some $k \in \Nat$
128+
such that $n + k + 1 = m$. By \olref{lem:q-proves-clterm-id},
129+
$\Th{Q} \Proves \eq[t_1][\num n]$ and $\Th{Q} \Proves \eq[t_2][\num m]$,
130+
and by the first part of this lemma,
131+
$\Th{Q} \Proves \eq[\num n + {\num k}'][\num m]$.
132+
By the transitivity of identity it follows that
133+
$\Th{Q} \Proves \eq[{\num k}' + t_1][t_2]$,
134+
so $\Th{Q} \Proves \lexists[z][\eq[z' + t_1][t_2]]$.
135+
By the right-to-left direction of $!Q_8$, $\Th{Q} \Proves t_1 < t_2$.
136+
137+
Suppose instead that $\Sat/{N}{t_1 < t_2}$, i.e.\ $m \leq n$.
138+
%
139+
We work in $\Th{Q}$ and assume that $t_1 < t_2$. By the left-to-right
140+
direction of $!Q_8$, there is some $z$ such that $\eq[z' + t_1][t_2]$.
141+
Since $\Th{Q} \Proves \eq[t_1][\num n]$ and
142+
$\Th{Q} \Proves \eq[t_2][\num m]$, $\eq[z' + \num n][\num m]$.
143+
%
144+
By an external induction on $m$ using $!Q_5$,
145+
$\eq[z' + \num{n - m}][\Obj 0]$.
146+
If $m = n$ then $\eq/[z'][\Obj 0]$, giving a contradiction via $!Q_3$.
147+
If $m < n$ then $\eq[(z' + \num{n - m - 1})'][\Obj 0]$ by $!Q_5$ again,
148+
giving a contradiction via $!Q_3$.
149+
So $\Th{Q} \Proves \lnot(t_1 < t_2)$.
150+
\end{proof}
151+
152+
\begin{lem}
153+
\ollabel{lem:bounded-quant-equiv}
154+
Suppose $!A$ is a !!{formula}. Then
155+
\begin{enumerate}
156+
\item $\Th{Q} \Proves \bforall{x<t}{!A(x)}$ iff $\Th{Q} \Proves
157+
!A(\num 0) \land \dotsc \land !A(\num{t^\Struct{N}-1})$.
158+
\item $\Th{Q} \Proves \bexists{x<t}{!A(x)}$ iff $\Th{Q} \Proves
159+
!A(\num 0) \lor \dotsc \lor !A(\num{t^\Struct{N}-1})$.
160+
\end{enumerate}
161+
\end{lem}
162+
163+
\begin{proof}
164+
We prove the case for the bounded universal quantifier.
165+
If $t^\Struct{N} = 0$ then the left-hand side of the
166+
equivalence is provable in $\Th{Q}$, because there is no
167+
$x<\num 0$ by \olref[inc][req][min]{lem:less-zero}.
168+
Similarly, we can take an empty disjunction to be simply
169+
$\ltrue$, which is also provable in $\Th{Q}$.
170+
%
171+
We therefore suppose that $t^\Struct{N} = k+1$ for some
172+
natural number $k$. By \olref{lem:q-proves-clterm-id} we
173+
can assume that we are working with a !!{formula} of the
174+
form $\bforall{x<\num{k+1}}{!A(x)}$.
175+
176+
Suppose that $\Th{Q} \Proves \bforall{x<\num{k+1}}{!A(x)}$,
177+
and let $n \leq k$. Since $\Th{Q} \Proves \num n < \num{k+1}$
178+
by \olref{lem:atomic-completeness}, it follows by logic that
179+
$\Th{Q} \Proves !A(\num n)$. Applying this fact $k+1$ times
180+
for each $n \leq k$, we get that $\Th{Q} \Proves !A(\num 0)
181+
\land \dotsc \land !A(\num k)$ as desired.
182+
183+
For the other direction, suppose that $\Th{Q} \Proves
184+
!A(\num 0) \land \dotsc \land !A(\num k)$. Working in
185+
$\Th{Q}$, suppose that $x < \num{k+1}$.
186+
By \olref[inc][req][min]{lem:less-nsucc} we have that
187+
$x = \num 0 \lor \dotsc \lor x = \num k$, so by logic it
188+
follows that $!A(x)$, and hence the universal claim
189+
$\bforall{x<\num{k+1}}!A(x)$ follows.
190+
191+
The proof of the equivalence for bounded existentially
192+
quantified !!{formula}s is similar.
193+
\end{proof}
194+
195+
\begin{prob}
196+
Give a detailed proof of the existential case in
197+
\olref{lem:bounded-quant-equiv}.
198+
\end{prob}
199+
200+
\begin{lem}
201+
\ollabel{lem:delta0-completeness}
202+
If $!A$ is a $\Delta_0$ !!{sentence} which is true in
203+
$\Struct{N}$, then $\Th{Q} \Proves !A$.
204+
\end{lem}
205+
206+
\begin{proof}
207+
We prove this by induction on !!{formula} complexity.
208+
%
209+
The base case is given by \olref{lem:atomic-completeness},
210+
so we move to the induction step. For simplicity we split
211+
the case of negation into subcases depending on the
212+
structure of the !!{formula} to which the negation is
213+
applied.
214+
215+
\begin{enumerate}
216+
\item Suppose $(!A \land !B)$ is true in $\Struct{N}$,
217+
so $!A$ and $!B$ are true in $\Struct{N}$.
218+
By the induction hypothesis, $\Th{Q} \Proves !A$ and
219+
$\Th{Q} \Proves !B$,
220+
so $\Th{Q} \Proves (!A \land !B)$ by logic.
221+
%
222+
\item Suppose $\lnot (!A \land !B)$ is true in $\Struct{N}$,
223+
so either $\lnot !A$ or $\lnot !B$ is true in $\Struct{N}$.
224+
Without loss of generality, suppose the former. By the
225+
induction hypothesis $\Th{Q} \Proves \lnot !A$, and hence
226+
$\Th{Q} \Proves \lnot (!A \land !B)$ by logic.
227+
%
228+
\item Suppose $(!A \lor !B)$ is true in $\Struct{N}$, so
229+
either $!A$ is true in $\Struct{N}$ or $!B$ is true in
230+
$\Struct{N}$. Without loss of generality, suppose the former
231+
holds. By the induction hypothesis $\Th{Q} \Proves !A$, and
232+
hence $\Th{Q} \Proves (!A \lor !B)$ by logic.
233+
%
234+
\item Suppose $\lnot(!A \lor !B)$ is true in $\Struct{N}$,
235+
so $\lnot !A$ and $\lnot !B$ are true in $\Struct{N}$.
236+
Then $\Th{Q} \Proves \lnot !A$ and $\Th{Q} \Proves \lnot !B$
237+
by the induction hypothesis. Consequently,
238+
$\Th{Q} \Proves \lnot(!A \lor !B)$ by logic.
239+
%
240+
\item Suppose that $\bforall{x<t}!A(x)$ is true in
241+
$\Struct{N}$, where $t$ is a closed term. By the induction
242+
hypothesis and logic, if $!A(\num n)$ is true in $\Struct{N}$
243+
for all $n < t^\Struct{N}$ then $\Th{Q} \Proves
244+
!A(\num 0) \land \dots \land !A(\num{t^\Struct{N}-1})$.
245+
By \olref{lem:bounded-quant-equiv} it follows that
246+
$\Th{Q} \Proves \bforall{x<t}!A(x)$.
247+
%
248+
\item The case for the bounded existential quantifier, where
249+
we have a !!{sentence} of the form $\bexists{x < t}!A(x)$,
250+
is similar to that for the bounded universal quantifier.
251+
%
252+
\item Suppose that $\lnot \bforall{x<t}!A(x)$ is true in
253+
$\Struct{N}$, where $t$ is a closed term. This !!{sentence}
254+
is equivalent to the !!{sentence} $\bexists{x<t}\lnot!A(x)$,
255+
with the equivalence derivable in $\Th{Q}$, so we may apply
256+
the reasoning for bounded existential quantifiers.
257+
%
258+
\item Similarly, suppose that $\lnot \bexists{x<t}!A(x)$ is
259+
true in $\Struct{N}$, where $t$ is a closed term. This
260+
!!{sentence} is equivalent in $\Th{Q}$ to
261+
$\bforall{x<t}\lnot!A(x)$, and so we may apply the reasoning
262+
for bounded universal quantifiers.
263+
%
264+
\item Finally, suppose $\lnot !A$ is true in $\Struct{N}$.
265+
The only cases remaining are when $!A$ is atomic and when
266+
$\lnot !A \ident \lnot\lnot !B$ for some $\Delta_0$
267+
!!{sentence} $!B$. If $!A$ is atomic then by
268+
\olref{lem:atomic-completeness}, $\Th{Q} \Proves \lnot !A$.
269+
If $\lnot !A \ident \lnot\lnot !B$, then by logic it is
270+
provably equivalent in $\Th{Q}$ to $!B$, which is true in
271+
$\Struct{N}$ since $\lnot !A$ is true in $\Struct{N}$.
272+
By the induction hypothesis we therefore have that
273+
$\Th{Q} \Proves \lnot !A$.
274+
\end{enumerate}
275+
\end{proof}
276+
277+
\begin{prob}
278+
Give a detailed proof of the existential case in
279+
\olref{lem:delta0-completeness}.
280+
\end{prob}
281+
282+
\begin{thm}
283+
\ollabel{thm:sigma1-completeness}
284+
If $!A$ is a $\Sigma_1$ !!{sentence} which is true in
285+
$\Struct{N}$, then $\Th{Q} \Proves !A$.
286+
\end{thm}
287+
288+
\begin{proof}
289+
If $\lexists{x}!A(x)$ is a $\Sigma_1$ !!{sentence} which
290+
is true in $\Struct{N}$, then there exists a natural number
291+
$n$ and a variable assignment $s$ such that $s(x) = n$ and
292+
$\Struct{N},s \Entails !A(x)$. By standard facts about
293+
the satisfaction relation it follows that
294+
$\Struct{N} \Entails !A(\num n)$. But $!A(\num n)$ is a
295+
$\Delta_0$ !!{formula}, so by \olref{lem:delta0-completeness}
296+
we have that $\Th{Q} \Proves !A(\num n)$, and hence by
297+
logic we also have that $\Th{Q} \Proves \exists{x}!A(x)$.
298+
\end{proof}
299+
300+
\end{document}

0 commit comments

Comments
 (0)