Skip to content

Commit f443135

Browse files
committed
Tidy up Sigma_1 completeness proof.
1 parent 3686a22 commit f443135

File tree

2 files changed

+90
-119
lines changed

2 files changed

+90
-119
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525

2626
\olimport{representing-relations}
2727

28-
\olimport{sigma1-completeness}
29-
3028
\olimport{undecidability}
3129

30+
\olimport{sigma1-completeness}
31+
3232
\OLEndChapterHook
3333

3434
\end{document}

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

Lines changed: 88 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,10 @@
1515
the scope of what can be proved in $\Th{Q}$, we introduce the notions of
1616
$\Delta_0$, $\Sigma_1$, and $\Pi_1$ !!{formula}s. Roughly speaking, a
1717
$\Sigma_1$ !!{formula} is one of the form $\lexists{x}!A(x)$, where $!A$
18-
is constructed using only Boolean connectives and bounded quantifiers.
19-
We shall show that if $!A$ is a correct $\Sigma_1$ sentence, then
20-
$\Th{Q} \Proves !A$ (\olref{thm:sigma1-completeness}).
21-
22-
\begin{defn}
23-
\ollabel{defn:correct-frm}
24-
A sentence $!A$ is \emph{correct} if $\Struct{N} \Entails !A$.
25-
\end{defn}
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}).
2622

2723
\begin{defn}
2824
\ollabel{defn:bd-quant}
@@ -38,23 +34,14 @@
3834
\begin{defn}
3935
\ollabel{defn:delta0-sigma1-pi1-frm}
4036
A !!{formula} $!B$ is $\Delta_0$ if it is built up from atomic
41-
!!{formula}s using only Boolean connectives and bounded quantification.
37+
!!{formula}s using only propositional connectives and bounded
38+
quantification.
4239
%
4340
A !!{formula} $!A$ is $\Sigma_1$ if $!A \ident \lexists[x][!B(x)]$
4441
where $!B$ is $\Delta_0$.
4542
%
46-
A !!{formula} $!C$ is \emph{generalized $\Sigma_1$} if it can be
47-
constructed from $\Delta_0$ !!{formula}s using only conjunction,
48-
disjunction, implication, bounded universal quantification, and
49-
unbounded existential quantification.
50-
%
51-
A formula $!A$ is $\Pi_1$ if $!A \ident \lforall[x][!B(x)]$
43+
A !!{formula} $!A$ is $\Pi_1$ if $!A \ident \lforall[x][!B(x)]$
5244
where $!B$ is $\Delta_0$.
53-
%
54-
A !!{formula} $!C$ is \emph{generalized $\Pi_1$} if it can be
55-
constructed from $\Delta_0$ !!{formula}s using only conjunction,
56-
disjunction, implication, bounded existential quantification, and
57-
unbounded universal quantification.
5845
\end{defn}
5946

6047
\begin{lem}
@@ -162,67 +149,6 @@
162149
So $\Th{Q} \Proves \lnot(t_1 < t_2)$.
163150
\end{proof}
164151

165-
\begin{lem}
166-
\ollabel{lem:boolean-completeness}
167-
Suppose $!A$ and $!B$ are either atomic !!{formula}s,
168-
or are built up from atomic !!{formula}s using only
169-
Boolean connectives.
170-
\begin{enumerate}
171-
\item If $(!A \land !B)$ is correct,
172-
then $\Th{Q} \Proves (!A \land !B)$.
173-
%
174-
\item If $\lnot(!A \land !B)$ is correct,
175-
then $\Th{Q} \Proves \lnot(!A \land !B)$.
176-
%
177-
\item If $(!A \lor !B)$ is correct,
178-
then $\Th{Q} \Proves (!A \lor !B)$.
179-
%
180-
\item If $\lnot(!A \lor !B)$ is correct,
181-
then $\Th{Q} \Proves (!A \lor !B)$.
182-
%
183-
\item If $\lnot !A$ is correct,
184-
then $\Th{Q} \Proves \lnot !A$.
185-
\end{enumerate}
186-
\end{lem}
187-
188-
\begin{proof}
189-
We prove this by induction on formula complexity.
190-
%
191-
\begin{enumerate}
192-
\item Suppose $(!A \land !B)$ is correct, so $!A$ and $!B$
193-
are correct. By the induction hypothesis, $\Th{Q} \Proves !A$
194-
and $\Th{Q} \Proves !B$, so $\Th{Q} \Proves (!A \land !B)$
195-
by logic.
196-
%
197-
\item Suppose $\lnot(!A \land !B)$ is correct, so either
198-
$\lnot !A$ or $\lnot !B$ are correct. For concreteness, and
199-
without loss of generality, suppose the former. Then
200-
$\Th{Q} \Proves \lnot !A$ by the induction hypothesis, and
201-
hence $\Th{Q} \Proves \lnot(!A \land !B)$ by logic.
202-
%
203-
\item Suppose $(!A \lor !B)$ is correct, so either
204-
$!A$ is correct or $!B$ is correct. Suppose the former.
205-
Then by the induction hypothesis $\Th{Q} \Proves !A$, and
206-
hence $\Th{Q} \Proves (!A \lor !B)$ by logic.
207-
%
208-
\item Suppose $\lnot(!A \lor !B)$ is correct, so $\lnot !A$
209-
and $\lnot !B$ are correct. Then $\Th{Q} \Proves \lnot !A$
210-
and $\Th{Q} \Proves \lnot !B$ by the induction hypothesis.
211-
Consequently, $\Th{Q} \Proves \lnot(!A \land !B)$ by logic.
212-
%
213-
\item Suppose $\lnot !A$ is correct, so $!A$ is not correct
214-
and $\Th{Q} \not\Proves !A$. Either $!A$ is atomic or $!A$
215-
has the form $\lnot\lnot !B$, $\lnot(!B \land !C)$, or
216-
$\lnot(!B \lor !C)$. If $!A$ is atomic then by
217-
\olref{lem:atomic-completeness}, $\Th{Q} \Proves \lnot !A$.
218-
The other cases are dealt with above, except $\lnot\lnot !B$.
219-
By logic this is provably equivalent (in $\Th{Q}$) to $!B$,
220-
which is correct since $\lnot !A \ident \lnot\lnot !B$ is
221-
correct, so by the induction hypothesis we have that
222-
$\Th{Q} \Proves \lnot !A$.
223-
\end{enumerate}
224-
\end{proof}
225-
226152
\begin{lem}
227153
\ollabel{lem:bounded-quant-equiv}
228154
Suppose $!A$ is a !!{formula}. Then
@@ -244,8 +170,8 @@
244170
%
245171
We therefore suppose that $t^\Struct{N} = k+1$ for some
246172
natural number $k$. By \olref{lem:q-proves-clterm-id} we
247-
can assume that we are working with a formula of the form
248-
$\bforall{x<\num{k+1}}{!A(x)}$.
173+
can assume that we are working with a !!{formula} of the
174+
form $\bforall{x<\num{k+1}}{!A(x)}$.
249175

