% Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} % \documentclass[ ]{article} \usepackage{amsmath,amssymb} \usepackage{iftex} \ifPDFTeX \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{textcomp} % provide euro and other symbols \else % if luatex or xetex \usepackage{unicode-math} % this also loads fontspec \defaultfontfeatures{Scale=MatchLowercase} \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} \fi \usepackage{lmodern} \ifPDFTeX\else % xetex/luatex font selection \fi % Use upquote if available, for straight quotes in verbatim environments \IfFileExists{upquote.sty}{\usepackage{upquote}}{} \IfFileExists{microtype.sty}{% use microtype if available \usepackage[]{microtype} \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts }{} \makeatletter \@ifundefined{KOMAClassName}{% if non-KOMA class \IfFileExists{parskip.sty}{% \usepackage{parskip} }{% else \setlength{\parindent}{0pt} \setlength{\parskip}{6pt plus 2pt minus 1pt}} }{% if KOMA class \KOMAoptions{parskip=half}} \makeatother \usepackage{xcolor} \usepackage[margin=1in]{geometry} \usepackage{longtable,booktabs,array} \usepackage{calc} % for calculating minipage widths % Correct order of tables after \paragraph or \subparagraph \usepackage{etoolbox} \makeatletter \patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{} \makeatother % Allow footnotes in longtable head/foot \IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}} \makesavenoteenv{longtable} \setlength{\emergencystretch}{3em} % prevent overfull lines \providecommand{\tightlist}{% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setcounter{secnumdepth}{-\maxdimen} % remove section numbering \ifLuaTeX \usepackage{selnolig} % disable illegal ligatures \fi \usepackage{bookmark} \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available \urlstyle{same} \hypersetup{ hidelinks, pdfcreator={LaTeX via pandoc}} \author{} \date{} % PDFLaTeX compatibility for Unicode characters retained from the source. \ifPDFTeX \DeclareUnicodeCharacter{03B1}{\ensuremath{\alpha}} \DeclareUnicodeCharacter{03B3}{\ensuremath{\gamma}} \DeclareUnicodeCharacter{03B5}{\ensuremath{\varepsilon}} \DeclareUnicodeCharacter{03C9}{\ensuremath{\omega}} \DeclareUnicodeCharacter{0393}{\ensuremath{\Gamma}} \DeclareUnicodeCharacter{03A3}{\ensuremath{\Sigma}} \DeclareUnicodeCharacter{2218}{\ensuremath{\circ}} \DeclareUnicodeCharacter{2080}{\ensuremath{{}_0}} \DeclareUnicodeCharacter{2081}{\ensuremath{{}_1}} \fi \usepackage{fvextra} \DefineVerbatimEnvironment{verbatim}{Verbatim}{breaklines=true,breakanywhere=true,fontsize=\footnotesize} \begin{document} \section{\texorpdfstring{The 51-state beeper \(M_{51}\): every battle ends, and what Peano Arithmetic can prove about it}{The 51-state beeper M\_\{51\}: every battle ends, and what Peano Arithmetic can prove about it}}\label{the-51-state-beeper-m_51-every-battle-ends-and-what-peano-arithmetic-can-prove-about-it} \emph{Self-contained proof document (Markdown with LaTeX). Apart from the two items listed below under ``What lies outside this document'', it depends on nothing else. Status: all results are proved in full. These are Theorem 1 (every battle ends, so \(M_{51}\) does not quasihalt), Theorem 2 (PA does not prove that the process beeps forever), Theorem 3 (quasihalting of \(M_{51}\) is independent of PA) and Corollary 8.1. The growth lemma that the unprovability half needs (LEMMA G) is proved in §6. §10 lists the dependencies.} \textbf{What lies outside this document.} Two things, and nothing else: \begin{itemize} \tightlist \item the classification theorem of Buchholz--Wainer 1987 (Theorem 5), cited as Theorem A.13 and checked against the source in §A.8; \item the machine-checked simulation theorem (§2.3), which is a Rocq proof, distributed as \texttt{rocq51.tar.gz}. Its statements are quoted verbatim in §2.3, and every definition they depend on is listed and explained there. Only the truth of those statements is used. \end{itemize} The process \(R\) is given in full in §2.1, and the machine table of \(M_{51}\) is printed in Appendix B. The numerical checks of §6.11 and §9 are not part of any proof. Their scripts are distributed as \texttt{checks51.tar.gz}; file names below refer to that archive (or, for \texttt{.v} files, to \texttt{rocq51.tar.gz}). Background facts about ordinals below \(\varepsilon_0\), the Buchholz--Wainer fundamental sequences \(\alpha[n]\), the Hardy functions \(H_\alpha\), the norm lemma and the classification theorem are collected, with proofs, in \textbf{Appendix A}. They are cited as ``(F1)'', ``Lemma A.6'' and so on. The only result used without proof is the classification theorem of Wainer and Buchholz--Wainer (Theorem A.13); §A.8 checks it against the source. Sources are listed in the References at the end. \begin{center}\rule{0.5\linewidth}{0.5pt}\end{center} \subsection{0. Results at a glance}\label{results-at-a-glance} Let \(R\) be the dispatch-level process \texttt{step} of §2.1, started at \([1,0]\), and \(M_{51}\) the 51-state, 2-symbol beeping machine of Appendix B (start state 30, beep state 50). \textbf{Theorem 1 (termination; proved).} Every battle of \(R\) ends. Hence \(R\) beeps infinitely often, and so does \(M_{51}\), by the machine-checked simulation theorem of §2.3 (Rocq, \texttt{M51\_run30} / \texttt{M51\_run\_fun}, \texttt{Axioms:\ \textless{}none\textgreater{}}). So \textbf{\(M_{51}\) does not quasihalt.} The proof assigns to each list \([1,0]+X\) a worm ordinal \(\mathrm{ord}(X)<\varepsilon_0\) and shows that every step lowers it (§4). The battle from \([1,0,k]\) starts at \(\tau_{k+1}\), a tower of \(k\) omegas. \textbf{Theorem 2 (unprovability for \(R\); proved).} The start letters \(k_j\) of the battles, and the beep times of \(M_{51}\), eventually dominate every function that is provably computable in PA. PA does not prove the \(\Pi_2\) sentence ``\(R\) beeps infinitely often''. \textbf{Theorem 3 (the machine; proved).} (1) \(M_{51}\) does not quasihalt. (2) PA does not prove that \(M_{51}\) quasihalts. (3) PA does not prove that \(M_{51}\) does not quasihalt. So \textbf{quasihalting of \(M_{51}\) is independent of PA.} The only input about the machine is the truth of the Rocq statements. The time bound \(\tau(j+2)\ge2k_{j+1}+2\) is derived from the tape content at the dispatch before the beep (Corollary 2.3). \textbf{LEMMA G (proved, §6).} For every \(\beta<\varepsilon_0\), \(\Psi(k)\ge H_\beta(k+1)\) for all large \(k\). Here \(\Psi(k)\) is the counter returned by the battle from \([1,0,k]\). §6 proves more: \begin{itemize} \tightlist \item \textbf{Theorem 6.20.} \(\Phi_{(k)}(z)\ge\frac12H_{\tau_{k+1}}\big(\lfloor(2z+k+1)/(8(k+1))\rfloor\big)\) whenever \(2z+k+1\ge8(k+1)^2+1000\). Here \(\Phi_{(k)}(z)\) is the counter returned by the battle of the one-letter worm \((k)\) with counter \(z\). So, at a large counter, this battle is at least the Hardy function of its own ordinal \(\tau_{k+1}\), at a linearly slowed argument. \item \textbf{Corollary 6.22.} \(\Psi(k)\ge H_{\tau_{\lfloor k/2\rfloor}}(k)\) for all large \(k\). \end{itemize} \textbf{The method (§6).} \begin{itemize} \tightlist \item Every list that \(R\) reaches is in a \emph{normal form} (Lemma 6.9). Each ordinal has exactly one normal-form worm, and no worm with that ordinal is smaller (Lemma 6.4). \item On normal forms, each step of \(R\) removes the \(z\) trailing zeros of the list and then takes the largest ordinal below the ordinal of what remains whose normal-form worm fits into the new total size of the list (Proposition 6.12). The removed zeros are accounted for as \(z\) successor steps of the same descent (Theorem 6.14). \item Hence a battle is the longest strictly decreasing sequence of ordinals in which the term at each time has a worm of size at most that time (Theorem 6.14). \item Such sequences can be built along the Buchholz--Wainer fundamental sequences, regenerating time at each limit step (Theorem 6.19). \end{itemize} The exact structure laws of §§3--5 are used throughout. They are prefix intactness, the composition law \(\Phi_{A0Y}(z)=\Phi_A(1+\Phi_Y(z))\), lifts, and the counter lemmas. \textbf{Verdict.} No flaw was found in the process or the machine. Every battle ends (Theorem 1), and quasihalting of \(M_{51}\) is independent of PA (Theorem 3). \begin{center}\rule{0.5\linewidth}{0.5pt}\end{center} \subsection{1. Plain-language overview}\label{plain-language-overview} \textbf{The process.} The process \(R\) manipulates a finite list of natural numbers that always starts with \(1,0\). The rest of the list, call it the \emph{worm} \(X\), changes at every step. The number \(z\) of zeros at the end of the list is a \emph{counter}. If the worm is all zeros, the process \emph{beeps} and starts a new \emph{battle} from the one-letter worm \((z)\), so the counter becomes the size of the next opponent. Otherwise the zeros at the end are removed, the last letter \(c\) is lowered by one, and a certain infinite periodic continuation \(e\) of the list is formed. From the continuation one reads off an infinite, ordered list of \emph{candidates} \(C_0,C_1,C_2,\dots\) (initial pieces of \(e\) with their last letter possibly lowered), and the process jumps to candidate number \(2z+1\). The counter is not carried over: whatever zeros the new candidate happens to end with become the new counter. \textbf{What is proved here.} \begin{enumerate} \def\labelenumi{\arabic{enumi}.} \tightlist \item \emph{Every battle ends} (Theorem 1). Each worm gets an ordinal below \(\varepsilon_0\), a ``worm ordinal'' of the kind used in Beklemishev's worm calculus, and every step lowers it (§4). So \(R\) beeps infinitely often. A machine-checked Rocq theorem (§2.3) says that the 51-state Turing machine \(M_{51}\) carries out \(R\), so \(M_{51}\) enters its beep state infinitely often. \item \emph{Counters never get lost} (§5). Although the counter is reset at every step, its value survives in the shape of the candidate. Three exact inequalities make this precise: a size bound, monotonicity in the counter, and a \emph{doubling lemma}: lowering the last letter of a worm by one at least doubles the counter that the rest of the battle receives. From these: the battle from the one-letter worm \((k)\) returns a counter \(\Psi(k)\ge 2^{k+1}-1\), and the \(j\)-th battle starts from a worm \((k_j)\) with \(k_{j+1}\ge 2^{k_j+1}\). \item \emph{How fast \(\Psi\) grows} (§6). PA-unprovability needs \(\Psi\) to outgrow every function that PA proves total. That is LEMMA G, proved in §6. \begin{itemize} \tightlist \item The counter is reset at every step, but the \emph{total size} of the list is not; the size of an entry \(x\) is \(x+1\). A step with counter \(z\) adds exactly \(z+1\) to the total size. \item Every ordinal has exactly one worm in \emph{normal form}, and no worm with that ordinal is smaller. The run of \(R\) never leaves normal forms. On normal forms, the candidate chosen by \(R\) is the largest ordinal below the ordinal of the list without its trailing zeros whose normal form fits into the new total size. \item So a battle is a \emph{greedy} descent through the ordinals under a size budget that grows by one per unit of time. A greedy descent under such a budget is the longest possible one. To bound a battle from below, it is therefore enough to exhibit \emph{one} long descent that respects the budget. \item Such a descent is built along the Buchholz--Wainer fundamental sequences, slowed down so that the size budget is respected. At each limit step it first spends a cheap summand \(\omega^2\), which buys an exponential amount of time. \end{itemize} This gives Hardy-function lower bounds at every level below \(\varepsilon_0\). \item \emph{Unprovability and independence} (§§7--8). PA does not prove that \(R\) beeps forever, and whether \(M_{51}\) quasihalts is independent of PA. These theorems follow from LEMMA G, the machine-checked simulation, and the classification theorem of Wainer and Buchholz--Wainer. \end{enumerate} \textbf{Why this is harder than the Kirby--Paris hydra.} In the Kirby--Paris hydra battle under their recursive strategy ({[}KP{]} p.~292), each step is exactly one fundamental-sequence step \(\alpha\mapsto\alpha[c]\) (Definition A.1), and the stage counter \(c\) grows by one at every step and is never reset. Here neither holds. The candidate number \(2z+1\) is compared with the \emph{width} of the periodic part, which grows as the worm grows, so one step can descend much further than \(\alpha[z]\) would. And the counter is reset at every step and rebuilt by the battles of sub-worms. A step-by-step comparison with a Buchholz--Wainer descent therefore breaks down. §6 avoids it. It never follows the battle step by step: it compares the battle with all budgeted descents at once (Theorem 6.14), and then builds one good descent by hand (Theorem 6.19). \begin{center}\rule{0.5\linewidth}{0.5pt}\end{center} \subsection{\texorpdfstring{2. The process \(R\), the machine \(M_{51}\), and the sentences}{2. The process R, the machine M\_\{51\}, and the sentences}}\label{the-process-r-the-machine-m_51-and-the-sentences} \subsubsection{2.1 The process}\label{the-process} The process is the following Python function \texttt{step} (the reference implementation \texttt{ref51.py}, verbatim): \begin{verbatim} def cand(S0, n): c = S0[-1] r = max(i for i in range(len(S0)) if S0[i] < c) Sp = S0[:-1] + [c - 1] B = Sp[r + 1:] def E(i): return Sp[i] if i < len(Sp) else B[(i - len(Sp)) % len(B)] idx = 0; L = len(S0) + 1 while True: pre = [E(i) for i in range(L - 1)] for v in range(E(L - 1) + 1): if idx == n: return pre + [v] idx += 1 L += 1 def step(S): z = 0 while z < len(S) and S[len(S) - 1 - z] == 0: z += 1 S0 = S[:len(S) - z] if S0 == [1]: return True, [1, 0, z] return False, cand(S0, 1 + 2 * z) \end{verbatim} The run starts at \(S_0=[1,0]\) and \(S_{j+1}\) is the second component of \texttt{step}\((S_j)\). Step \(j\) \emph{beeps} if the first component is \texttt{True}. The Rocq file \texttt{Proc.v} transcribes these two functions line by line (§2.3), so the process of this section is literally the one in the machine-checked theorem. \textbf{Worm notation.} Every \(S_j\) has the form \([1,0]\) followed by a finite sequence of naturals (by induction on \(j\): see the description of a step below). A \textbf{worm} is a finite sequence \(X=(x_1,\dots,x_p)\) of naturals; \(\varnothing\) is the empty worm, juxtaposition is concatenation, \(0^m\) is a block of \(m\) zeros, and \(|X|=p\). Write \[\langle X,z\rangle:=[1,0]+X+[0]^z .\] Different pairs can denote the same list: \(\langle X0,z\rangle=\langle X,z+1\rangle\). A worm is \textbf{stripped} if it is nonempty and its last letter is \(\ge1\). Every list \([1,0]+X\) is either \(\langle\varnothing,m\rangle\) (all zeros after \([1,0]\)) or \(\langle Y,z\rangle\) for a unique stripped \(Y\) and \(z\ge0\). \textbf{One step, in worm notation.} Let \(S=[1,0]+X\). \begin{itemize} \tightlist \item \emph{Beep.} If \(X=0^m\), the loop counts \(z=m+1\) zeros (the \(0\) of \([1,0]\) counts too), \(S_0=[1]\), and the step beeps and returns \([1,0,m+1]=\langle(m+1),0\rangle\). \item \emph{Non-beep.} Otherwise \(S=\langle Y,z\rangle\) with \(Y=(y_1,\dots,y_p)\) stripped, and the loop counts exactly the \(z\) final zeros (it stops at \(y_p\ge1\)). Then \(S_0=[1,0]+Y\) and \(c=y_p\). Put \(y_0:=0\), the \(0\) of \([1,0]\), which plays the role of a \emph{base letter}. In \texttt{cand}, \(S_0[0]=1\), \(S_0[1]=y_0=0 match delta q x with | None => None | Some (w, Lft, q') => Some (q', stl L, shd L, w >> R) | Some (w, Rgt, q') => Some (q', w >> L, shd R, stl R) end end. \end{verbatim} so a step writes \texttt{w} in the head cell, moves the head one cell, and changes no other cell. \texttt{run\ n\ C} iterates \texttt{step} \(n\) times (\texttt{None} if a step is undefined). \texttt{Steps\ n\ b\ C\ C\textquotesingle{}} holds iff \(C\) reaches \(C'\) in exactly \(n\) defined steps and exactly \(b\) of the \(n\) configurations from which a step is taken are in a beep state (constructors \texttt{steps0\ C\ :\ Steps\ 0\ 0\ C\ C} and \texttt{stepsS\ :\ step\ C\ =\ Some\ C\textquotesingle{}\ -\textgreater{}\ Steps\ n\ b\ C\textquotesingle{}\ C\textquotesingle{}\textquotesingle{}\ -\textgreater{}\ Steps\ (S\ n)\ (bp\ C\ +\ b)\ C\ C\textquotesingle{}\textquotesingle{}}, with \texttt{bp\ C} \(=1\) iff the state of \(C\) is a beep state). \texttt{Steps\ n\ b\ C\ C\textquotesingle{}} implies \texttt{run\ n\ C\ =\ Some\ C\textquotesingle{}} (\texttt{Steps\_run}). \item \emph{The machine} (\texttt{Machine51.v}, generated from \texttt{beeper51.txt}; see §2.2). \texttt{Sym\ =\ s0\ \textbar{}\ s1} (\texttt{s0} blank), states \texttt{Q0}\ldots{}\texttt{Q50}, \texttt{delta} the 102 transitions, \texttt{isbeep\ q} true only for \texttt{Q50}. \item \emph{The process} (\texttt{Proc.v}). \texttt{tz}, \texttt{cand}, \texttt{step}, \texttt{Sseq}, \texttt{nbeep\_before}, \texttt{pw}, \texttt{cells}, \texttt{enc}, \texttt{Dconf}, \texttt{C31}. Compared \texttt{tz}, \texttt{maxlt}, \texttt{Efun}, \texttt{candloop}, \texttt{cand} and \texttt{step} with \texttt{ref51.py} line by line: \texttt{tz\ S} is the number of trailing zeros; \texttt{step\ S} returns \texttt{(true,\ {[}1;0;z{]})} if the stripped list is \texttt{{[}1{]}}, else \texttt{(false,\ cand\ S0\ (1+2z))}; \texttt{cand} computes \texttt{c}, \texttt{r} \(=\max\{i:S_0[i]\ k_{j+1}.\] \emph{Proof.} Let \(i=b_{j+1}\), the index of the beep that ends battle \(j\). The beeps of \(R\) before step \(i\) are those at \(b_1,\dots,b_j\), so \texttt{nbeep\_before\ i} \(=j\). By (Sim1) there is a time \(t\) at which the start-\(q\) run shows \texttt{Sseq\ i} \(=\langle\varnothing,k_{j+1}-1\rangle\) (by (2.1)), with exactly \(j+1\) beeps at times \(|A|+1\) we have \(x_io(D-1)=\theta(D)\) by the induction hypothesis for the letter \(a-1\) (applied to the worm \(D-1\)). Left addition is strictly increasing. For \(\mathrm{ord}\) apply this to \(0W\). The statement about \(\theta\) is the same computation. \(\square\) \textbf{Lemma 4.2 (lowering the last letter lowers \(o\)).} For every worm \(W\) and letter \(a\ge1\): \(o(W(a-1))p\), \((e_1-1,\dots,e_i-1)\) is the last member of group \(i-1\) of \(A-1\) (Lemma 3.4: \(e(A-1)=e(A)-1\)), so the induction hypothesis applies. \emph{Case \(c=1\).} Write \(A=A'1\) with \(A'\) zero-free. By Lemma 3.3, \(C=A'0T\) with \(T=T_n(A')\), a prefix of \((A'0)(A'0)\cdots\) with its last letter possibly lowered. So every block of \(C\) is a prefix of \(A'\), possibly with its last letter lowered: the first block \(A'\), full copies of \(A'\), a truncated copy, possibly an empty block. By Lemma 4.3 each has \(\theta\le\theta(A')\). And \(\theta(A)=\theta(A'1)=o((A'-1)0)=\theta(A')+1>\theta(A')\) by Lemma 4.0(i). \(\square\) \subsubsection{\texorpdfstring{4.4 Theorem 1, and the battle function \(\Phi\)}{4.4 Theorem 1, and the battle function \textbackslash Phi}}\label{theorem-1-and-the-battle-function-phi} \textbf{Theorem 1.} From every list \([1,0]+X\), the run of \(R\) reaches a beep after finitely many steps. Hence every battle ends, \(R\) beeps infinitely often, and by (Sim2) of §2.3 \(M_{51}\) enters state 50 infinitely often from either start state: \textbf{\(M_{51}\) does not quasihalt.} \emph{Proof.} Assign to the list \([1,0]+X\) the ordinal \(\mathrm{ord}(X)<\varepsilon_0\). A non-beep step goes from \([1,0]+Y0^z\) (\(Y\) stripped) to \([1,0]+C\) with \(C=C_{2z+1}(Y)\), and \(\mathrm{ord}(C)<\mathrm{ord}(Y)\le\mathrm{ord}(Y)+z=\mathrm{ord}(Y0^z)\) by Lemmas 4.4 and 4.0(i). Every strictly decreasing sequence of ordinals is finite. So a run without beeps is finite, that is, every run reaches a list \([1,0]+0^m\), which beeps. \(\square\) \textbf{Definition 4.5.} For a worm \(X\) and \(z\ge0\), let \(\Phi_X(z)\) be the number \(m\) of zeros of the first list of the form \([1,0]+0^m\) in the run from \(\langle X,z\rangle\) (it exists by Theorem 1; if \(X0^z\) is all zeros, \(\Phi_X(z)=|X|+z\)). Thus \(\Psi(k)=\Phi_{(k)}(0)\). \textbf{Corollary 4.6 (composition law).} For all worms \(A,X,Y\), all stripped \(Y'\), and all \(z\): \[\Phi_\varnothing(z)=z,\qquad \Phi_{X0}(z)=\Phi_X(z+1),\qquad \Phi_{Y'}(z)=\Phi_{C_{2z+1}(Y')}(0),\qquad \Phi_{A0Y}(z)=\Phi_A\big(1+\Phi_Y(z)\big).\] \emph{Proof.} The first two hold by definition, since \(\langle X0,z\rangle=\langle X,z+1\rangle\). The third holds because the run from \(\langle Y',z\rangle\) goes to \([1,0]+C_{2z+1}(Y')=\langle C_{2z+1}(Y'),0\rangle\) in one non-beep step. For the fourth: if \(Y0^z\) is all zeros, both sides are \(\Phi_A(|Y|+z+1)\). Otherwise let \([1,0]+W_0,\dots,[1,0]+W_T\) be the run from \(\langle Y,z\rangle\) up to the first all-zero list \([1,0]+W_T=[1,0]+0^m\), \(m=\Phi_Y(z)\). By Lemma 3.2 and induction on \(t\), the run from \(\langle A0Y,z\rangle\) is \([1,0]+A+[0]+W_t\) for \(t\le T\). None of these lists is all zero for \(t\mathrm{size}(C)\). For a general \(X\) write \(X=Y0^j\) (\(Y\) stripped) and use \(\Phi_X(z)=\Phi_Y(z+j)\), or \(X=0^j\) and \(\Phi_X(z)=j+z\). \(\square\) \textbf{Lemma 5.2 (counter lemma).} For all worms \(X,P\), every stripped \(Y\), every letter \(v\ge0\) and all \(n,y,z\ge0\): \begin{itemize} \tightlist \item \textbf{(M)} \(\Phi_X(z)<\Phi_X(z+1)\); \item \textbf{(D) (doubling)} \(\Phi_{P(v+1)}(y)\ge\Phi_{Pv}(2y+2)\); \item \textbf{(I) (index for counter)} \(\Phi_{C_{n+1}(Y)}(y)\ge\Phi_{C_n(Y)}(y+1)\). \end{itemize} \emph{Proof.} To an instance attach the worm \(U\) and the number \(u\) given by: \(U=X\), \(u=z+1\) for (M); \(U=P(v+1)\), \(u=y\) for (D); \(U=C_{n+1}(Y)\), \(u=y\) for (I). Its \textbf{key} is the pair \((\mathrm{ord}(U)+u,\ |U|)\), ordered lexicographically. This is a well-order. We prove all instances by induction on the key. As the proofs below show, an instance of (M) or (D) uses only instances with smaller keys, and an instance of (I) uses one instance of (D) with the same key and instances of (M) with smaller keys. So at each key, first (M) and (D) are proved, then (I). Two facts are used repeatedly: if \(\lambda\) is a limit and \(\beta<\lambda\), then \(\beta+x<\lambda\) for every finite \(x\); and \(\mathrm{ord}(Q)\ge\omega\) is a limit for zero-free nonempty \(Q\) (Lemma 4.0(iv)). \emph{(I) from (D).} By Lemma 3.1(b), either \(C_{n+1}=C_n0\), and then \(\Phi_{C_{n+1}}(y)=\Phi_{C_n}(y+1)\); or \(C_n=Qv\) and \(C_{n+1}=Q(v+1)\). In the second case (D) for \((Q,v,y)\) has the same key and gives \(\Phi_{C_{n+1}}(y)\ge\Phi_{C_n}(2y+2)\). Then (M) for \(C_n\) at the counters \(y+1,\dots,2y+1\) gives \(\ge\Phi_{C_n}(y+1)\). These keys have first component \(\mathrm{ord}(Qv)+x<\mathrm{ord}(Q(v+1))\): by Lemma 4.2, \(\mathrm{ord}(Qv)<\mathrm{ord}(Q(v+1))\), and the latter is a limit (its last block is nonempty). \emph{(M) for \((X,z)\).} If \(X=\varnothing\): \(z\ \Phi_{C_{2z+1}}(0)=\Phi_X(z),\] by (I) twice and (M) twice. All these keys have first component \(\mathrm{ord}(C_m)+x<\mathrm{ord}(X)\), by Lemma 4.4. \emph{(D) for \((P,v,y)\).} If \(P\) contains a zero, write \(P=A0P'\) with \(P'\) zero-free (possibly empty). By Corollary 4.6, \(\Phi_{P(v+1)}(y)=\Phi_A(1+\Phi_{P'(v+1)}(y))\) and \(\Phi_{Pv}(2y+2)=\Phi_A(1+\Phi_{P'v}(2y+2))\). Apply (D) for \((P',v,y)\), whose key has first component \(\le\mathrm{ord}(P(v+1))+y\) and a shorter worm. Then apply (M) for \(A\), at keys \(<\mathrm{ord}(A)+\mathrm{ord}(P'(v+1))=\mathrm{ord}(P(v+1))\). Now let \(P\) be zero-free. \begin{itemize} \tightlist \item \(v=0\), \(P=\varnothing\): \(\Phi_{(1)}(y)=2y+3=\Phi_{(0)}(2y+2)\), since \(C_{2y+1}((1))=0^{2y+3}\). \item \(v=0\), \(P\ne\varnothing\): by Lemma 3.3, \(C_{2y+1}(P1)=P0T\) with \(T=T_{2y+1}(P)\) and \(\mathrm{size}(T)=2y+2\). By Corollary 4.6 and Lemma 5.1, \(\Phi_{P1}(y)=\Phi_P(1+\Phi_T(0))\) with \(\Phi_T(0)\ge2y+2\). By (M) for \(P\), this is \(\ge\Phi_P(2y+3)=\Phi_{P0}(2y+2)\). The keys used have first component \(\mathrm{ord}(P)+x<\omega^{\theta(P)}\cdot2\le\omega^{\theta(P)+1}=\mathrm{ord}(P1)\). \item \(v\ge1\): \(P(v+1)\) is zero-free with last letter \(\ge2\). By Corollary 4.6 and (I) applied \(2y+1\) times (keys \(<\mathrm{ord}(P(v+1))\) by Lemma 4.4), \[\Phi_{P(v+1)}(y)=\Phi_{C_{2y+1}}(0)\ge\Phi_{C_{2y}}(1)\ge\dots\ge\Phi_{C_0}(2y+1),\] and \(C_0=C_0(P(v+1))=(P,v,0)\) by Lemma 3.1(d). So this is \(\Phi_{Pv}(2y+2)\). \(\square\) \end{itemize} \textbf{Corollary 5.3.} \begin{itemize} \tightlist \item \begin{enumerate} \def\labelenumi{(\alph{enumi})} \tightlist \item \emph{(Choosing a candidate.)} For stripped \(Y\) and \(0\le n\le 2z+1\): \(\Phi_Y(z)\ge\Phi_{C_n(Y)}(2z+1-n)\). In particular, with \(Y[j]\) and \(W(Y)\) as in Lemma 3.1(e), \(\Phi_Y(z)\ge\Phi_{Y[j]}(2z+2-jW(Y))\) whenever \(1\le j\) and \(jW(Y)\le2z+2\). \end{enumerate} \item \begin{enumerate} \def\labelenumi{(\alph{enumi})} \setcounter{enumi}{1} \tightlist \item \emph{(Appending.)} \(\Phi_{Xa}(z)\ge\Phi_X(z+1)>\Phi_X(z)\) for every worm \(X\) and letter \(a\). \end{enumerate} \item \begin{enumerate} \def\labelenumi{(\alph{enumi})} \setcounter{enumi}{2} \tightlist \item \emph{(Iterated doubling.)} \(\Phi_{P(v+m)}(y)\ge\Phi_{Pv}(2^m(y+2)-2)\). \end{enumerate} \item \begin{enumerate} \def\labelenumi{(\alph{enumi})} \setcounter{enumi}{3} \tightlist \item \(\Psi\) is strictly increasing, \(\Psi(k)\ge2^{k+1}-1\), \(k_{j+1}\ge2^{k_j+1}\), and \(k_j\ge j\) for all \(j\ge1\). \end{enumerate} \end{itemize} \emph{Proof.} (a) Corollary 4.6 and (I), \(2z+1-n\) times; for the second form take \(n=jW(Y)-1\) (Lemma 3.1(e)). (b) \(\Phi_{X0}(z)=\Phi_X(z+1)\), and for \(a\ge1\) use (D) repeatedly and (M). (c) \(m\) applications of (D), with \(y\mapsto2y+2\) iterated \(m\) times. (d) \(\Psi(k+1)=\Phi_{(k+1)}(0)\ge\Phi_{(k)}(2)>\Phi_{(k)}(0)=\Psi(k)\) by (D) and (M). By (c) with \(P=\varnothing\), \(v=0\), \(y=0\): \(\Psi(k)\ge\Phi_{(0)}(2^{k+1}-2)=2^{k+1}-1\). Then \(k_{j+1}=1+\Psi(k_j)\ge2^{k_j+1}>k_j\), and \(k_1=1\). \(\square\) These bounds are exact facts about \(R\), with complete proofs. They are far too weak for PA-unprovability: \(2^{k+1}\) is elementary. The next section proves the growth that PA-unprovability needs. \begin{center}\rule{0.5\linewidth}{0.5pt}\end{center} \subsection{6. Growth: LEMMA G}\label{growth-lemma-g} \emph{Conventions are those of §§1--5 and of Appendix A: \(\alpha[n]\) is the Buchholz--Wainer fundamental sequence (Definition A.1), \(H_\alpha\) and \(F_\alpha\) are the Hardy and fast-growing functions (§A.3), \(N(\cdot)\) is the norm of (F5), and \(\tau_0=0\), \(\tau_{s+1}=\omega^{\tau_s}\). This section proves LEMMA G, the growth lemma used in §§7--8.} \textbf{Main results.} \begin{itemize} \tightlist \item \textbf{Theorem 6.20.} For all \(k\ge1\) and \(z\ge0\) with \(2z+k+1\ge8(k+1)^2+1000\): \[\Phi_{(k)}(z)\ \ge\ \tfrac12\,H_{\tau_{k+1}}\Big(\Big\lfloor\frac{2z+k+1}{8(k+1)}\Big\rfloor\Big).\] So the battle of a single letter \(k\) with a large counter is at least the Hardy function of its own ordinal \(\mathrm{ord}((k))=\tau_{k+1}\), with the argument divided by \(4(k+1)\). No tower level is lost. \item \textbf{Corollary 6.21 (LEMMA G*).} For every \(m\ge1\), with \(j=\max(m,3)\): \(\Phi_{(j)}(z)\ge H_{\tau_m}(z)\) for all large \(z\). \item \textbf{Corollary 6.22 (LEMMA G).} For every \(\beta<\varepsilon_0\): \(\Psi(k)\ge H_\beta(k+1)\) for all large \(k\). Moreover \(\Psi(k)\ge H_{\tau_{\lfloor k/2\rfloor}}(k)\) for all large \(k\). \end{itemize} \textbf{How the proof goes.} \begin{enumerate} \def\labelenumi{\arabic{enumi}.} \tightlist \item \emph{Normal forms (§§6.2--6.5).} A worm is in normal form (NF) if no term of its ordinal is absorbed, at any level. Every ordinal below \(\varepsilon_0\) has exactly one NF worm, and no worm with that ordinal is smaller (Lemma 6.4). On NF worms the ordinal order is the lexicographic order (Lemma 6.7). Every battle stays inside NF (Lemma 6.9). On NF worms, the candidate \(C_n(Y)\) is the \textbf{size-greedy predecessor} of \(Y\): among all ordinals below \(o(Y)\) that have a worm of size at most \(\mathrm{size}(Y)+n\), it has the largest one (Proposition 6.12). \item \emph{Battles are optimal plays (§6.6).} Call a strictly decreasing sequence of ordinals a \emph{play} if its \(i\)-th term has a worm of size at most (start size)\(+i\). The total size of the list of \(R\) grows by at least one per step, and by Proposition 6.12 the battle always takes the largest ordinal allowed. So no play outlasts the battle (Theorem 6.14). This is a comparison principle between the battle and arbitrary descents: to bound \(\Phi\) from below, it is enough to exhibit \textbf{one} long play, and plays may use Buchholz--Wainer fundamental sequences freely. \item \emph{A Hardy bound for plays (§§6.7--6.8).} From \((\alpha,t)\) with \(t\ge 8\|\alpha\|^2+1000\), where \(\|\alpha\|\) is the size of the NF worm of \(\alpha\), some play from \((\alpha,t)\) ends at a time \(\ge H_\alpha(\lfloor t/(8\|\alpha\|)\rfloor)\) (Theorem 6.19). The proof is a transfinite induction. At a limit \(\lambda\) the play moves to \(\lambda[y]+\omega^2\) with \(y=\lfloor t/(8\|\lambda\|)\rfloor\). It burns the summand \(\omega^2\) first, which raises the available time exponentially, and then continues from \(\lambda[y]\) with ample time. \end{enumerate} \textbf{The key new idea, in brief.} The counter of \(R\) is reset at every step, but the \emph{total size} of the list is never reset: it grows by \(z+1\) at a step with counter \(z\), and the next candidate is the largest ordinal that fits in that size. So a battle is a ``budgeted'' ordinal descent, with budget equal to elapsed time, that is greedy. The greedy descent is the longest descent under that budget. A slowed-down Hardy descent fits under the same budget once a cheap summand \(\omega^2\) is spent at each limit step to regenerate time. \subsubsection{6.1 The statement, and two reductions}\label{the-statement-and-two-reductions} \textbf{LEMMA G.} For every \(\beta<\varepsilon_0\) there is \(K\) such that \(\Psi(k)\ge H_\beta(k+1)\) for all \(k\ge K\). (Here \(H_\beta\) is the Buchholz--Wainer Hardy function, §A.3.) This is the only ingredient of Theorems 2 and 3 (§§7--8) beyond §§2--5. It reduces to a statement about the battle functions \(z\mapsto\Phi_{(j)}(z)\) of the one-letter worms \((j)\) with a \emph{large} counter \(z\): \textbf{LEMMA G*.} For every \(m\ge1\) there is \(j\ge1\) such that \(\Phi_{(j)}(z)\ge H_{\tau_m}(z)\) for all sufficiently large \(z\). \textbf{Proposition 6.1.} LEMMA G* implies LEMMA G. \emph{Proof.} Let \(\beta<\varepsilon_0\). By (F6) there is \(m\) with \(\beta<\tau_m\). Let \(j\) be given by LEMMA G* for \(m+1\), and \(z_0\) such that \(\Phi_{(j)}(z)\ge H_{\tau_{m+1}}(z)\) for \(z\ge z_0\). For \(k>j\), Corollary 5.3(c) with \(P=\varnothing\), \(v=j\), \(y=0\) and \(k-j\) doublings (the parameter called \(m\) there) gives \[\Psi(k)=\Phi_{(k)}(0)\ \ge\ \Phi_{(j)}(Z_k),\qquad Z_k:=2^{k-j+1}-2 .\] Take \(K\) so large that for \(k\ge K\): \(Z_k\ge z_0\), \(Z_k\ge k+1\) and \(Z_k\ge N(\beta)\). Then for \(k\ge K\): \(\Phi_{(j)}(Z_k)\ge H_{\tau_{m+1}}(Z_k)\); next \(H_{\tau_{m+1}}(Z_k)\ge H_\beta(Z_k)\) by Corollary A.11, since \(\beta<\tau_m<\tau_{m+1}\) and \(N(\beta)\le Z_k\); and \(H_\beta(Z_k)\ge H_\beta(k+1)\) by Lemma A.6. \(\square\) \textbf{Proposition 6.2.} Let \(2\uparrow\uparrow0=1\), \(2\uparrow\uparrow(i+1)=2^{2\uparrow\uparrow i}\) and \(\log^*x=\min\{i:2\uparrow\uparrow i\ge x\}\). Suppose \(\Psi(k)\ge H_{\tau_{f(k)}}(2)\) for all large \(k\), where \(f(k)\ge\log^*(k+1)+3\). Then LEMMA G holds. \emph{Proof.} Put \(a_s=H_{\tau_s}(2)\). For \(s\ge2\), \(\tau_s\cdot2=\tau_s+\tau_s\) is a normal sum of norm \(2\) and \(\tau_s\cdot2<\tau_{s+1}\). So Corollary A.11 and Lemma A.8(a) give \(a_{s+1}\ge H_{\tau_s\cdot2}(2)=H_{\tau_s}(a_s)\). Next, \(a_2=H_\omega(2)=5\) and \(a_3\ge H_\omega(5)=11\). For \(s\ge3\) we have \(\omega^2<\tau_s\) and \(N(\omega^2)=2\le a_s\), so \(a_{s+1}\ge H_{\tau_s}(a_s)\ge H_{\omega^2}(a_s)=2^{a_s+1}(a_s+1)-1\ge2^{a_s}\) (Corollary A.11 again, and Lemma A.8(b) with \(F_2(x)=2^{x+1}(x+1)-1\)). Hence \(a_s\ge2\uparrow\uparrow(s-1)\) for \(s\ge3\). Let \(\beta<\tau_m\). For \(k\) so large that \(f(k)-1\ge\max(m,3)\) and \(N(\beta)\le k+1\): \[\Psi(k)\ge a_{f(k)}\ge H_{\tau_{f(k)-1}}(a_{f(k)-1})\ge H_{\tau_{f(k)-1}}(k+1)\ge H_\beta(k+1).\] The third inequality uses \(a_{f(k)-1}\ge2\uparrow\uparrow(f(k)-2)\ge k+1\) and Lemma A.6. The last uses Corollary A.11 with \(\beta<\tau_m\le\tau_{f(k)-1}\). \(\square\) LEMMA G* is proved in Corollary 6.21, and the hypothesis of Proposition 6.2 (with \(f(k)=\lfloor k/2\rfloor\)) in Corollary 6.22. Either route gives LEMMA G. \subsubsection{6.2 Normal-form worms}\label{normal-form-worms} Throughout, worms, blocks, \(\theta\), \(o\) and \(\mathrm{ord}\) are as in §4.1. Every worm is uniquely \(W=A_0\,0\,A_1\,0\cdots0\,A_m\) with zero-free (possibly empty) blocks \(A_i\); \(o(W)=[A_0\neq\varnothing]\,\omega^{\theta(A_0)}+\omega^{\theta(A_1)}+\dots+\omega^{\theta(A_m)}\) (left-to-right ordinal sum), and \(\theta(A)=o(A-1)\) for nonempty zero-free \(A\), \(\theta(\varnothing)=0\). From Lemma 4.0 we use: (i) \(o(W0)=o(W)+1\); (ii) \(o(A0Y)=o(A)+\mathrm{ord}(Y)\); (iv) for zero-free nonempty \(A\), \(o(A)=\mathrm{ord}(A)=\omega^{\theta(A)}\) with \(\theta(A)\ge1\). Recall \(\mathrm{ord}(U)=\sum_{\text{blocks }B\text{ of }U}\omega^{\theta(B)}\), all blocks counted. From Lemmas 4.1, 4.2 and 4.4 we use: appending a letter strictly raises \(o\); lowering the last letter strictly lowers \(o\); \(o(C_n(Y))i\). The non-absorbed terms, in order, form the Cantor normal form (CNF) of the sum. (Proof: if some term is absorbed, let \(i\) be the largest absorbed index. The terms after \(i\) are not absorbed, so their exponents are non-increasing, and \(e_ii\) that absorbs \(i\). The standard identity \(\omega^a+\omega^b=\omega^b\) for \(a\gamma\). Also \(o(Y[k])\gamma\). Otherwise \(\gamma=o(Y_0)+\gamma''\) with \(\gamma''<\mathrm{ord}(A)\) (resp. \(\gamma''=\gamma\)), and it suffices to find \(k\) with \(\mathrm{ord}(A[k])>\gamma''\). \emph{Case \(A=D1\).} \(A[k]=(D0)^{k+1}\), so \(\mathrm{ord}(A[k])=\omega^{\theta(D)}\cdot(k+1)+1\). This is \(k+2\) if \(D=\varnothing\). Also \(\mathrm{ord}(A)=\omega^{\theta(D)+1}\). Every \(\gamma''<\omega^{\theta(D)+1}\) is \(<\omega^{\theta(D)}\cdot(k+1)\) for some \(k\). \emph{Case \(A=Dc\), \(c\ge2\).} By Lemma 3.4, as in the proof of Lemma 6.9(a), \(A[k]\) is zero-free and nonempty with \(A[k]-1=(A-1)[k]\), so \(\mathrm{ord}(A[k])=\omega^{o((A-1)[k])}\), and \(\mathrm{ord}(A)=\omega^{\theta(A)}\) with \(\theta(A)=o(A-1)\). Since \(A-1\) is stripped, its last CNF term has a positive exponent, so \(\theta(A)\) is a limit. Let \(\gamma''<\omega^{\theta(A)}\) have leading exponent \(g\) (or \(\gamma''=0\)). Then \(g<\theta(A)\), so \(g+1<\theta(A)\). By the induction hypothesis for \(A-1\) (smaller largest letter) there is \(k\) with \(o((A-1)[k])>g+1\), and then \(\mathrm{ord}(A[k])\ge\omega^{g+1}>\gamma''\). \(\square\) \subsubsection{6.5 The greedy property of the candidates}\label{the-greedy-property-of-the-candidates} \textbf{Lemma 6.11 (the expansion is the largest normal continuation).} Let \(Y\) be NF and stripped, \(B=B(Y)\), and let \(Z\) be a worm such that \(Y^-Z\) is NF. Then \(Z\le_{\rm lex}B^\infty\). That is, either \(Z\) is a prefix of the infinite word \(B^\infty=BBB\cdots\), or at the first index \(l\) with \(z_l\neq(B^\infty)_l\) we have \(z_l<(B^\infty)_l\). \emph{Proof.} Suppose not. Then there is \(i\le|Z|\) with \(z_l=(B^\infty)_l\) for \(l(B^\infty)_i\). Put \(V:=Y^-z_1\cdots z_i\), a prefix of the NF worm \(Y^-Z\), hence NF (Lemma 6.8). For every \(k\) with \(k|B|\ge i\), the NF worm \(Y[k]=Y^-B^k\) (Lemma 6.9(a)) agrees with \(V\) before position \(|Y^-|+i\) and has the smaller letter \((B^\infty)_i\) there. So \(Y[k]<_{\rm lex}V\), and \(o(Y[k])\delta_1>\dots>\delta_L=0\qquad\text{with}\qquad\|\delta_i\|\le t+i\ \ (0\le i\le L).\] Think of \(t+i\) as the time at which \(\delta_i\) is reached. The play ends at time \(t+L\). Let \(E(\alpha,t)\) be the largest end time of a play from \((\alpha,t)\). Plays exist: for example \(\alpha=\delta_0>\delta_1=0\) if \(\alpha>0\), and \((\delta_0)=(0)\) if \(\alpha=0\). The plays from \((\alpha,t)\) form a tree under extension. It is finitely branching, since \(\delta_i\) is one of the finitely many ordinals of worm norm \(\le t+i\), and it has no infinite branch, since a strictly decreasing sequence of ordinals is finite. So by König's lemma there are finitely many plays, and \(E(\alpha,t)\) is well defined. For a real number \(s\ge\|\alpha\|\) we put \(E(\alpha,s):=E(\alpha,\lfloor s\rfloor)\); this is defined, since \(\|\alpha\|\) is an integer. \textbf{Theorem 6.14 (no play outlasts the battle).} Let \(Y\) be NF and either empty or stripped, let \(z\ge0\), and put \(S:=\mathrm{size}(Y)+z\) (so \(\|o(Y)+z\|=S\), since \(Y0^z\) is NF). Then every play from \((o(Y)+z,\,S)\) ends at a time \(\le2\Phi_Y(z)\), and some play ends exactly at \(2\Phi_Y(z)\). That is, \[E\big(o(Y)+z,\ \mathrm{size}(Y)+z\big)=2\,\Phi_Y(z).\] \emph{Proof.} \emph{The run.} Let \([1,0]+W_0,\dots,[1,0]+W_T\) be the run from \(\langle Y,z\rangle\) up to its first all-zero list (finite by Theorem 1). So \(W_0=Y0^z\), \(W_T=0^m\) with \(m=\Phi_Y(z)\) (Definition 4.5), and \(W_i\) is not all zero for \(i\dots>\delta_L=0\) be a play from \((o(Y)+z,S)\), and put \(\delta'_\tau:=\delta_{\tau-S}\) for \(S\le\tau\le S+L\). So \(\|\delta'_\tau\|\le\tau\), and \(\delta'_S=o(Y)+z=\rho_S\). We show \(\delta'_\tau\le\rho_\tau\) for \(S\le\tau\le\min(S+L,2m)\), by induction on \(\tau\). If \(\delta'_\tau\le\rho_\tau\) and \(\tau<\min(S+L,2m)\), then \(\delta'_{\tau+1}<\delta'_\tau\le\rho_\tau\) and \(\|\delta'_{\tau+1}\|\le\tau+1\), so \(\delta'_{\tau+1}\le\rho_{\tau+1}\) by (6.4). Now suppose \(S+L>2m\). Then \(\delta'_{2m}\le\rho_{2m}=0\), but \(\delta'_{2m}>\delta'_{S+L}=0\) because the play is strictly decreasing and \(2m\dots>\zeta_L=0\) from \((\zeta,t_\zeta)\) with \(t_\zeta+L=E(\zeta,t_\zeta)\). Consider \(\rho+\zeta_0>\rho+\zeta_1>\dots>\rho+\zeta_L=\rho\), with \(\rho+\zeta_i\) at time \(t+i\). For \(i\ H_{\tau_m}(z+1)\ >\ H_{\tau_m}(z).\] For \(m\in\{1,2\}\) take \(j=3\). For large \(z\) we get \(\Phi_{(3)}(z)\ge H_{\tau_3}(z)\ge H_{\tau_m}(z)\), by the case \(m=3\) and Corollary A.11 (\(\tau_m<\tau_3\), \(N(\tau_m)\le1\le z\)). \(\square\) \textbf{Corollary 6.22 (LEMMA G).} For every \(\beta<\varepsilon_0\) there is \(K\) with \(\Psi(k)\ge H_\beta(k+1)\) for all \(k\ge K\). Moreover, \(\Psi(k)\ge H_{\tau_{\lfloor k/2\rfloor}}(k)\) for all sufficiently large \(k\). \emph{Proof.} The first statement follows from Corollary 6.21 and Proposition 6.1. For the second, let \(k\) be large and \(j:=\lfloor k/2\rfloor\ge3\). By Corollary 5.3(c), \(\Psi(k)\ge\Phi_{(j)}(Z)\) with \(Z:=2^{k-j+1}-2\ge2^{k/2}\). For large \(k\), \(2Z+j+1\ge8(j+1)^2+1000\), and \(u:=\lfloor(2Z+j+1)/(8(j+1))\rfloor\ge k+1\). Theorem 6.20 then gives \(\Psi(k)\ge\frac12H_{\tau_{j+1}}(u)\ge\frac12H_{\tau_{j+1}}(k+1)\). Next, \(H_{\tau_{j+1}}(k+1)\ge H_{\tau_j\cdot2}(k+1)=H_{\tau_j}(H_{\tau_j}(k+1))\ge2H_{\tau_j}(k+1)+1\). Here the first step is Corollary A.11 (\(\tau_j\cdot2<\tau_{j+1}\), and \(N(\tau_j\cdot2)=2\le k+1\)), the equality is Lemma A.8(a) for the normal sum \(\tau_j+\tau_j\), and the last step is \(H_{\tau_j}(w)\ge H_\omega(w)=2w+1\) for \(w\ge1\) (Corollary A.11, as in the proof of Corollary 6.21). So \(\Psi(k)\ge\frac12\big(2H_{\tau_j}(k+1)+1\big)>H_{\tau_j}(k+1)\ge H_{\tau_j}(k)\). \(\square\) The second statement is the hypothesis of Proposition 6.2 with \(f(k)=\lfloor k/2\rfloor\), so it also gives LEMMA G directly. Since \(\mathrm{ord}((k))=\tau_{k+1}\), a battle from \((k)\) keeps, at counter \(0\), about half of its tower of omegas. By Theorem 6.20, at a large counter it keeps all of it. \subsubsection{6.10 Remarks: why a direct simulation fails, and how this section avoids it}\label{remarks-why-a-direct-simulation-fails-and-how-this-section-avoids-it} Three features of \(R\) block a step-by-step comparison of a battle with a Buchholz--Wainer descent, of the kind that works for the Kirby--Paris hydra battle. \begin{itemize} \tightlist \item \emph{(a) The step is not a Buchholz--Wainer step.} For stripped \(Y\), the expansion \(Y[j]\) (Lemma 3.1(e)) is candidate number \(jW(Y)-1\). Here \(W(Y)=\mathrm{size}(B(Y))\) is the \emph{width} of the periodic part. So with counter \(z\) the process reaches only about \(2z/W(Y)\) copies of \(B(Y)\), and when \(W(Y)>2z+2\) it takes a partial copy. That copy can lie below \(\mathrm{ord}(Y)[1]\). For example, from \(\langle(7),2\rangle\) (ordinal \(\tau_8+2\)) the step goes to \(C_5((7))=(6,5)\), and \(\tau_8[0]<\mathrm{ord}((6,5))<\tau_8[1]\) (computed with \texttt{ordw.py}, §9). \item \emph{(b) The counter is reset.} The next counter is the number of trailing zeros of the chosen candidate, unrelated to \(z\). So the process offers no invariant of the form ``counter \(\ge\) (a function of the Buchholz--Wainer argument)''. \item \emph{(c) The counter is rebuilt by sub-battles.} After a wide step, the partial copy fights a sub-battle of its own, which returns a counter far larger than the width. For instance \(\Phi_{P1}(z)=\Phi_P\big(1+\Phi_{T_{2z+1}(P)}(0)\big)\) (Lemma 3.3 and Corollary 4.6). \end{itemize} This section never follows the battle step by step. \begin{itemize} \tightlist \item Proposition 6.12 shows that the candidate \(C_{2z+1}(Y)\) is the best ordinal the size budget allows. Theorem 6.14 then compares the battle with \emph{every} budgeted descent at once. \item The lower bound follows a Buchholz--Wainer descent with index \(y=\lfloor t/(8\|\lambda\|)\rfloor\) (Theorem 6.19). The width shows up only as the division by \(\|\lambda\|\), through Lemma 6.5(v). \item The budget is the total size \(t\), which is never reset; it grows by \(z+1\ge1\) per step (Lemma 3.1(c)). \item The rebuilding by sub-battles corresponds to the regeneration move in case 3c of Theorem 6.19, which spends a cheap summand \(\omega^2\) first. \end{itemize} The one-step comparison \(\Phi_Y(z)\ge H_{\mathrm{ord}(Y)[0]}(z)\), for all stripped \(Y\) and all \(z\), holds in all small cases computed (§9), but it is neither proved nor needed. Theorem 6.19 needs a large time \(t\ge8\|\alpha\|^2+1000\), and Corollary 6.22 shows that from counter \(0\) a single-letter battle keeps at least \(\lfloor k/2\rfloor\) of its \(k+1\) tower levels. Racheline's informal description of the hierarchy computed by \(M_{51}\) (\(h_{\lim}(n)=h_{\lim[n]}(c_2)\), ``comparable to \(f_{\varepsilon_0}\)'') is not used anywhere in this document. It cannot be taken literally, since the process does not apply \(\lim[n]\) with \(n\) the counter (remark (a)). Its conclusion, growth at every level below \(\varepsilon_0\), is confirmed by Theorem 6.20. \subsubsection{6.11 Numerical checks of this section (not part of any proof)}\label{numerical-checks-of-this-section-not-part-of-any-proof} Scripts and outputs are in the folder \texttt{lemmaG\_work/} of \texttt{checks51.tar.gz} (see also §9). They use \texttt{ordw.py}, \texttt{r51.py} and \texttt{hardy.py} from \texttt{u51\_lemmaG/}. ``Tight'' means a worm of minimal size for its ordinal. \begin{itemize} \tightlist \item \texttt{nfchecks.py} (\texttt{nfchecks.out}). Definition 6.3 agrees with tightness on all 16384 worms of size \(\le14\). Lemma 6.6 holds: 7641 checks. Lemma 6.11 holds: 4645 checks. No failures. \item \texttt{lexorder.py} (\texttt{lexorder.out}), all worms of size \(\le16\). Each ordinal has exactly one tight worm. Tight worms are closed under prefixes. On tight worms the ordinal order is the lexicographic order: 3415 adjacent pairs checked. No failures. \item \texttt{claimA2.py} (\texttt{claimA2\_S19.out}) and \texttt{claimAj.py} (\texttt{claimAj.out}). Proposition 6.12 holds on every tight stripped worm of size \(\le18\) and every candidate of size \(\le19\): 11359 checks. All candidates are tight. The analogous greedy statement with the norms \(\nu_j\) (\(j\le3\)) in place of size also holds: 6070 checks. It is not used in the proofs. No failures. \item \texttt{normcheck.py} (\texttt{normcheck.out}). Lemma 6.4(a),(b) and the fundamental-sequence norm bound Lemma 6.5(v) (for \(y\le4\), \(j\le2\)) hold on 1762 ordinals. No failures. \item \texttt{battle\_nf.py} (\texttt{battle\_nf.out}). Lemma 6.9(c),(d) along actual runs of \texttt{ref51.step}: the run of \(R\) from \([1,0]\) (until the list is longer than 300), the runs from \(\langle(k),z\rangle\) for \(k\le6\), \(z\le7\), and 600 runs from random NF worms with random counters. In total 39358 steps are checked, including 63 beeps with their restarts. Every list is \([1,0]+X\) with \(X\) NF. At each non-beep step the size grows as in Lemma 3.1(c) and the ordinal drops. No failures. \item \texttt{brute\_E2.py} (\texttt{brute\_E2.out}). Theorem 6.14 by exhaustive search, for 26 small NF states, among them \(\langle(1),z\rangle\) for \(z\le11\), \(\langle(1,1),z\rangle\) for \(z\le4\), \(\langle(2),0\rangle\) and \(\langle(1,1,1),0\rangle\). Put \(N:=2\Phi_Y(z)+1\). The script computes exactly, by dynamic programming over \emph{all} ordinals below \(o(Y)+z\) of norm \(\le N\) (up to 74994 of them), the largest end time \(E_N\) of a play that uses only such ordinals and ends by time \(N\). If \(E_N\le N-1\), then \(E=E_N\). (A play ending at \(T\le N\) is counted; a play ending later can be cut at time \(N-1\) and sent to \(0\), which would give \(E_N\ge N\).) In every case \(E_N=2\Phi_Y(z)\), with \(\Phi\) from \texttt{phis.py}. So the identity \(E(o(Y)+z,\mathrm{size}(Y)+z)=2\Phi_Y(z)\) is verified exactly for these states. The older \texttt{brute\_E.py} (\texttt{brute\_E.out}) enumerated only ordinals of norm \(\le24\), so for its larger states it checked only the attainment half. \item \texttt{monocheck.py} (\texttt{monocheck.out}). Corollary 6.16 holds on all 649 comparable pairs of computable states. \end{itemize} The values of \(\Phi\) are far too large for Theorems 6.19--6.20 to be tested directly. The checks above test the combinatorial lemmas on which they rest. \begin{center}\rule{0.5\linewidth}{0.5pt}\end{center} \subsection{\texorpdfstring{7. Theorem 2: unprovability for \(R\)}{7. Theorem 2: unprovability for R}}\label{theorem-2-unprovability-for-r} The classification theorem enters as follows. Theorem A.13 (Wainer 1970; Buchholz--Wainer 1987, Theorem 5) says that every function provably computable in PA, in the sense of Definition A.12, is majorised by \(F_{\alpha+1}=H_{\omega^{\alpha+1}}\) for some \(\alpha<\varepsilon_0\) (Lemma A.8(b)). Lemma A.14 turns a \(\Pi_2\) theorem \(\forall x\,\exists y\,\theta(x,y)\) of first-order PA with \(\theta\in\Delta_0\) into such a function, \(x\mapsto\) least \(y\) with \(\theta(x,y)\). In Lemma A.14, Buchholz--Wainer's axiom group (f) is read as the defining equations of each elementary \emph{definition}, so bounded sums and products come with their recursion equations (see the proof of Lemma A.14). \textbf{Theorem 2.} \begin{itemize} \tightlist \item \begin{enumerate} \def\labelenumi{(\alph{enumi})} \tightlist \item For every function \(f\) provably computable in PA: \(f(j)H_\beta(k_j+2)\ge H_\beta(j+2)>H_\beta(j+1)>H_\beta(j)\ge f(j),\] using Lemma A.6. And by Corollary 2.3, \(\tau_q(j+2)>k_{j+1}>H_\beta(j+2)\ge f(j+2)\) for large \(j\). \begin{enumerate} \def\labelenumi{(\alph{enumi})} \setcounter{enumi}{1} \tightlist \item Suppose PA \(\vdash\mathsf{Inf}_R\), i.e.~PA \(\vdash\forall j\,\exists w\,\theta_R(j,w)\) with \(\theta_R\in\Delta_0\) (§2.4). By Lemma A.14, \(g(j):=\) least \(w\) with \(\theta_R(j,w)\) is provably computable in PA. By (R1), \(g(j)\ge k_j+1>k_j\) for \(j\ge2\). So \(g(j+1)>k_{j+1}\) for all \(j\ge1\). This contradicts (a) applied to \(f(j):=g(j+1)\), which is provably computable, being \(g\) composed with the successor function. \(\square\) \end{enumerate} \emph{Remarks.} \begin{enumerate} \def\labelenumi{\arabic{enumi}.} \tightlist \item For each fixed \(j\), PA proves ``\(R\) has a \(j\)-th beep'', since it is a true \(\Sigma_1\) sentence. \item For each fixed height \(h\), the battles from worms with letters \(\le h\) involve only ordinals \(<\tau_{h+2}\) (Lemma 4.0(v)). So PA proves that they terminate, since PA proves transfinite induction below each fixed \(\alpha<\varepsilon_0\) (a classical theorem of Gentzen; this remark is not used in any proof). The unprovability comes entirely from the unbounded starting letters \(k_j\). \item Theorem 1 does not depend on §6. \item From §6, the proof of Theorem 2 uses only Corollary 6.22 (LEMMA G). \end{enumerate} \begin{center}\rule{0.5\linewidth}{0.5pt}\end{center} \subsection{\texorpdfstring{8. Theorem 3: the machine \(M_{51}\)}{8. Theorem 3: the machine M\_\{51\}}}\label{theorem-3-the-machine-m_51} \textbf{Theorem 3.} \begin{enumerate} \def\labelenumi{\arabic{enumi}.} \tightlist \item \(\neg\mathsf{QH}\) is true: \(M_{51}\) (started in state 30 on the blank tape) enters state 50 infinitely often. \item PA \(\nvdash\mathsf{QH}\). \item PA \(\nvdash\neg\mathsf{QH}\). So whether \(M_{51}\) quasihalts is independent of PA. \end{enumerate} The only input about \(M_{51}\) is the machine-checked statement \texttt{M51\_run30} of §2.3 (with \texttt{Steps\_run}), through (Sim1), (Sim2) and Corollary 2.3. Only its truth is used. The same holds for the start-31 run, with \texttt{M51\_run\_fun} in place of \texttt{M51\_run30}. \emph{Proof.} (1) Theorem 1 and (Sim2). (2) PA is sound and \(\mathsf{QH}\) is false by (1); only soundness for \(\Sigma_2\) sentences is used. (3) Suppose PA \(\vdash\neg\mathsf{QH}\). By Lemma 2.4, PA \(\vdash\forall k\,\exists w\,\theta_M(k,w)\) with the \(\Delta_0\) formula \(\theta_M(k,w):\equiv(k=0\wedge w=0)\vee\mathrm{Run}_M(k,w)\). By Lemma A.14, \(g_M(k):=\) least \(w\) with \(\theta_M(k,w)\) is provably computable in PA. By (R2), \(g_M(k)\ge\tau_{30}(k)\) for \(k\ge1\). By Theorem 2(a) applied to \(g_M\), \(g_M(i)<\tau_{30}(i)\) for all large \(i\), a contradiction. \(\square\) \textbf{Corollary 8.1 (Beeping Busy Beaver).} Formalize ``\(\mathrm{BBB}(n)\le N\)'' following Aaronson ({[}Aa{]} §5.10): every \(n\)-state, 2-symbol machine that beeps only finitely often does not beep after step \(N\). Then for every \(n\ge51\) and every \(N\in\mathbb N\), PA \(\nvdash\) ``\(\mathrm{BBB}(n)\le N\)''. \emph{Proof.} Let \(M_n\) be \(M_{51}\) with \(n-51\) unreachable states added. PA proves, by induction on \(t\), that a run code of \(M_n\) of length \(t\) exists iff one of \(M_{51}\) of length \(t\) exists, and that the two then describe the same configurations (the added states are never entered). This needs no assumption that either machine runs forever. Hence PA proves \(\mathsf{QH}_{M_n}\leftrightarrow\mathsf{QH}\). Suppose PA \(\vdash\) ``\(\mathrm{BBB}(n)\le N\)''. Then PA \(\vdash\mathsf{QH}_{M_n}\to\) ``\(M_n\) does not beep after step \(N\)''. But ``\(M_n\) beeps at some step \(>N\)'' is a true \(\Sigma_1\) sentence, by Theorem 3(1), so PA proves it (\(\Sigma_1\) completeness of PA: every true \(\Sigma_1\) sentence is provable). Hence PA \(\vdash\neg\mathsf{QH}_{M_n}\), so PA \(\vdash\neg\mathsf{QH}\), contradicting Theorem 3(3). Aaronson counts a beep on \emph{exiting} the beep state; §2.4 counts entries. This makes no difference: PA proves that a machine has finitely many exits from state 50 iff it has finitely many entries. Each exit is preceded by an entry, and each entry is followed by an exit unless the machine halts there, which happens at most once (and \(M_{51}\) never halts). \(\square\) \emph{Remark (halting versus quasihalting).} Theorem 3 is an independence result for a \(\Sigma_2\) property, quasihalting. It does \textbf{not} give a machine whose ordinary \emph{halting} is independent of PA. Halting is \(\Sigma_1\), and PA proves every true \(\Sigma_1\) sentence, so an independent halting question must concern a machine that in fact runs forever, with a true but unprovable \(\Pi_1\) sentence ``it never halts''. The \(\Pi_2\) sentence \(\mathsf{Inf}_R\) is not of that form. \begin{center}\rule{0.5\linewidth}{0.5pt}\end{center} \subsection{9. Numerical checks (not part of any proof)}\label{numerical-checks-not-part-of-any-proof} All scripts are in \texttt{checks51.tar.gz}. Those for §§3--5 are in its folder \texttt{u51\_lemmaG/}. Those for §6 are in \texttt{lemmaG\_work/} and are listed in §6.11. They were run with \texttt{nice} and memory limits. Outputs are saved next to them (\texttt{*.out}). \begin{itemize} \tightlist \item \texttt{r51.py}. The arithmetic candidate formula agrees with \texttt{ref51.cand} on 3000 random cases. The recursive evaluation of \(\Phi\) (composition law, last-block expansion) agrees with direct simulation of \texttt{ref51.step} on 214 random small cases. Also \(\Phi_{(1)}(z)=2z+3\) for \(z\le5\), \(\Psi(1)=3\) and \(\Psi(2)=11\). \item \texttt{check\_basic.py}, on worms with letters \(\le5\) and length \(\le7\) and candidates \(n\le24\). Lemma 4.4 (both \(\mathrm{ord}\) and \(o\) decrease): 14600 checks. Lemma 4.2: 584. Lemma 3.1(b),(c): 14600 each. Lemma 3.4: 6840 lifted candidates. Lemma 5.1: 151. (M): 122. (D): 126. (I): 969. No failures. \item \texttt{mono.py}. Further monotonicity checks, including two that are \textbf{not} used or proved here: letterwise monotonicity (raising any letter does not decrease \(\Phi\); 291 checks) and prefix monotonicity (195 checks). No failures. \item \texttt{ordw.py}, a direct implementation of §4.1. It gives \(\mathrm{ord}((k))=\tau_{k+1}\) for \(k\le4\), \(\mathrm{ord}((k-1)^{j+1})=\tau_{k+1}[j]\) for \(2\le k\le6\) and \(j\le3\), and \(\tau_k[0]<\mathrm{ord}((k-2,v))<\tau_k[1]\) for \(1\le v\le k-3\) and \(k\le8\). The last two illustrate remark (a) of §6.10. \item \texttt{bek\_vs\_bw.py}. It compares the Beklemishev expansion with the Buchholz--Wainer fundamental sequence: \(\mathrm{ord}(Y[j])\ge\mathrm{ord}(Y)[j]\) for \(j\le3\) on 1255 stripped worms (letters \(\le5\), length \(\le7\)). That is 5020 checks, 1339 with equality, and no failure. This is not proved here and not used. \item Small values. \(\Phi_{(1,1)}(z)=11,19,35,59,91,155\) for \(z=0,\dots,5\), and \(\Phi_{(1,1,1)}(0)=91\), \(\Phi_{(1,1,1)}(1)=4091\). Compare \(H_{\omega^2}(z)=2^{z+1}(z+1)-1=1,7,23,63,159,383\). The naive bound \(\Phi_Y(z)\ge H_{\mathrm{ord}(Y)}(z)\) fails at \(Y=(1,1)\), \(z=3,4,5\), because of the width effect of §6.10(a). This is consistent with Theorem 6.19, which needs a time \(t\ge8\|\alpha\|^2+1000\) and divides the argument by \(8\|\alpha\|\). \item \texttt{conj\_c0.py}. \texttt{hardy.py} implements the capped Buchholz--Wainer \(H\) and \(F\), sanity-checked against the definition. On all 198 pairs \((Y,z)\) from a test family where both sides are below \(10^{40}\), the one-step comparison \(\Phi_Y(z)\ge H_{\mathrm{ord}(Y)[0]}(z)\) holds, and so does the stronger \(\Phi_Y(z)\ge H_{\mathrm{ord}(Y)[1]}(z)\). The fixed-argument bounds \(\Phi_Y(z)\ge H_{\mathrm{ord}(Y)}(1)\) and \(\Phi_Y(z)\ge H_{\mathrm{ord}(Y)}(2)\) fail (e.g.~\(Y=(1,1,1)\), \(z=0\): \(91<2047\)). None of these comparisons is used. \item \texttt{check\_height1.py}. It checks exact iteration laws for the worms \(1^M\) (\(M\le6\)) from an earlier approach to §6. They are not used here. \item The checks of §6 (\texttt{lemmaG\_work/}, details in §6.11): \begin{itemize} \tightlist \item normal form equals minimal size on all 16384 worms of size \(\le14\); \item Lemmas 6.6, 6.7 and 6.11; \item the greedy property, Proposition 6.12 (11359 checks); \item the norm formulas and the fundamental-sequence norm bound, Lemma 6.5(v); \item normal forms along 39358 steps of actual runs, including 63 restarts after beeps (Lemma 6.9); \item the identity \(E=2\Phi\) of Theorem 6.14, verified exactly by exhaustive search on 26 states; \item Corollary 6.16. \end{itemize} No failures. \item Rocq: \texttt{rocqchk} was re-run (§2.3), and \texttt{Machine51.v} was regenerated byte-identically from \texttt{beeper51.txt}. \end{itemize} \begin{center}\rule{0.5\linewidth}{0.5pt}\end{center} \subsection{10. Gaps and assumptions}\label{gaps-and-assumptions} \subsubsection{10.1 Dependencies}\label{dependencies} \begin{itemize} \tightlist \item \textbf{Appendix A}, all proved there except the cited classification theorem: \begin{itemize} \tightlist \item the standard ordinal facts (F1)--(F6); \item the Buchholz--Wainer fundamental sequences (Definition A.1, Lemma A.2); \item the Hardy and fast-growing functions, with Lemma A.6, Corollary A.7 and Lemma A.8; \item the gap lemma A.9, the norm lemma A.10 and Corollary A.11; \item the classification theorem A.13, which is Buchholz--Wainer 1987, Theorem 5 (cited, and checked against the source in §A.8); \item Lemma A.14, reading Buchholz--Wainer's axiom group (f) as the defining equations of each elementary \emph{definition}. \end{itemize} \item \textbf{Standard ordinal arithmetic and logic, in the metatheory.} \begin{itemize} \tightlist \item The identity \(\omega^a+\omega^b=\omega^b\) for \(a0\). \textbf{(F2) Comparison.} \(\alpha<\beta\) iff the exponent sequence of \(\alpha\) is lexicographically smaller than that of \(\beta\): exponents are compared recursively, and a proper initial segment counts as smaller. Also \(x\mapsto\omega^x\) is strictly increasing, and \(\omega^{\gamma}\cdot k<\omega^{\gamma+1}\) for every finite \(k\). \textbf{(F3) Normal sums.} Call \(\rho+\sigma\) \textbf{normal} if \(\rho=0\), or \(\sigma=0\), or the last exponent of \(\rho\) is \(\ge\) the first exponent of \(\sigma\). The CNF of a normal sum is the concatenation of the two CNFs. \textbf{(F4) Natural sum.} \(\alpha\oplus\beta\) is the ordinal whose CNF exponents are the multiset union of those of \(\alpha\) and \(\beta\), sorted in non-increasing order. It is commutative and associative, \(0\) is neutral, and it is \textbf{strictly increasing in each argument}. \emph{Proof of the monotonicity.} For an ordinal \(\gamma\) and an exponent value \(v\), let \(\mu_\gamma(v)\) be the number of CNF terms of \(\gamma\) equal to \(\omega^v\). By (F2), \(\beta<\beta'\) iff, at the largest \(v\) with \(\mu_\beta(v)\ne\mu_{\beta'}(v)\), we have \(\mu_\beta(v)<\mu_{\beta'}(v)\). Since \(\mu_{\alpha\oplus\beta}=\mu_\alpha+\mu_\beta\), the multiplicities of \(\alpha\oplus\beta\) and \(\alpha\oplus\beta'\) differ at exactly the same values \(v\) and in the same direction. \(\square\) If \(\alpha_1\ge\dots\ge\alpha_m\), then \(\omega^{\alpha_1}\oplus\dots\oplus\omega^{\alpha_m}=\omega^{\alpha_1}+\dots+\omega^{\alpha_m}\), the ordinary sum. \textbf{(F5) Norm.} Group equal exponents: \(\alpha=\omega^{\beta_1}k_1+\dots+\omega^{\beta_s}k_s\) with \(\beta_1>\dots>\beta_s\) and \(k_i\ge1\). Put \(N(0)=0\) and \(N(\alpha)=\max(k_1,\dots,k_s,N(\beta_1),\dots,N(\beta_s))\), ``the largest integer mentioned in the Cantor normal form'' (Caicedo 2007, Def. 2.3). Then \(N(\beta+1)\le N(\beta)+1\), and every exponent and every CNF tail of \(\alpha\) has norm \(\le N(\alpha)\). \textbf{(F6) Towers and cofinality.} Put \(\tau_0=0\) and \(\tau_{s+1}=\omega^{\tau_s}\), so \(\tau_1=1\), \(\tau_2=\omega\), \(\tau_3=\omega^\omega\), and so on. Then \(\tau_s<\tau_{s+1}\) and \(\varepsilon_0=\sup_s\tau_s\). Define the height \(\mathrm{ht}(0)=0\) and \(\mathrm{ht}(\alpha)=1+\mathrm{ht}(\alpha_1)\), where \(\alpha_1\) is the leading exponent. Then \(\alpha<\tau_{\mathrm{ht}(\alpha)+1}\). \emph{Proof.} By induction on height. The case \(0<\tau_1\) is clear. For \(\alpha>0\), \(\mathrm{ht}(\alpha_1)=\mathrm{ht}(\alpha)-1\), so \(\alpha_1<\tau_{\mathrm{ht}(\alpha)}\) by induction. Hence \(\alpha<\omega^{\alpha_1+1}\le\omega^{\tau_{\mathrm{ht}(\alpha)}}=\tau_{\mathrm{ht}(\alpha)+1}\). \(\square\) So \textbf{every \(\beta<\varepsilon_0\) lies below \(\tau_s\) for all sufficiently large \(s\).} \subsubsection{A.2 Fundamental sequences, in the Buchholz--Wainer convention}\label{a.2-fundamental-sequences-in-the-buchholzwainer-convention} \textbf{Definition A.1.} For \(\alpha<\varepsilon_0\) and \(n\in\mathbb N\), define \(\alpha[n]\) from the CNF of \(\alpha\). Write \(\alpha=\rho+\omega^{\delta}\), where \(\omega^\delta\) is the last CNF term and \(\rho\) the sum of the earlier terms. \[\alpha[n]=\begin{cases}0 & \alpha=0,\\ \rho & \delta=0\ \ (\alpha\text{ a successor}),\\ \rho+\omega^{\gamma}\cdot(n+1) & \delta=\gamma+1,\\ \rho+\omega^{\delta[n]} & \delta\text{ a limit}.\end{cases}\] This is the convention of Buchholz--Wainer (1987, p.~180). They write \(\alpha=\omega^{\beta_k}+\dots+\omega^{\beta_1}+\omega^{\beta_0}\) and, for limit \(\alpha\), set \(\alpha_n=\omega^{\beta_k}+\dots+\omega^{\beta_1}+\omega^{\gamma}(n+1)\) if \(\beta_0=\gamma+1\), and \(\alpha_n=\omega^{\beta_k}+\dots+\omega^{\beta_1}+\omega^{(\beta_0)_n}\) if \(\beta_0\) is a limit. Their example (p.~181): \emph{``ω is assigned the fundamental sequence 1 \textless{} 2 \textless{} 3 \textless{} \ldots{}''}, so \(\omega[n]=n+1\). BW define \(\alpha_n\) only for limits. Extending it by \((\rho+1)[n]=\rho\) and \(0[n]=0\) is how BW's descent relation (Definition 1, ``\(\gamma_{i+1}=\gamma_i-1\) if \(\gamma_i\) is a successor'') and their Hardy recursion treat successors. \textbf{This is the only convention used in this document.} \textbf{Lemma A.2.} Let \(\alpha,\sigma,\mu<\varepsilon_0\) and \(n\in\mathbb N\). \begin{itemize} \tightlist \item \begin{enumerate} \def\labelenumi{(\alph{enumi})} \tightlist \item If \(\alpha>0\) then \(\alpha[n]<\alpha\). \end{enumerate} \item \begin{enumerate} \def\labelenumi{(\alph{enumi})} \setcounter{enumi}{1} \tightlist \item If \(\sigma>0\) and \(\sigma[n]>0\), the leading exponent of \(\sigma[n]\) is at most the leading exponent of \(\sigma\). \end{enumerate} \item \begin{enumerate} \def\labelenumi{(\alph{enumi})} \setcounter{enumi}{2} \tightlist \item If \(\mu+\sigma\) is normal (F3) and \(\sigma>0\), then \((\mu+\sigma)[n]=\mu+\sigma[n]\), and \(\mu+\sigma[n]\) is again normal. \end{enumerate} \end{itemize} \emph{Proof.} (a) Induction on \(\alpha\). For a successor, \(\rho<\rho+1\). If \(\delta=\gamma+1\), then \(\omega^\gamma\cdot(n+1)<\omega^{\gamma+1}\) (F2), and left addition by \(\rho\) is strictly increasing. If \(\delta\) is a limit, then \(\delta<\omega^\delta\le\alpha\), so the induction hypothesis gives \(\delta[n]<\delta\), hence \(\omega^{\delta[n]}<\omega^\delta\). (b) If \(\sigma\) has at least two CNF terms, \(\sigma[n]\) changes only the last one, so the leading term is kept. If \(\sigma=\omega^\delta\) is a single term, \(\sigma[n]\) is \(0\), or \(\omega^\gamma\cdot(n+1)\) with \(\gamma<\delta\), or \(\omega^{\delta[n]}\) with \(\delta[n]<\delta\) by (a). (c) Write \(\sigma=\sigma'+\omega^\delta\) (last term). By (F3) the CNF of \(\mu+\sigma\) is that of \(\mu\) followed by that of \(\sigma\). So its last term is \(\omega^\delta\) and the rest is \(\mu+\sigma'\). Apply the definition to \(\mu+\sigma\) and to \(\sigma\), in the same one of the three nonzero cases: the result is \(\mu+\sigma'+(\text{same replacement})=\mu+\sigma[n]\). Normality of \(\mu+\sigma[n]\) follows from (b). \(\square\) \subsubsection{A.3 Hardy and fast-growing functions (Buchholz--Wainer 1987, p.~181)}\label{a.3-hardy-and-fast-growing-functions-buchholzwainer-1987-p.-181} \[H_0(x)=x,\qquad H_{\alpha+1}(x)=H_\alpha(x+1),\qquad H_\lambda(x)=H_{\lambda[x]}(x)\ \ (\lambda\text{ a limit}).\] \[F_0(x)=x+1,\qquad F_{\alpha+1}(x)=F_\alpha^{\,x+1}(x),\qquad F_\lambda(x)=F_{\lambda[x]}(x)\ \ (\lambda\text{ a limit}).\] Here \(F_\alpha^{\,x+1}\) is the \((x+1)\)-fold iterate. These are verbatim BW's definitions with their fundamental sequences \(\lambda_n=\lambda[n]\). They are well defined by transfinite recursion, since \(\lambda[x]<\lambda\) (Lemma A.2(a)). Examples: \(H_k(x)=x+k\) for finite \(k\), \(H_\omega(x)=H_{x+1}(x)=2x+1=F_1(x)\), and \(F_2(x)=2^{x+1}(x+1)-1\). \textbf{Reachability.} For \(y\in\mathbb N\) write \(\alpha\Rightarrow_y\beta\) if there is a chain \(\alpha=\gamma_0,\gamma_1,\dots,\gamma_r=\beta\) (\(r\ge0\)) with \(\gamma_i>0\) and \(\gamma_{i+1}=\gamma_i[y]\) for all \(i0\). This sequence strictly decreases, so some \(\sigma_r=0\). By Lemma A.2(c), applied repeatedly (each \(\mu+\sigma_i\) is again normal), the chain \(\mu+\sigma_0,\ \mu+\sigma_1,\dots,\mu+\sigma_r=\mu\) is a \(\Rightarrow_q\)-chain. \(\square\) \textbf{Lemma A.4 (exponent lifting).} If \(\rho+\omega^\beta\) is normal and \(\beta\Rightarrow_q\beta'\), then \(\rho+\omega^{\beta}\Rightarrow_q\rho+\omega^{\beta'}\). \emph{Proof.} It suffices to treat one step, \(\beta'=\beta[q]\) with \(\beta>0\). Every ordinal in the chain is \(\le\beta\), so each \(\rho+\omega^{\beta_i}\) stays normal; then compose the steps. If \(\beta\) is a limit, Definition A.1 gives \((\rho+\omega^\beta)[q]=\rho+\omega^{\beta[q]}\) in one step. If \(\beta=\gamma+1\), then \(\beta[q]=\gamma\), and the first step gives \((\rho+\omega^{\gamma+1})[q]=\rho+\omega^\gamma\cdot(q+1)\). For \(j=q,q-1,\dots,1\) the sum \(\rho+\omega^\gamma\cdot(j+1)=(\rho+\omega^\gamma\cdot j)+\omega^\gamma\) is normal, so Lemma A.3 gives \(\rho+\omega^\gamma\cdot(j+1)\Rightarrow_q\rho+\omega^\gamma\cdot j\). Chaining these ends at \(\rho+\omega^\gamma=\rho+\omega^{\beta[q]}\). \(\square\) \textbf{Lemma A.5 (consecutive terms of a fundamental sequence).} For every limit \(\lambda\) and all \(n,q\in\mathbb N\): \(\lambda[n+1]\Rightarrow_q\lambda[n]\). \emph{Proof.} Induction on \(\lambda\). Write \(\lambda=\rho+\omega^\delta\) with \(\delta>0\) (last term). \begin{itemize} \tightlist \item \(\delta=\gamma+1\). Then \(\lambda[n+1]=\rho+\omega^\gamma\cdot(n+2)=\big(\rho+\omega^\gamma\cdot(n+1)\big)+\omega^\gamma\), a normal sum. By Lemma A.3 it reaches \(\rho+\omega^\gamma\cdot(n+1)=\lambda[n]\). \item \(\delta\) a limit. Then \(\lambda[n+1]=\rho+\omega^{\delta[n+1]}\) and \(\lambda[n]=\rho+\omega^{\delta[n]}\), and both sums are normal, since \(\delta[n],\delta[n+1]<\delta\). As \(\delta<\lambda\), the induction hypothesis gives \(\delta[n+1]\Rightarrow_q\delta[n]\); apply Lemma A.4. \(\square\) \end{itemize} \subsubsection{A.5 Monotonicity of Hardy functions}\label{a.5-monotonicity-of-hardy-functions} \textbf{Lemma A.6 (strict monotonicity).} For every \(\alpha<\varepsilon_0\) and every \(x\): \(H_\alpha(x)0\). So \(H_{\alpha+\delta+1}(x)=H_{\alpha+\delta}(x+1)=H_\alpha(H_\delta(x+1))=H_\alpha(H_{\delta+1}(x))\). Limit: by Lemma A.2(c), \((\alpha+\gamma)[x]=\alpha+\gamma[x]\), again normal, so \(H_{\alpha+\gamma}(x)=H_{\alpha+\gamma[x]}(x)=H_\alpha(H_{\gamma[x]}(x))=H_\alpha(H_\gamma(x))\). (b) Induction on \(\alpha\). \(H_{\omega^0}(x)=H_1(x)=x+1=F_0(x)\). For \(\alpha=\beta+1\): \(\omega^{\beta+1}[x]=\omega^\beta\cdot(x+1)\), which is a normal sum of \(x+1\) copies of \(\omega^\beta\), so by (a) \(H_{\omega^{\beta+1}}(x)=H_{\omega^\beta}^{\,x+1}(x)=F_\beta^{\,x+1}(x)=F_{\beta+1}(x)\). For a limit \(\alpha\): \(\omega^\alpha[x]=\omega^{\alpha[x]}\), so \(H_{\omega^\alpha}(x)=H_{\omega^{\alpha[x]}}(x)=F_{\alpha[x]}(x)=F_\alpha(x)\). \(\square\) \subsubsection{A.7 The norm lemma, the classification theorem, and the bridge from first-order PA}\label{a.7-the-norm-lemma-the-classification-theorem-and-the-bridge-from-first-order-pa} Recall \(N(\cdot)\) from (F5). \textbf{Lemma A.9 (gap lemma).} If \(\lambda\) is a limit, \(\beta<\lambda\) and \(N(\beta)\le n\), then \(\beta<\lambda[n]\). \emph{Proof.} Induction on \(\lambda\). Write \(\lambda=\rho+\omega^\delta\), \(\delta>0\) (last term), so \(\lambda[n]=\rho+(\omega^\delta)[n]\) by Lemma A.2(c), with \((\omega^\delta)[n]\) defined by Definition A.1 for the single term \(\omega^\delta\). If \(\beta<\rho\), then \(\beta<\rho\le\lambda[n]\). Otherwise \(\rho\le\beta<\rho+\omega^\delta\). Compare CNFs (F2): the CNF of \(\beta\) must begin with the CNF of \(\rho\). At a first difference inside \(\rho\)'s terms, \(\beta\) would be either \(<\rho\) or \(>\lambda\). So \(\beta=\rho+\beta'\), where \(\beta'\) is the remaining CNF tail. Then \(\beta'<\omega^\delta\), so every exponent of \(\beta'\) is \(<\delta\), and \(N(\beta')\le N(\beta)\le n\). Left addition is strictly increasing, so it suffices to show \(\beta'<(\omega^\delta)[n]\). \begin{itemize} \tightlist \item \(\delta=\gamma+1\): \((\omega^\delta)[n]=\omega^\gamma\cdot(n+1)\). All exponents of \(\beta'\) are \(\le\gamma\), and the coefficient of \(\omega^\gamma\) in \(\beta'\) is some \(j\le N(\beta')\le n\) (possibly \(j=0\)). So \(\beta'=\omega^\gamma\cdot j+\beta''\) with \(\beta''<\omega^\gamma\), and \(\beta'<\omega^\gamma\cdot(j+1)\le\omega^\gamma\cdot(n+1)\). \item \(\delta\) a limit: \((\omega^\delta)[n]=\omega^{\delta[n]}\). If \(\beta'=0\) we are done. Otherwise its leading exponent \(\beta'_1\) satisfies \(\beta'_1<\delta\) and \(N(\beta'_1)\le n\). The induction hypothesis for the limit \(\delta<\lambda\) gives \(\beta'_1<\delta[n]\). Hence \(\beta'<\omega^{\beta'_1+1}\le\omega^{\delta[n]}\). \(\square\) \end{itemize} (This is where BW's convention \(\omega[n]=n+1\) matters: \(\beta=n\) has \(N(\beta)=n\) and \(n<\omega[n]\). In the convention \(\{\omega\}(n)=n\) the inequality would only be \(\le\).) \textbf{Lemma A.10 (norm lemma).} If \(\beta<\alpha<\varepsilon_0\) and \(N(\beta)\le n\), then \(\alpha\Rightarrow_n\beta\). \textbf{The threshold \(N(\beta)\) does not depend on \(\alpha\).} \emph{Proof.} Induction on \(\alpha\). If \(\alpha=\gamma+1\), then \(\alpha[n]=\gamma\ge\beta\). Either \(\gamma=\beta\) (one step), or \(\beta<\gamma\) and the induction hypothesis gives \(\gamma\Rightarrow_n\beta\). If \(\alpha\) is a limit, Lemma A.9 gives \(\beta<\alpha[n]<\alpha\); the induction hypothesis gives \(\alpha[n]\Rightarrow_n\beta\), so \(\alpha\Rightarrow_n\beta\). (\(\alpha=0\) cannot occur.) \(\square\) \textbf{Corollary A.11.} If \(\beta<\alpha\) and \(y\ge N(\beta)\), then \(H_\beta(y)\le H_\alpha(y)\). \emph{Proof.} Lemma A.10 with \(n=y\), then Corollary A.7. \(\square\) Ketonen--Solovay, Kirby--Paris and Caicedo use similar ``norm''/``\(\to_n\)'' lemmas (Caicedo Lemma 2.7 and §3; BW Lemma 1, second part). BW's version gives, for each fixed \(\lambda\), \emph{some} threshold \(k\) with \(\beta<_n\lambda\) for all \(n\ge k\), and that threshold may depend on \(\lambda\). In §6 the ordinals being compared change from battle to battle, so we need the uniform threshold \(N(\beta)\) of Lemma A.10. \textbf{Definition A.12 (BW 1987, Definition 3).} A function \(F:\mathbb N^k\to\mathbb N\) is \textbf{provably computable in PA} if there are elementary functions \(V,T\) such that (i) for all arguments \emph{``F(n₁,\ldots,n\_k) = V(least m such that T(n₁,\ldots,n\_k,m) = 0)''}, and (ii) the sentence \(\forall x_1\cdots\forall x_k\,\exists y\,(T(x_1,\dots,x_k,y)=0)\) is a theorem of PA. (The elementary functions are the Kalmár-elementary ones, BW Definition 2.) \textbf{Theorem A.13 (Wainer 1970; proof in Buchholz--Wainer 1987, Theorem 5).} \emph{``Every function provably computable in PA is elementary in some F\_α for α \textless{} ε₀, and is therefore majorised by F\_\{α+1\}.''} We use only the weakest reading of ``majorised'': there is \(x_0\) with \(F(x)\le F_{\alpha+1}(x)\) for all \(x\ge x_0\). By Lemma A.8(b), \(F_{\alpha+1}=H_{\omega^{\alpha+1}}\). So \textbf{every function provably computable in PA is eventually bounded by some \(H_\beta\) with \(\beta<\varepsilon_0\).} \emph{Independent confirmation in another convention.} Caicedo (2007, Theorem 1.9, credited to Wainer 1970) states: \emph{``any recursive f provably total in PA is eventually dominated by some f\_α, α \textless{} ε₀''}. Caicedo's \(f_\alpha\) satisfies \(H_{\omega^\alpha}(n)=f_\alpha(n+1)-1\) (his Theorem 1.14(1)). His \(H_\alpha\) coincides with BW's: his Def. 1.13 sets \(H_\lambda(n)=H_{d(\lambda,n+1)}(n)\), where \(d\) is the Kirby--Paris operation, which at argument \(n+1\) replaces a last term \(\omega^{\gamma+1}\) by \(n+1\) copies of \(\omega^\gamma\) ({[}KP{]} p.~289); so \(d(\lambda,n+1)=\lambda[n]\), by induction on \(\lambda\) through the cases of Definition A.1. This confirmation is not used in any proof. Hence \(f_\alpha(m)=H_{\omega^\alpha}(m-1)+1\le H_{\omega^\alpha}(m)\) for \(m\ge1\) by Lemma A.6, and the conclusion is the same. \emph{On the formal system.} BW formalize PA in a Tait-style calculus whose language has a function symbol for every elementary function (prime formulas \(f(t_1,\dots,t_n)=t_{n+1}\)). Lemma A.14 shows that a \(\Pi_2\) theorem of ordinary first-order PA (language \(0,S,+,\times\)) yields a function that is provably computable in BW's sense, and that is all the proofs of Theorems 2 and 3 need. \textbf{Lemma A.14 (from first-order PA to Buchholz--Wainer's formalization).} Let \(\theta(x,y)\) be a \(\Delta_0\) formula of the language \(\{0,S,+,\times\}\), and let \(\chi_\theta(x,y)=0\) if \(\theta(x,y)\) holds and \(\chi_\theta(x,y)=1\) otherwise. If PA \(\vdash\forall x\,\exists y\,\theta(x,y)\), then for every elementary function \(V\), the function \(x\mapsto V(\text{least }y\text{ with }\theta(x,y))\) is provably computable in PA in the sense of Definition A.12, with \(T=\chi_\theta\). \emph{Proof.} Write PA\(_{\rm BW}\) for BW's formal system ({[}BW{]} §2). It is a Tait-style calculus with cut. Its prime formulas are \(f(t_1,\dots,t_n)=t_{n+1}\) and their negations, for every elementary \(f\), with terms built from variables, \(0\) and \(S\). Its axioms are the equality axioms (=), the successor axioms (S), the axioms (f) (\emph{``defining equations for each elementary function f''}), and induction axioms for every formula. \emph{Reading of (f).} BW do not list the equations in (f) explicitly. We read (f) the natural way: there is one function symbol for each elementary \emph{definition} in the sense of BW Definition 2 (a term built from the initial functions by composition, bounded sums and bounded products), and (f) contains the recursion equations of that definition. In particular the symbol for \(\chi_\theta\) below comes with the recursion equations of the bounded sums and products from which it is built. Under a purely extensional reading (one symbol per function, with some unspecified defining equations) step 3 could fail, since two definitions of the same function may agree only by a true \(\Pi_1\) fact that PA does not prove. We adopt the natural reading. It is harmless for Theorem 5, because in BW's proof the (f)-axioms enter only through their numerical instances: in the proof of their Embedding Lemma 2, part (ii), BW write \emph{``The result follows immediately when Γ is an elementary axiom because, on substitution of numerals for the free variables, we obtain a true cepf''} ({[}BW{]} p.~188; ``cepf'' is BW's abbreviation for \emph{closed elementary prime formula}, p.~187). So any true defining equations may be used. \begin{enumerate} \def\labelenumi{\arabic{enumi}.} \tightlist \item \emph{\(\chi_\theta\) is elementary.} This goes by induction on \(\theta\), writing \(\dot-\) for modified subtraction: \begin{itemize} \tightlist \item an atomic formula \(t_1=t_2\) (the \(t_i\) are polynomials, hence elementary) has \(\chi=1\dot-\big(1\dot-((t_1\dot-t_2)+(t_2\dot-t_1))\big)\); \item \(\chi_{\neg\varphi}=1\dot-\chi_\varphi\), \(\chi_{\varphi\wedge\psi}=1\dot-(1\dot-(\chi_\varphi+\chi_\psi))\), and \(\chi_{\varphi\vee\psi}=\chi_\varphi\cdot\chi_\psi\); \item \(\chi_{\exists z\le t\,\varphi}=\prod_{z\le t}\chi_\varphi\) and \(\chi_{\forall z\le t\,\varphi}=1\dot-\big(1\dot-\sum_{z\le t}\chi_\varphi\big)\). \end{itemize} Only addition, modified subtraction, bounded sums and products, and composition are used. These are the closure operations of BW Definition 2. \item \emph{PA\(_{\rm BW}\) proves every theorem of PA, after unnesting.} Both \(+\) and \(\times\) are elementary. For \(\times\) take the definition \(x\cdot y=\sum_{i