Skip to content

Commit 02b83f3

Browse files
rzachbeastaugh
andauthored
Beta (#396)
Change the beta function lemma to use lcm(1,...,j) rather than j!. This reduces the size of j in the proof of the beta-function lemma. It doesn't require any substantive change in the reasoning. Co-authored-by: Benedict Eastaugh <[email protected]>
1 parent 80ddc59 commit 02b83f3

File tree

2 files changed

+31
-27
lines changed

2 files changed

+31
-27
lines changed

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

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
could define things like the ``$n$-th prime,'' and pick a fairly
1818
straightforward coding. But here we do not have primitive
1919
recursion---in fact we want to show that we can do primitive recursion
20-
using minimization---so we need to be more clever.
20+
using minimization---so we need to be more clever.
2121

2222
\begin{lem}
2323
\ollabel{lem:beta}
@@ -42,7 +42,8 @@
4242
minimization---however, we're allowed to use addition, multiplication,
4343
and~$\Char{=}$. There are various ways to prove this lemma, but one of
4444
the cleanest is still G\"odel's original method, which used a
45-
number-theoretic fact called Sunzi's Theorem (traditionally, the ``Chinese Remainder Theorem'').
45+
number-theoretic fact called Sunzi's Theorem
46+
(traditionally, the ``Chinese Remainder Theorem'').
4647

4748
\begin{defn}
4849
Two natural numbers $a$ and $b$ are \emph{relatively prime} iff their
@@ -51,7 +52,8 @@
5152
\end{defn}
5253

5354
\begin{defn}
54-
Natural numbers $a$ and $b$ are \emph{congruent modulo~$c$}, $a \equiv b \mod c$, iff $c \mid (a-b)$, i.e., $a$ and $b$ have the
55+
Natural numbers $a$ and $b$ are \emph{congruent modulo~$c$},
56+
$a \equiv b \mod c$, iff $c \mid (a-b)$, i.e., $a$ and $b$ have the
5557
same remainder when divided by~$c$.
5658
\end{defn}
5759

@@ -76,35 +78,36 @@
7678

7779
A couple of observations will help us in this regard. Given
7880
$y_0$, \dots,~$y_n$, let
79-
\[
80-
j = \max(n, y_0, \dots, y_n) + 1,
81-
\]
81+
\begin{align*}
82+
j &= \max(n, y_0 + 1, \dots, y_n + 1), \\
83+
m &= \lcm(1,\dots,j),
84+
\end{align*}
8285
and let
8386
\begin{align*}
84-
x_0 & = 1 + \fact{j} \\
85-
x_1 & = 1 + 2 \cdot \fact{j} \\
86-
x_2 & = 1 + 3 \cdot \fact{j} \\
87+
x_0 & = 1 + m \\
88+
x_1 & = 1 + 2 \cdot m \\
89+
x_2 & = 1 + 3 \cdot m \\
8790
& \vdots \\
88-
x_n & = 1 + (n+1) \cdot \fact{j}
91+
x_n & = 1 + (n+1) \cdot m
8992
\end{align*}
9093
Then two things are true:
9194
\begin{enumerate}
92-
\item\ollabel{rel-prime} $x_0$, \dots,~$x_n$ are relatively prime.
95+
\item\ollabel{rel-prime} $x_0,\dots,x_n$ are relatively prime.
9396
\item\ollabel{less} For each $i$, $y_i < x_i$.
9497
\end{enumerate}
95-
To see that \olref{rel-prime} is true, note that if $p$ is a prime number and $p
96-
\mid x_i$ and $p \mid x_k$, then $p \mid 1 + (i+1) \fact{j}$ and $p \mid
97-
1 + (k+1) \fact{j}$. But then $p$ divides their difference,
98+
To see that \olref{rel-prime} is true, note that if $p$ is a prime number
99+
and $p \mid x_i$ and $p \mid x_k$, then $p \mid 1 + (i+1) m$ and
100+
$p \mid 1 + (k+1) m$. But then $p$ divides their difference,
98101
\[
99-
(1 + (i+1)\fact{j}) - (1+ (k+1)\fact{j}) = (i-k) \fact{j}.
102+
(1 + (i+1)m) - (1+ (k+1)m) = (i-k) m.
100103
\]
101-
Since $p$ divides $1 + (i+1)\fact{j}$, it can't divide $\fact{j}$ as well
104+
Since $p$ divides $1 + (i+1)m$, it can't divide $m$ as well
102105
(otherwise, the first division would leave a remainder of~$1$). So $p$
103-
divides $i-k$, since $p$ divides $(i-k)\fact{j}$. But $\left| i-k
104-
\right|$ is at most~$n$, and we have chosen $j > n$, so this implies
105-
that $p \mid \fact{j}$, again a contradiction. So there is no prime
106-
number dividing both $x_i$ and $x_k$. Clause~\olref{less} is easy: we have $y_i <
107-
j < \fact{j} < x_i$.
106+
divides $i-k$, since $p$ divides $(i-k)m$. But $\left|i-k\right|$ is at
107+
most~$n$, and we have chosen $j \geq n$, so this implies that
108+
$p \mid m$, again a contradiction. So there is no prime number dividing
109+
both $x_i$ and $x_k$. Clause~\olref{less} is easy:
110+
we have $y_i < j \leq m < x_i$.
108111

109112
Now let us prove the $\beta$ function lemma. Remember that we can use
110113
$0$, successor, plus, times, $\Char{=}$, projections, and any function
@@ -144,14 +147,14 @@
144147
\beta^*(d_0,d_1,i) & = \fn{rem}(1+(i+1) d_1,d_0) \text{ and}\\
145148
\beta(d,i) & = \beta^*(K(d),L(d),i).
146149
\end{align*}
147-
This is the function we want. Given $a_0$, \dots,~$a_n$ as above, let
150+
This is the function we want. Given $a_0,\dots,a_n$ as above, let
148151
\[
149-
j = \max(n,a_0,\dots,a_n)+1,
152+
j = \max(n,a_0+1,\dots,a_n+1),
150153
\]
151-
and let $d_1 = \fact{j}$. By \olref{rel-prime} above, we know that
152-
$1+d_1$, $1+2 d_1$, \dots, $1+(n+1) d_1$ are relatively prime, and
153-
by~\olref{less} that all are greater than $a_0$, \dots,~$a_n$. By
154-
Sunzi's Theorem there is a value~$d_0$ such that for each~$i$,
154+
and let $d_1 = \lcm(1,\dots,j)$. By \olref{rel-prime} above,
155+
we know that $1+d_1$, $1+2 d_1$, \dots, $1+(n+1) d_1$ are relatively
156+
prime, and by~\olref{less} that all are greater than $a_0,\dots,a_n$.
157+
By Sunzi's Theorem there is a value~$d_0$ such that for each~$i$,
155158
\[
156159
d_0 \equiv a_i \mod (1+(i+1)d_1)
157160
\]

open-logic-config.sty

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,7 @@
12241224
\newcommand\funfromto[2]{{}^{#1}{#2}}
12251225
\newcommand\setrank[1]{\mathrm{rank}(#1)}
12261226
\DeclareMathOperator*{\supstrict}{\mathrm{lsub}}
1227+
\DeclareMathOperator\lcm{\mathrm{lcm}}
12271228
\newcommand\trcl[1]{\mathrm{trcl}(#1)}
12281229
\newcommand\ZF{\Th{ZF}}
12291230
\newcommand\SP{\Th{SP}}

0 commit comments

Comments
 (0)