250176
Suppose that $\Th{Q} \Proves \bforall{x<\num{k+1}}{!A(x)}$,
251177
and let $n \leq k$. Since $\Th{Q} \Proves \num n < \num{k+1}$
@@ -263,7 +189,7 @@
263189
$\bforall{x<\num{k+1}}!A(x)$ follows.
264190

265191
The proof of the equivalence for bounded existentially
266-
quantified formulas is similar.
192+
quantified !!{formula}s is similar.
267193
\end{proof}
268194

269195
\begin{prob}
@@ -273,57 +199,102 @@
273199

274200
\begin{lem}
275201
\ollabel{lem:delta0-completeness}
276-
If $!A$ is a correct $\Delta_0$ sentence,
277-
then $\Th{Q} \Proves !A$.
202+
If $!A$ is a $\Delta_0$ !!{sentence} which is true in
203+
$\Struct{N}$, then $\Th{Q} \Proves !A$.
278204
\end{lem}
279205

280206
\begin{proof}
281-
By induction on !!{formula} complexity.
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.
282233
%
283-
Suppose $!A$ is a correct atomic formula. Then
284-
$\Th{Q} \vdash !A$ by \olref{lem:atomic-completeness}.
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.
285239
%
286-
If $!A$ is a Boolean combination of correct $\Delta_0$
287-
formulas, we apply \olref{lem:boolean-completeness}.
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)$.
288247
%
289-
If $!A$ has the form $\bforall{x<t}!B(x)$,
290-
then $\Th{Q} \Proves \bforall{x<t}!B(x) \liff
291-
!B(\num 0) \land \dotsc !B(\num{t^\Struct{N}-1})$ by
292-
\olref{lem:bounded-quant-equiv}. By the induction
293-
hypothesis, if $!B(\num n)$ is correct for all
294-
$n < t^\Struct{N}$ then $\Th{Q} \Proves !B(\num 0)
295-
\land \dotsc !B(\num t-1)$, so $\Th{Q} \Proves
296-
\bforall{x<t}!B(x)$. The case for bounded existential
297-
quantification parallels this one.
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}
298275
\end{proof}
299276

277+
\begin{prob}
278+
Give a detailed proof of the existential case in
279+
\olref{lem:delta0-completeness}.
280+
\end{prob}
281+
300282
\begin{thm}
301283
\ollabel{thm:sigma1-completeness}
302-
If $!A$ is a correct $\Sigma_1$ sentence,
303-
then $\Th{Q} \Proves !A$.
284+
If $!A$ is a $\Sigma_1$ !!{sentence} which is true in
285+
$\Struct{N}$, then $\Th{Q} \Proves !A$.
304286
\end{thm}
305287

306288
\begin{proof}
307-
Let $\lexists{x}!A(x)$ be a correct $\Sigma_1$ sentence.
308-
By correctness there exists a natural number $n$ and a
309-
variable assignment $s$ such that $s(x) = n$ and
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
310292
$\Struct{N},s \Entails !A(x)$. By standard facts about
311293
the satisfaction relation it follows that
312294
$\Struct{N} \Entails !A(\num n)$. But $!A(\num n)$ is a
313-
$\Delta_0$ formula, so by \olref{lem:delta0-completeness}
295+
$\Delta_0$ !!{formula}, so by \olref{lem:delta0-completeness}
314296
we have that $\Th{Q} \Proves !A(\num n)$, and hence by
315297
logic we also have that $\Th{Q} \Proves \exists{x}!A(x)$.
316298
\end{proof}
317299

318-
Note that $\Sigma_1$ !!{formula}s are not closed under Boolean
319-
operations. For example, $\OProv[\Th{PA}](x)$ is a $\Sigma_1$
320-
!!{formula} but $\lnot\OProv[\Th{PA}](x)$ is not. One can show that
321-
there is a $\Sigma_1$ sentence $!B$ such that
322-
$\Th{PA} \Proves \lnot!B \liff !G_\Th{PA}$.
323-
Since, if $\Th{PA}$ is consistent, $\Th{PA} \Proves/ !G_\Th{PA}$
324-
by the first incompleteness theorem, $\Th{PA} \Proves/ \lnot!B$ and
325-
a fortiori $\Th{Q} \Proves/ \lnot!B$. $\lnot!B$ is therefore not a
326-
$\Sigma_1$ !!{formula}, since this would contradict
327-
\olref{thm:sigma1-completeness}.
328-
329300
\end{document}

0 commit comments

Comments
 (0)