\documentclass[11pt]{article} \usepackage[letterpaper,margin=1in]{geometry} \usepackage[T1]{fontenc} \usepackage{lmodern,microtype,amsmath,amssymb,amsthm,booktabs,array} \usepackage[hidelinks]{hyperref} \hypersetup{pdftitle={Undecidable natural halting for a fixed 16-symbol 2-tag system},pdfauthor={Trevor Cappallo}} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newcommand{\bits}{\mathbb F_2} \newcommand{\w}[1]{\mathtt{#1}} \newcommand{\src}{\mathcal P} \newcommand{\T}{\mathcal T} \newcommand{\eps}{\varepsilon} \newcommand{\len}[1]{\lvert #1\rvert} \newcommand{\simstep}{\longrightarrow} \title{Undecidable natural halting for a fixed\\16-symbol 2-tag system} \author{Trevor Cappallo} \date{December 1, 2026} \begin{document} \maketitle \begin{abstract} We give a fixed deterministic tag system on 16 symbols, with deletion number two and a production for every symbol. Its halting problem on finite input words is undecidable, with halting defined solely by queue length falling below two. We reduce two-counter machine halting to this problem. The construction compresses ais523's 19-symbol system and retains its three-phase organization. A programmable chain of running-XOR cells realizes any prescribed finite sequence of selection bits and returns to its initial setting on a failed zero test. We derive the chain compiler, its connection to literal tag steps, and an eleven-sweep terminal cleanup. Lean checks the unbounded chain synthesis theorem, the literal sweep boundary rule, and the local identities for the controller and counter. The reduction and the global termination proof are given in the text. \end{abstract} \section{The rule table and the theorem} Write \(TS(k,d)\) for the class of tag systems on \(k\) symbols with deletion number \(d\). For deletion two, a step on \(xyv\) produces \(vP(x)\), where \(x,y\) are single symbols. On the empty word and on words of length one no step is possible. The following table defines the entire system \(\T\). \[ \begin{array}{c@{\;\mapsto\;}l@{\qquad}c@{\;\mapsto\;}l@{\qquad}c@{\;\mapsto\;}l@{\qquad}c@{\;\mapsto\;}l} \w a&\w{rrd}&\w e&\w g&\w k&\w{frgg}&\w v&\w{pprprprprprprprp}\\ \w b&\w{ahaa}&\w f&\w r&\w l&\w{uuff}&\w p&\w{lmlr}\\ \w d&\w{bbrrr}&\w g&\w{ij}&\w m&\w v&\w h&\w h\\ \w i&\w{ehee}&\w j&\w{rhke}&\w u&\w{pp}&\w r&\eps \end{array} \] \begin{theorem}\label{main} There is an effective map from a two-counter machine and its finite configuration to a finite word \(w\) such that the machine halts from that configuration if and only if \(\T\) reaches a word of length less than two from \(w\). In particular, natural halting for this one member of \(TS(16,2)\) is undecidable. \end{theorem} Cocke and Minsky proved universality at deletion two \cite{CM}. De Mol studied the joint parameters and derived, among other bounds, a universal system in \(TS(150,2)\) \cite[p.~100]{DM}. Neary also defines halting by length falling below the deletion number. His binary halting construction uses deletion number \(10p\), where \(p\) is the number of appendants in the simulated cyclic tag program \cite[Definition~1 and Lemma~9]{Neary}. Our direct predecessor is ais523's UT19 \cite{UT19}, a public 19-symbol construction supporting natural halting. We use its Command, Parity, and Reset phases, doubled counters, restart language, and terminal timing idea. Our 16-symbol table uses smaller components. We give a compiler which starts from an ordinary reset configuration and derives the required selection bits for every section, including the surviving terminal suffix. The proof uses the published undecidability of two-counter machine halting \cite[Theorem~6]{CM2} as its source theorem. It requires no correctness assumption about a previous tag compiler. At deletion two our table gives \(k\leq16\) for undecidable natural halting, hence an upper bound of 32 on the minimum product \(kd\). The construction supplies no matching lower bound. \section{From individual steps to components} For a word \(v\), write \(F_b(v)\) for the concatenation of the productions at positions \(b,b+2,\ldots\), indexed from zero, with \(b\in\{0,1\}\). Call \(b\) the \emph{lane}. A sweep processes all symbols present in the queue when it begins. Maintain a virtual word \(V\) and a bit \(\delta\), where the physical word is \(V\) with its first \(\delta\) symbols removed. For \(V=X_1\cdots X_s\), the lane at component \(X_i\) is \[ b_i=\delta+\sum_{j0\), all flags are one, and the final decrement of \(p\) succeeds, leaving zero. The suffix therefore clears every cell and falls off the list. Only the special trigger permits that last marker decrement to succeed. Every ordinary tick and trigger uses finitely many restart instructions, with a positive number of clock ticks per machine instruction. Consequently a nonhalting machine produces an infinite restart computation and a halting machine produces a perfect halt. \begin{proof}[Proof of Theorem~\ref{main}] Apply the clock and restart construction to the given machine and configuration. Feed its program and initial values to the section compiler. Every step of constructing the initial word is effective on finite inputs; the exponential widths impose no computability restriction. If the source machine halts, Lemmas~\ref{sim}, \ref{entry}, and \ref{mortal} yield natural tag halting. Otherwise the restart program runs forever. Lemma~\ref{sim} then provides infinitely many nonempty, completed literal sweeps, precluding a finite halt. A decider for the fixed table would decide the two-counter halting problem. \end{proof} \paragraph{Verification and provenance.} The Lean 4.35.0 supplement checks the even and odd literal sweep rule, unary termination, the controller projections, increment and decrement identities for all block multiplicities, the singleton case, and finite-stream synthesis for arbitrary equal-length streams. The global simulation, clock reduction, and eleven-sweep calculation are mathematical proofs in this paper. The \href{https://github.com/cappallo/ts16-tag-system/tree/fdd723506ab6726e2c6f333e1d913bc55bfcb134}{Lean files, compiler, and instructions} are available with the supplement. A Python reference compiler implements the reduction. As an implementation check, from zero cells the restart program \(+1,-2,-1,-1\) exercises a failed zero test and reaches the single letter \(h\) after 965,349 literal tag steps (cells numbered from one in this example). The constructions descend from ais523's UT19, Waterfall and Brainpocalypse II. OpenAI Codex was used to develop the compression and proof, write the software, and prepare the manuscript. Claude Opus 5.5 independently reviewed the mathematical arguments outside the Lean formalization. \begin{thebibliography}{9} \bibitem{CM} J. Cocke and M. Minsky, Universality of tag systems with \(P=2\), \emph{J. ACM} 11 (1964), 15--20. \href{https://doi.org/10.1145/321203.321206}{doi:10.1145/321203.321206}. \bibitem{DM} L. De Mol, On the complex behavior of simple tag systems: an experimental approach, \emph{Theoretical Computer Science} 412 (2011), 97--112. \href{https://biblio.ugent.be/publication/8757914}{Ghent University record}. \bibitem{Neary} T. Neary, Undecidability in binary tag systems and the Post correspondence problem for five pairs of words, \emph{STACS 2015}, 649--661. \href{https://doi.org/10.4230/LIPIcs.STACS.2015.649}{doi:10.4230/LIPIcs.STACS.2015.649}. \bibitem{UT19} ais523, UT19, public construction and Brainpocalypse II to UT19 compiler, 2023. \href{https://esolangs.org/w/index.php?title=UT19&oldid=154545}{Fixed revision of the construction}. \bibitem{CM2} A. Dudenhefner, Certified decision procedures for two-counter machines, \emph{FSCD 2022}, article 16. \href{https://doi.org/10.4230/LIPIcs.FSCD.2022.16}{doi:10.4230/LIPIcs.FSCD.2022.16}. \bibitem{Waterfall} ais523, The Waterfall Model. \href{https://esolangs.org/w/index.php?title=The_Waterfall_Model&oldid=169710}{Language specification}. \bibitem{BP} ais523, Brainpocalypse II. \href{https://esolangs.org/w/index.php?title=Brainpocalypse_II&oldid=172507}{Language specification and Waterfall reduction}. \end{thebibliography} \end{document}