% The Dancing Sand Theorem -- LaTeX source of version 10 (text identical to the version-10 md), typeset for Hexagon. % Version 10: Zenodo DOI 10.5281/zenodo.23298437. Generated from the md by md2tex.py (12 October 2026). \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[a4paper,margin=2.5cm]{geometry} \usepackage{amsmath,amssymb} \usepackage{dsfont} \usepackage{array,longtable,booktabs} \usepackage{enumitem} \usepackage{url} \usepackage[hidelinks,pdfusetitle]{hyperref} \hypersetup{pdfauthor={Rafael Amichis Luengo},pdftitle={The Dancing Sand Theorem},pdfsubject={The 2-part of the sandpile group of the hypercube, for every n}} \setlength{\parindent}{0pt} \setlength{\parskip}{0.55em plus 0.2em minus 0.1em} \setlist{itemsep=0.25em,topsep=0.3em,parsep=0.3em} \setlist[itemize]{leftmargin=2.2em} \setlist[enumerate]{leftmargin=2.2em} \setcounter{secnumdepth}{0} \emergencystretch=3em \tolerance=1500 \allowdisplaybreaks \renewcommand{\arraystretch}{1.15} \begin{document} \begin{center} {\LARGE\bfseries The Dancing Sand Theorem\par} \medskip {\large The 2-part of the sandpile group of the hypercube, for every n\par} \bigskip {\large Rafael Amichis Luengo\par} \smallskip {\small Madrid, Spain \ensuremath{\cdot} tretoef@gmail.com \ensuremath{\cdot} 11 October 2026 \ensuremath{\cdot} version 10\par} \end{center} \begin{abstract} Let $K ( Q_{n} )$ be the sandpile group (critical group, Jacobian) of the $n$-dimensional hypercube graph $Q_{n}$. Its odd part was determined by Bai in 2003; its $2$-part has been open since then, and the latest work on it determines its $n - 1$ largest cyclic factors. \textbf{We determine the whole 2-part of $K ( Q_{n} )$ for every $n$, by an explicit rule.} The group splits over the indecomposable tilting modules $T ( \lambda )$ of $\mathrm{SL}_{2}$ in characteristic $2$ that occur in $V^{\otimes n}$, with their multiplicities. The contribution of $T ( \lambda )$ at the shift $i = ( n - \lambda ) / 2$ consists of explicit small cyclic factors and of $2^{| I |}$ large ones, where $I$ is the set of binary digits of $\lambda + 1$ below the leading one. The large ones are obtained by pooling a sequence of explicit integers --- binomial valuations and carries --- into a non-increasing sequence, in the manner of isotonic regression. The proof reduces each contribution, by elimination inside explicit $2$-adic lattices, to the Smith form of an explicit $2^{| I |} \times 2^{| I |}$ integer matrix, and computes that Smith form from the valuations of its entries. It needs a unique cheapest matching for an upper bound and an inductive potential for a lower bound. As consequences we recover Bai's counts and the theorems of Gao, Marx-Kuo, McDonald and Yuen on the largest factors, and we prove their Conjectures 4.14 and 5.4 and the formula for the $( n + 1 )$-th factor stated in the 2019 poster of three of them. \textbf{We also prove the fold law: the 2-part of the sandpile group of the folded cube $Q_{n} / \langle ( 1 , \dots , 1 ) \rangle$ is $2 \cdot \operatorname{Syl}_{2} K ( Q_{n} )$}, the group obtained by lowering every exponent by one. With the results above this gives the whole $2$-part of the sandpile group of the folded cube, and, with the known odd part, its whole sandpile group. \textbf{The whole proof has been checked in the proof assistant Lean 4 with the Mathlib library, with nothing cited.} This work has not been refereed by a human expert. \end{abstract} \section*{\texorpdfstring{1. Introduction and main results}{1. Introduction and main results}} \addcontentsline{toc}{section}{\texorpdfstring{1. Introduction and main results}{1. Introduction and main results}} \subsection*{\texorpdfstring{1.0 Summary of results}{1.0 Summary of results}} \addcontentsline{toc}{subsection}{\texorpdfstring{1.0 Summary of results}{1.0 Summary of results}} For $n \ge 1$, $K ( Q_{n} )$ is the sandpile group of the $n$-cube, $\bar{K} ( n )$ that of the folded $n$-cube $Q_{n} / \langle \mathds{1} \rangle$ (\S{}1.3), and $\mathbb{Z}_{2}$ is the ring of $2$-adic integers. {\small\begin{longtable}{>{\raggedright\arraybackslash}p{0.134\linewidth}>{\raggedright\arraybackslash}p{0.708\linewidth}>{\raggedright\arraybackslash}p{0.071\linewidth}} \toprule Result & What it says & Where \\ \midrule \endhead \textbf{Main Theorem} (the Dancing Sand Theorem) & $\operatorname{Syl}_{2} K ( Q_{n} ) \oplus \mathbb{Z}_{2} \cong \bigoplus_{\lambda} X ( \lambda , ( n - \lambda ) / 2 )^{m_{\lambda} ( n )}$, with $X ( \lambda , i )$ given by an explicit rule & \S{}1.2, proof in \S{}8 \\ \textbf{Theorem D} & each $X ( \lambda , i )$ is a known group of small clocks plus $\operatorname{coker} ( 2^{k} M ( \lambda , i ) )$, $M$ an explicit $2^{| I |} \times 2^{| I |}$ matrix with closed-form entries & \S{}4 \\ \textbf{Theorems O and F} & the Smith form of $M ( \lambda , i )$ is the pooled sequence of clocks: an upper bound through a unique cheapest matching, a lower bound through a potential built digit by digit & \S{}6, \S{}7 \\ \textbf{Theorem DW} (the fold law, \guillemotleft{}dry and wet\guillemotright{}) & $\operatorname{Syl}_{2} \bar{K} ( n ) \cong 2 \cdot \operatorname{Syl}_{2} K ( Q_{n} )$; equivalently $\operatorname{Syl}_{2} K ( Q_{n} ) \cong ( \mathbb{Z} / 2 )^{a_{n}} \oplus ( \operatorname{Syl}_{2} \bar{K} ( n ) \ \text{with every exponent raised by one} )$, $a_{n} = 2^{n - 2} - 2^{\lfloor ( n - 2 ) / 2 \rfloor}$ & \S{}1.3, proof in \S{}10 \\ \textbf{Corollary 1.4} & the whole sandpile group of the folded cube & \S{}1.3, \S{}10.8 \\ \textbf{Corollary 1.5} & Bai's two counts, re-proved from the rule & \S{}9.1 \\ \textbf{Corollary 1.6} & the $n + 1$ largest cyclic factors of $\operatorname{Syl}_{2} K ( Q_{n} )$: Gao et al.'s Theorems 4.1 and 4.2, their Conjecture 4.14 and the $( n + 1 )$-th factor of the 2019 poster [MGM19] & \S{}9.2 \\ \textbf{Corollary 1.7} & $\operatorname{Syl}_{2} K ( Q_{2^{e}} ) \cong \operatorname{Syl}_{2} K ( Q_{2^{e} - 1} )^{2} \oplus \mathbb{Z} / 2^{2^{e} + e - 1}$ (Gao et al.'s Conjecture 5.4) & \S{}9.3 \\ \bottomrule \end{longtable}} Every proof behind the table was re-derived by a reader other than its author. The chains of the Main Theorem and of Theorem DW were read cold before this text was written, by readers with no access to the audits. The first version of this text was read cold as a whole on 5 October 2026 by a reader with no access to the constructors' reports, the audits or the earlier readings: \guillemotleft{}holds with gaps\guillemotright{}. It found one gap: the integer part of Lemma 7.2(b) was false as stated, and four proofs used it; no theorem was affected. The second version repaired it (\S{}7.1, \S{}7.4, \S{}7.5, \S{}9.2), and its changes were read cold the same day by another reader: \textbf{the repair holds}. That reader also found one false sentence, in a remark used nowhere (the author then found the same missing hypothesis in Lemma 10.6(a), harmless because its only use is for an even system), and found, with a two-line proof, that the fit of every house is integral (Lemma 7.9). The changes of each later version were read cold in turn, each time by a new reader; none of these readings found a gap or an error in the mathematics. Between them, they found false or inexact sentences in the record of the work and in \S{}12, points of presentation, and defects of typesetting; the list of corrections of each version, with its sources, and every report are kept with the project (Appendix A). The whole proof has also been checked in Lean 4 with Mathlib, with nothing cited, and that check was read cold before release; \S{}12.3 gives the Lean name of each result of the table except Theorems O and F, which are Theorems 6.2 and 7.8 among the 68 numbered statements it covers. No human expert has refereed this work. The words of our own are translated into standard terms in \S{}1.7; what we found in the literature, and where we searched, is in \S{}1.8. \subsection*{\texorpdfstring{1.1 The problem}{1.1 The problem}} \addcontentsline{toc}{subsection}{\texorpdfstring{1.1 The problem}{1.1 The problem}} For a finite connected graph $G$ with Laplacian $L ( G )$, the cokernel of $L ( G )$ acting on $\mathbb{Z}^{V ( G )}$ is $\mathbb{Z} \oplus K ( G )$, where $K ( G )$ is a finite abelian group of order the number of spanning trees of $G$ (Kirchhoff). It is called the sandpile group, the critical group or the Jacobian of $G$; see [Lor91], [Big99], [Kli18]. For the hypercube $Q_{n}$ --- vertices $\{ 0 , 1 \}^{n}$, edges between words that differ in one letter --- the number of spanning trees is $2^{2^{n} - n - 1} \prod_{j = 1}^{n} j^{C ( n , j )}$, so $K ( Q_{n} )$ has order a power of $2$ times $\prod j^{C ( n , j )}$. Reiner conjectured in 2001 the number of cyclic factors of $K ( Q_{n} )$ and the number of its factors $\mathbb{Z} / 2$, and Bai proved both and determined every odd Sylow subgroup [Bai03]: for an odd prime $p$, $\operatorname{Syl}_{p} K ( Q_{n} ) \cong \operatorname{Syl}_{p} \bigoplus_{j = 1}^{n} ( \mathbb{Z} / j )^{C ( n , j )}$ [Bai03, Theorem 1.2]. About the $2$-part he wrote: \guillemotleft{}The full structure of the Sylow-2 subgroup of the critical group of the $n$-cube is still unknown\guillemotright{} [Bai03, p. 253]. The question was repeated by Ducey and Jalil [DJ14] (\guillemotleft{}the full structure of the 2-primary component of both the critical group and the Smith group of the $n$-cube remain unknown\guillemotright{}). Chandler, Sin and Xiang computed the Smith group of the adjacency matrix of $Q_{n}$ and wrote about the critical group: \guillemotleft{}only the 2-Sylow subgroup of the critical group remains to be determined, for both odd and even $n$. We do not have any conjecture about its exact structure\guillemotright{} [CSX17, \S{}5.2]. Iga, Klivans, Kostiuk and Yuen observed that for Cayley graphs of $\mathbb{F}_{2}^{r}$ \guillemotleft{}the 2-Sylow subgroup of their critical groups, or even the just [sic] 2-rank of the Laplacians, has been rather difficult to understand\guillemotright{} [IKKY23, \S{}7]. Gao, Marx-Kuo, McDonald and Yuen determined the largest cyclic factor and the next $n - 2$ [GMMY24, Theorems 4.1, 4.2], conjectured the $n$-th [GMMY24, Conjecture 4.14] and a doubling relation between the cubes of dimension $2^{k} - 1$ and $2^{k}$ [GMMY24, Conjecture 5.4], and wrote that \guillemotleft{}determining the complete structure still seems out of reach at this moment\guillemotright{}. The $( n + 1 )$-th factor was conjectured on the 2019 poster of Marx-Kuo, Gao and McDonald, which says that \guillemotleft{}the Sylow-2 subgroup remains a mystery\guillemotright{} [MGM19]. This paper determines the whole $2$-part, for every $n$. \subsection*{\texorpdfstring{1.2 The main theorem}{1.2 The main theorem}} \addcontentsline{toc}{subsection}{\texorpdfstring{1.2 The main theorem}{1.2 The main theorem}} We write $\operatorname{Syl}_{2} A$ for the $2$-primary part of a finite abelian group $A$, and we describe $2$-groups by their exponents: $\{ e_{1} : c_{1} , e_{2} : c_{2} , \dots \}$ means $\oplus ( \mathbb{Z} / 2^{e_{j}} )^{c_{j}}$. As usual, $\mathbb{Z}_{2}$ is the ring of $2$-adic integers, $s_{2} ( x )$ the number of ones in the binary expansion of $x \ge 0$, $v_{2}$ the $2$-adic valuation, and \begin{itemize} \item $\kappa ( a , b ) \mathrel{:=} s_{2} ( a ) + s_{2} ( b ) - s_{2} ( a + b )$, the number of carries in the binary addition $a + b$ ($a , b \ge 0$); by Kummer's theorem $\kappa ( a , b ) = v_{2} C ( a + b , a )$; \item $\varphi ( x ) \mathrel{:=} x + v_{2} ( x )$ for $x \ge 1$. \end{itemize} \textbf{Families.} For an integer $\lambda \ge 0$ write \[\lambda + 1 = 2^{k} + \sum_{t \in I} 2^{t} ,\quad I \subseteq \{ 0 , 1 , \dots , k - 1 \} ,\] \noindent so $k$ is the leading binary digit of $\lambda + 1$ and $I$ the set of the others. For $t \in I$ put \[\operatorname{next} ( t ) \mathrel{:=} \min \{ u \in I \cup \{ k \} : u > t \} \quad\text{and}\quad h_{t} \mathrel{:=} \operatorname{next} ( t ) - t .\] \noindent The subsets $D \subseteq I$ are the \textbf{dancers} of the family; for a dancer put $o_{D} \mathrel{:=} \sum_{t \in D} 2^{t}$ and $h ( D ) \mathrel{:=} \sum_{t \in D} h_{t}$. The \textbf{o-order} lists the dancers by increasing $o_{D}$, from $\emptyset$ to $I$. \textbf{Multiplicities.} Let $m_{\lambda} ( n )$ be the integers defined by \[\sum_{\lambda} m_{\lambda} ( 0 ) [ \lambda ] = [ 0 ] ,\quad \sum_{\lambda} m_{\lambda} ( n ) [ \lambda ] = V \cdot \sum_{\lambda} m_{\lambda} ( n - 1 ) [ \lambda ] ,\] \noindent where $V \cdot$ is the additive operator on formal sums of symbols $[ \lambda ]$ given by \begin{gather*}V \cdot [ 0 ] = [ 1 ] ,\quad V \cdot [ 2 l + 1 ] = [ 2 l + 2 ] ,\quad V \cdot [ 2 l + 2 ] = 2 [ 2 l + 1 ] + \Phi ( V \cdot [ l ] ) , \\ \Phi ( [ \nu ] ) \mathrel{:=} [ 2 \nu + 1 ] .\end{gather*} \noindent (The recursion is well founded: $V \cdot [ 2 l + 2 ]$ calls $V \cdot [ l ]$ with $l < 2 l + 2$.) By Theorem 3.6, $m_{\lambda} ( n )$ is the multiplicity of the indecomposable tilting module $T ( \lambda )$ of $\mathrm{SL}_{2}$ in characteristic $2$ in the tensor power $V^{\otimes n}$ of the natural module. Only $\lambda \equiv n \ (\mathrm{mod}\ 2)$ with $1 \le \lambda \le n$ occur for $n \ge 1$, and $m_{n} ( n ) = 1$. \textbf{Clocks.} Fix a family $\lambda$ and a shift $i \ge 0$. For a dancer $D$ with $( i , D ) \ne ( 0 , \emptyset )$ put $\xi_{D} \mathrel{:=} \lambda + 1 - 2 o_{D}$ (a positive integer) and \[u_{i} ( D ) \mathrel{:=} \varphi ( \xi_{D} ) + \kappa ( i + o_{D} - 1 , \xi_{D} ) + h ( D ) ,\] \noindent and put $u_{0} ( \emptyset ) \mathrel{:=} \infty$. These are the \textbf{raw clocks} of the family at shift $i$. \textbf{Pooling.} For a finite sequence of integers $x_{0} , \dots , x_{N - 1}$, its \textbf{integer antitonic fit} is obtained as follows. Partition the positions into consecutive blocks by the pool-adjacent-violators algorithm, so that the block means are strictly decreasing (adjacent blocks with equal means are merged) and each block value is the mean of its entries: this is the antitonic least-squares fit [ABERS55], [BBBB72]. Then replace a block of $p$ positions with sum $S$ by $S \bmod p$ copies of $\lceil S / p \rceil$ followed by $p - ( S \bmod p )$ copies of $\lfloor S / p \rfloor$. In the cube the rounding never acts: every block mean of the raw clocks is an integer (Lemma 7.9, with Proposition 5.3, Lemma 7.5 and Proposition 5.4; see \S{}8), so $\hat{y}_{i}$ below is the antitonic least-squares fit itself, a non-increasing sequence of integers. The rounding is kept in the definition only so that the rule is defined for every sequence of integers. At shift $0$ the entry $\infty$ stands first and is not pooled with anything. \textbf{The group of a family.} Let $\hat{y}_{i} ( D )$ be the integer antitonic fit of the raw clocks $u_{i} ( D )$, read in o-order. Put \begin{center}$\displaystyle X ( \lambda , i ) \mathrel{:=} \bigoplus_{a = 1}^{k - 1} ( \mathbb{Z} / 2^{a} )^{2^{| I | + k - 1 - a}} \oplus \bigoplus_{D \subseteq I} \mathbb{Z} / 2^{\hat{y}_{i} ( D )} ,$\end{center} \noindent with $\mathbb{Z} / 2^{\infty} \mathrel{:=} \mathbb{Z}_{2}$. The first sum is the family's \textbf{small clocks}, the second its $2^{| I |}$ \textbf{big clocks}. \begin{quote} \textbf{Main Theorem (the Dancing Sand Theorem).} For every $n \ge 1$, as $\mathbb{Z}_{2}$-modules, \[\operatorname{Syl}_{2} K ( Q_{n} ) \oplus \mathbb{Z}_{2} \cong \bigoplus_{1 \le \lambda \le n , \lambda \equiv n \ (\mathrm{mod}\ 2)} X ( \lambda , ( n - \lambda ) / 2 )^{m_{\lambda} ( n )} .\] \noindent The free summand is the big clock $\hat{y}_{0} ( \emptyset ) = \infty$ of the family $\lambda = n$. \end{quote} The right-hand side is a finite computation with binomial valuations; no Smith form is needed ($n = 1024$ takes seconds). The number of cyclic factors of each copy of $X ( \lambda , i )$ is $2^{| I | + k - 1} = \dim T ( \lambda ) / 2$. \textbf{Example.} For $n = 6$ the families are $\lambda = 6 , 4 , 2$ with $m_{6} ( 6 ) = 1$, $m_{4} ( 6 ) = 4$, $m_{2} ( 6 ) = 4$. \begin{itemize} \item $\lambda = 6$ ($7 = 4 + 2 + 1$, $k = 2$, $I = \{ 0 , 1 \}$, $h_{0} = h_{1} = 1$), shift $0$: small clocks $\{ 1 : 4 \}$; raw clocks of $\emptyset , \{ 0 \} , \{ 1 \} , \{ 0 , 1 \}$: $\infty , 6 , 6 , 3$ (for $\{ 0 \}$: $\xi = 5$ and $\varphi ( 5 ) + \kappa ( 0 , 5 ) + h_{0} = 5 + 0 + 1$; for $\{ 1 \}$: $\xi = 3$ and $\varphi ( 3 ) + \kappa ( 1 , 3 ) + h_{1} = 3 + 2 + 1$); no pooling. \item $\lambda = 4$ ($5 = 4 + 1$, $k = 2$, $I = \{ 0 \}$, $h_{0} = 2$), shift $1$: small clocks $\{ 1 : 2 \}$; raw clocks $\varphi ( 5 ) + \kappa ( 0 , 5 ) = 5$ and $\varphi ( 3 ) + \kappa ( 1 , 3 ) + 2 = 3 + 2 + 2 = 7$. The sequence $5 , 7$ increases, so it is pooled: $6 , 6$. \item $\lambda = 2$ ($3 = 2 + 1$, $k = 1$, $I = \{ 0 \}$, $h_{0} = 1$), shift $2$: no small clocks; raw clocks $\varphi ( 3 ) + \kappa ( 1 , 3 ) = 5$ and $\varphi ( 1 ) + \kappa ( 2 , 1 ) + 1 = 2$. \end{itemize} So $\operatorname{Syl}_{2} K ( Q_{6} ) = \{ 1 : 4 \} \oplus \{ 6 : 2 , 3 : 1 \} \oplus 4 \cdot \{ 1 : 2 , 6 : 2 \} \oplus 4 \cdot \{ 5 : 1 , 2 : 1 \} = \{ 1 : 12 , 2 : 4 , 3 : 1 , 5 : 4 , 6 : 10 \}$, as the direct computation gives. This is the smallest cube in which pooling acts. \textbf{An equivalent form.} For $i \ge 1$, with $m \mathrel{:=} i - 1$ and $K \mathrel{:=} 2^{k}$, define for $\mu \ge 0$ \[R_{\mu} ( D ) \mathrel{:=} \sum_{t \in D} ( h_{t} - 2^{t} ) - \kappa ( \mu , o_{D} ) ,\quad x_{D} \mathrel{:=} R_{m} ( D ) - R_{m + K} ( I \setminus D ) .\] \noindent Then $u_{i} ( D ) = k + K + \kappa ( m , K ) + x_{D}$ for every dancer (Proposition 5.3), so the big clocks are $k + K + \kappa ( m , K )$ plus the integer antitonic fit of $x$. This is the form in which the proof computes them. \subsection*{\texorpdfstring{1.3 The fold law: dry and wet}{1.3 The fold law: dry and wet}} \addcontentsline{toc}{subsection}{\texorpdfstring{1.3 The fold law: dry and wet}{1.3 The fold law: dry and wet}} Let $\mathds{1} = ( 1 , \dots , 1 )$. The \textbf{folded $n$-cube} is the quotient graph $Q_{n} / \langle \mathds{1} \rangle$: its vertices are the $2^{n - 1}$ pairs $\{ x , x + \mathds{1} \}$ of antipodal words, and $\{ x , x + \mathds{1} \}$ is joined to $\{ x + e_{i} , x + \mathds{1} + e_{i} \}$ once for each $i = 1 , \dots , n$, where $e_{i}$ is the $i$-th unit vector; for $n \ge 2$ each edge of $Q_{n} / \langle \mathds{1} \rangle$ is the image of two edges of $Q_{n}$ (at $n = 1$ the folded cube is one vertex with one loop, the image of the one edge of $Q_{1}$). It is the Cayley graph of $\mathbb{F}_{2}^{n} / \langle \mathds{1} \rangle$ with the images of the unit vectors; for $n \ge 3$ it is a simple $n$-regular graph. We write $\bar{K} ( n )$ for its sandpile group. \textbf{A naming trap.} In the literature on interconnection networks the \guillemotleft{}folded hypercube $F Q_{m}$\guillemotright{} is $Q_{m}$ with the antipodal matching added: $2^{m}$ vertices, degree $m + 1$ [EL91]. It is the Cayley graph of $\mathbb{F}_{2}^{m}$ with the unit vectors and $\mathds{1}$, which is our folded cube in dimension $m + 1$: \textbf{our folded $n$-cube $Q_{n} / \langle \mathds{1} \rangle$ is $F Q_{n - 1}$.} We keep the index $n$ of the cube that is folded. \begin{quote} \textbf{Theorem DW (the fold law).} For every $n \ge 1$, \[\operatorname{Syl}_{2} \bar{K} ( n ) \cong 2 \cdot \operatorname{Syl}_{2} K ( Q_{n} ) ,\] \noindent where $2 \cdot A$ is the subgroup of doubles. Equivalently, \begin{gather*}\operatorname{Syl}_{2} K ( Q_{n} ) \cong ( \mathbb{Z} / 2 )^{a_{n}} \oplus ( \operatorname{Syl}_{2} \bar{K} ( n ) \ \text{with every exponent raised by one} ) , \\ a_{n} = 2^{n - 2} - 2^{\lfloor ( n - 2 ) / 2 \rfloor} .\end{gather*} \end{quote} Here $a_{n}$ is the number of factors $\mathbb{Z} / 2$ of $K ( Q_{n} )$, by Bai [Bai03, Theorem 1.3] (re-proved in \S{}9.1). Theorem DW is proved family by family (\S{}10): the folded cube splits over the same tilting families with the same multiplicities, and the group of each family is halved. The names \guillemotleft{}dry and wet\guillemotright{} and \guillemotleft{}dance\guillemotright{} are explained in \S{}1.7. \textbf{Example.} For $n = 5$, $\operatorname{Syl}_{2} K ( Q_{5} ) = \{ 1 : 6 , 3 : 4 , 4 : 1 , 6 : 4 \}$ and $a_{5} = 6$, so $\operatorname{Syl}_{2} \bar{K} ( 5 ) = \{ 2 : 4 , 3 : 1 , 5 : 4 \}$. \begin{quote} \textbf{Corollary 1.4 (the sandpile group of the folded cube).} For every $n \ge 2$, $\operatorname{Syl}_{2} \bar{K} ( n )$ is the group of the Main Theorem with the $a_{n}$ factors $\mathbb{Z} / 2$ removed and every other exponent lowered by one. For every odd prime $p$, $\operatorname{Syl}_{p} \bar{K} ( n ) \cong \operatorname{Syl}_{p} \bigoplus_{j \ \text{even} , 2 \le j \le n} ( \mathbb{Z} / 2 j )^{C ( n , j )}$. \end{quote} The odd part is [GMMY24, Proposition 1.9]: the Laplacian eigenvalues of the folded cube are $2 | J |$ for the subsets $J \subseteq \{ 1 , \dots , n \}$ of even size. We found no earlier computation of the sandpile group of the folded cube; its order, the number of spanning trees, is the sequence OEIS A193134 [OEIS] (for $n \ge 3$; at $n = 2$ that sequence counts the simple graph $K_{2}$, while our $Q_{2} / \langle \mathds{1} \rangle$ has a double edge). \textbf{The mod-2 layer.} Theorem DW explains a coincidence noted by Gao et al. [GMMY24, Remark 2.13]: the $\mathbb{F}_{2}$-rank of the Laplacian of the folded cube $Q_{n} / \langle \mathds{1} \rangle$ and the number of factors $\mathbb{Z} / 2$ of $K ( Q_{n} )$ are both $a_{n}$ (\guillemotleft{}We are not sure if that is a coincident, or a special case of some deeper connection\guillemotright{}). Under the fold law every factor of $\operatorname{Syl}_{2} K ( Q_{n} )$ other than the factors $\mathbb{Z} / 2$ keeps a non-trivial image, so the number of even invariant factors of the folded Laplacian is $( 2^{n - 1} - 1 - a_{n} ) + 1$, and its $\mathbb{F}_{2}$-rank is $2^{n - 1}$ minus that number, which is $a_{n}$ (\S{}10.8). The fold law is specific to the antipodal involution: the quotient by $x_{1} x_{2}$ does not halve the group (we checked $3 \le n \le 12$, \S{}12). \subsection*{\texorpdfstring{1.4 Consequences}{1.4 Consequences}} \addcontentsline{toc}{subsection}{\texorpdfstring{1.4 Consequences}{1.4 Consequences}} \begin{quote} \textbf{Corollary 1.5 (Bai [Bai03, Theorems 1.1, 1.3]).} $\operatorname{Syl}_{2} K ( Q_{n} )$ has exactly $2^{n - 1} - 1$ cyclic factors, and exactly $a_{n}$ of them are $\mathbb{Z} / 2$ ($n \ge 2$). \end{quote} Bai states the first count for the invariant factors of $K ( Q_{n} )$. They are all even [Bai03, Lemma 2.2, Corollary 2.3]: in his proof the Smith form of the Laplacian of $Q_{n}$ has $2^{n - 1}$ entries $1$, and the others are those of a matrix with even entries. So his count is the number of cyclic factors of $\operatorname{Syl}_{2} K ( Q_{n} )$. Write $c_{1} ( Q_{n} ) \ge c_{2} ( Q_{n} ) \ge \cdots$ for the exponents of the cyclic factors of $\operatorname{Syl}_{2} K ( Q_{n} )$, in decreasing order, and $g ( N ) \mathrel{:=} \max_{1 \le x < N} \varphi ( x ) = \max_{1 \le x < N} ( x + v_{2} x )$. (Gao et al. write $c_{i} ( Q_{n} )$ for the $i$-th largest invariant factor of $K ( Q_{n} )$ and state their results for its $2$-adic valuation, which is our $c_{i} ( Q_{n} )$.) \begin{quote} \textbf{Corollary 1.6 (the podium).} Put $G \mathrel{:=} g ( n - 1 )$. For every $n \ge 4$: \begin{itemize} \item $n$ even: $c_{1} = \max ( G , \varphi ( n ) - 1 )$ and $c_{2} = \cdots = c_{n + 1} = G$; \item $n$ odd and $\varphi ( n - 1 ) \le G$: $c_{1} = \cdots = c_{n + 1} = G$; \item $n$ odd and $\varphi ( n - 1 ) > G$: $c_{1} = \cdots = c_{n - 1} = \varphi ( n - 1 )$, $c_{n} = \max ( G , \varphi ( n - 1 ) - 2 )$, $c_{n + 1} = G$. \end{itemize} In particular: \begin{itemize} \item $c_{1} = \max ( g ( n ) , v_{2} n + n - 1 )$ and $c_{2} = \cdots = c_{n - 1} = g ( n )$ for $n \ge 3$ [GMMY24, Theorems 4.1, 4.2]; \item $c_{n} = \max ( g ( n - 1 ) , v_{2} ( n - 1 ) + n - 3 )$ for $n \ge 3$ [GMMY24, Conjecture 4.14]; \item $c_{n + 1} = g ( n - 1 )$ for $n \ge 4$ [MGM19]. \end{itemize} \end{quote} \begin{quote} \textbf{Corollary 1.7 ([GMMY24, Conjecture 5.4]).} For every $e \ge 1$, \[\operatorname{Syl}_{2} K ( Q_{2^{e}} ) \cong \operatorname{Syl}_{2} K ( Q_{2^{e} - 1} )^{2} \oplus \mathbb{Z} / 2^{2^{e} + e - 1} .\] \end{quote} The proof of Corollary 1.7 gives more: each tilting family of the cube of dimension $2^{e} - 1$ becomes one family of the cube of dimension $2^{e}$ with the same multiplicity, and each of its dancers becomes two dancers with the same raw clock (\S{}9.3). \subsection*{\texorpdfstring{1.5 The idea of the proof}{1.5 The idea of the proof}} \addcontentsline{toc}{subsection}{\texorpdfstring{1.5 The idea of the proof}{1.5 The idea of the proof}} \begin{enumerate} \item[1.] \textbf{The group ring as an $\mathrm{SL}_{2}$-module (\S{}2).} In the group ring $\mathbb{Z} [ ( \mathbb{Z} / 2 )^{n} ]$ the Laplacian is multiplication by $\sigma = \sum_{i} ( 1 - x_{i} )$. In the basis $s_{S} = \prod_{i \in S} ( 1 - x_{i} )$ it becomes $U + 2 D$, with $U$ the raising operator of the Boolean lattice and $D$ the rank (up to the sign $( - 1 )^{| S |}$, this basis is the change of variables $u_{i} = x_{i} - 1$ in the proof of [GMMY24, Proposition 2.5], and it is the Laplacian analogue of [CSX17, \S{}5]). Identifying $s_{S}$ with a pure tensor of $V^{\otimes n}$, $V = \mathbb{Z}^{2}$ the natural module of $\mathrm{SL}_{2}$, gives $\sigma = F + n - H$, an element of the hyperalgebra of $\mathrm{SL}_{2}$ over $\mathbb{Z}$. \item[2.] \textbf{The family decomposition (\S{}3).} Over $\mathbb{Z}_{2}$, $V^{\otimes n}$ is a direct sum of explicit lattices $T ( \lambda )$, built from $\mathbb{Z}$ by two operations: a lattice form $\Phi$ of the Frobenius twist ($T ( 2 l + 1 ) = \Phi ( T ( l ) )$) and the tensor product with $V$ ($T ( 2 l + 2 ) = V \otimes \Phi ( T ( l ) )$). The proof needs only an elementary lifting lemma for $\mathrm{SL}_{2}$. Since $\sigma$ is carried by every isomorphism, the group splits family by family. \item[3.] \textbf{The dance (\S{}4).} On $\Phi ( N )$ half of the relations have unit pivots; eliminating them leaves twice the same kind of operator on $N$, with the payment of each floor replaced by a product of two consecutive payments. On $V \otimes \Phi ( N )$ the same happens with two coupled \guillemotleft{}dancers\guillemotright{}. After $k$ moves $X ( \lambda , i )$ is the small clocks plus $\operatorname{coker} ( 2^{k} M ( \lambda , i ) )$ (the Smith exponents of $M$ raised by $k$), $M$ an explicit triangular matrix indexed by the dancers, whose entries are products of payments over windows times the coefficients of an explicit polynomial (Theorem D). Its entries have valuations given by carries (\S{}5). \item[4.] \textbf{The Smith form of $M$ (\S{}6--\S{}8).} The $r$-th determinantal divisor $d_{r}$ of $M$ is bounded below by the cheapest $r$-matching in the support of $M$, valued by $v_{2}$ (the tropical bound). It is at most the valuation of one natural minor, which has a unique cheapest matching (Theorem O); that valuation is a partial sum of the raw clocks, and convexity turns it into the partial sum of the pooled clocks (Lemma 6.4). Theorem F shows that every $r$-matching costs at least the partial sums of the pooled clocks, by a potential built digit by digit from the bottom of $\lambda + 1$. The two bounds meet. \item[5.] \textbf{The fold (\S{}10).} On each family the antipode acts as $\pm \exp ( F )$. The folded group is the cokernel of an operator that differs from the doubled one by a perturbation $\sum \zeta_{m} F^{( m )}$ of higher divided powers. The same dance applies to both. Every move stays clean because the coefficients of every level lie in a ring $\mathcal{K}$ of $2$-adic functions of twice the position, on which a shift-invariant reduction makes every Schur complement vanish modulo $2$ (Theorem 10.15). The perturbation then changes no valuation of the final matrix (Theorem 10.12). The even families are glued pairs of odd ones, and the glue survives the dance. \end{enumerate} \subsection*{\texorpdfstring{1.6 Notation and conventions}{1.6 Notation and conventions}} \addcontentsline{toc}{subsection}{\texorpdfstring{1.6 Notation and conventions}{1.6 Notation and conventions}} {\small\begin{longtable}{>{\raggedright\arraybackslash}p{0.204\linewidth}>{\raggedright\arraybackslash}p{0.638\linewidth}>{\raggedright\arraybackslash}p{0.071\linewidth}} \toprule symbol & meaning & first use \\ \midrule \endhead $Q_{n}$, $K ( Q_{n} )$, $\bar{K} ( n )$ & the $n$-cube, its sandpile group, that of the folded cube $Q_{n} / \langle \mathds{1} \rangle$ & \S{}1.1, \S{}1.3 \\ $s_{2}$, $v_{2}$, $\kappa ( a , b )$, $\varphi ( x )$ & binary digit sum, $2$-adic valuation, carries of $a + b$, $x + v_{2} x$ & \S{}1.2 \\ $\lambda$, $k$, $K$, $I$ & a family: $\lambda + 1 = 2^{k} + \sum_{t \in I} 2^{t}$, $K = 2^{k}$ & \S{}1.2 \\ $D$, $o_{D}$, $h_{t}$, $h ( D )$ & dancers $D \subseteq I$, $\sum_{t \in D} 2^{t}$, gaps $\operatorname{next} ( t ) - t$, $\sum_{t \in D} h_{t}$ & \S{}1.2 \\ $i$, $m$ & the shift $( n - \lambda ) / 2$, and $m = i - 1$ when $i \ge 1$ & \S{}1.2 \\ $m_{\lambda} ( n )$ & multiplicity of the family $\lambda$ in $V^{\otimes n}$ & \S{}1.2, \S{}3 \\ $u_{i} ( D )$, $\hat{y}_{i} ( D )$, $X ( \lambda , i )$ & raw clocks, pooled clocks, the group of a family & \S{}1.2 \\ $R = \mathbb{Z} [ ( \mathbb{Z} / 2 )^{n} ]$, $s_{S}$, $\sigma$ & the group ring, its basis $\prod_{i \in S} ( 1 - x_{i} )$, the Laplacian element & \S{}2 \\ $V$, $b_{0}$, $b_{1}$, $E$, $F$, $H$, $F^{( r )}$ & the natural module of $\mathrm{SL}_{2}$, its basis, the hyperalgebra generators & \S{}2 \\ $A = \mathbb{Z}_{2}$ & the base ring & \S{}2.2 \\ $\Delta_{A} ( \lambda )$, $\nabla_{A} ( \lambda )$ & Weyl and dual Weyl lattices & \S{}2.3 \\ $\Phi ( N )$, $T ( \lambda )$ & the doubling functor, the dance lattices & \S{}3 \\ $D$ (operator), $\pi ( d )$, $\sigma^{( \alpha )}_{i}$ & the floor operator, a payment, $F + 2^{\alpha} ( D + i )$ & \S{}2.2, \S{}3.4, \S{}4 \\ $M ( \lambda , i )$, $q_{k}$, $a_{k} ( \Delta )$, $\delta ( \Delta )$ & the final matrix, the coefficient polynomial, its coefficients and their valuations & \S{}4.4, \S{}4.5 \\ $R_{\mu} ( D )$, $\gamma ( \Delta )$, $x_{D}$, $\psi ( E )$ & rulers, gold, clocks of a cell, $\sum_{t \in E} ( h_{t} - 2^{t} )$ & \S{}1.2, \S{}5 \\ $d_{r}$, $T ( r )$, $U ( r )$, $Y ( r )$ & determinantal divisors, cheapest $r$-matching, natural and pooled partial sums & \S{}6 \\ $a = x_{1} \cdots x_{n}$, $\tau_{i}$, $\Psi_{j}$ & the antipode, the family operator, the folded odd-family operator & \S{}10 \\ $\mathcal{K}$, $\Theta$, $\mathcal{T}_{h}$ & the ring of functions $\vartheta ( y ) = a + 2 \chi ( 2 y )$, its reduction, the covariant systems of level $h$ & \S{}10.5 \\ \bottomrule \end{longtable}} A few letters have two meanings, each clear from its argument: $D$ is a dancer (a subset of $I$) and the floor operator of \S{}4; $K$ is $2^{k}$ and the sandpile group $K ( \cdot )$; $T ( \lambda )$ is a dance lattice and $T ( r )$ a cheapest-matching value; $\tau_{t}$ is a datum of a window (\S{}7.3) and $\tau_{i}$ the family operator of \S{}10; and \guillemotleft{}window\guillemotright{} is a range of floors in \S{}4.4 and a range of binary digits in \S{}7.3. Groups are written additively. \guillemotleft{}Lattice\guillemotright{} means a finitely generated free $\mathbb{Z}_{2}$-module, and for a square matrix $M$ over $\mathbb{Z}_{2}$ with non-zero determinant, $\operatorname{coker} M$ and its Smith form are taken over $\mathbb{Z}_{2}$. \subsection*{\texorpdfstring{1.7 Vocabulary, and why these names}{1.7 Vocabulary, and why these names}} \addcontentsline{toc}{subsection}{\texorpdfstring{1.7 Vocabulary, and why these names}{1.7 Vocabulary, and why these names}} Some words in this paper are ours. Each is defined where it first matters; this table gives its standard meaning. {\small\begin{longtable}{>{\raggedright\arraybackslash}p{0.130\linewidth}>{\raggedright\arraybackslash}p{0.700\linewidth}>{\raggedright\arraybackslash}p{0.083\linewidth}} \toprule our word & standard meaning & where \\ \midrule \endhead family $\lambda$; shift $i$ & the summand $T ( \lambda )$ of $V^{\otimes n}$ (Theorem 3.6); the integer $i = ( n - \lambda ) / 2$, so that the Laplacian acts on $T ( \lambda )$ as $F + \lambda - H + 2 i$ & \S{}1.2, \S{}3.4 \\ dance lattice $T ( \lambda )$ & a $\mathbb{Z}_{2}$-lattice whose reduction modulo $2$ is the indecomposable tilting module of $\mathrm{SL}_{2}$ of highest weight $\lambda$ in characteristic $2$ (Remark (1) after Theorem 3.6) & \S{}3.3 \\ dancers; o-order & the subsets $D \subseteq I$, which index the slots after the dance; their order by $o_{D} = \sum_{t \in D} 2^{t}$ & \S{}1.2, \S{}4.3 \\ floor & the grading by $( c - w ) / 2$ on the weight $w$; $F$ raises it by one & \S{}2.2 \\ payment; payment system & a diagonal operator given by a function of the floor; the operator $F$ plus payments on copies of a lattice, with lower-triangular couplings between the copies & \S{}4.1 \\ twist move; split move & one step of block Gaussian elimination: eliminate the unit pivots, take the Schur complement, divide by $2$. The split move first separates the two basis vectors of $V$, so that each dancer becomes two & \S{}4.2, \S{}10.3 \\ the dance & the $k$ moves, one for each binary digit of $\lambda + 1$ below the leading one & \S{}4.3 \\ final matrix; window & the triangular matrix $M ( \lambda , i )$ of size $2^{| I |}$ left by the dance; the range of floors whose payments are multiplied in one of its entries & \S{}4.4 \\ clock & a cyclic factor $\mathbb{Z} / 2^{e}$, named by its exponent $e$; the small clocks come from the eliminated pivots, the big clocks from the final matrix & \S{}1.2, \S{}4.3 \\ raw clocks; pooling & explicit integers $u_{i} ( D )$; their antitonic least-squares fit (isotonic regression, by pool-adjacent-violators), which in the cube is always an integer sequence (Lemma 7.9) & \S{}1.2, \S{}7.1 \\ cell & the data $( \lambda , i , \alpha )$ of one final matrix & \S{}5, \S{}6.1 \\ ruler; gold & the row and the column term of the valuation of an entry of the final matrix; the remaining term $\gamma$, which vanishes exactly on the golden arrows & \S{}5, \S{}6.2 \\ golden matching & the unique bijection $\beta_{r}$ all of whose arrows are golden; its term is the unique term of least valuation in the expansion of the natural minor & \S{}6.2 \\ mirror & the map $D \mapsto I \setminus D$, which reverses the o-order & \S{}6.1, \S{}7.1 \\ ceiling; floor (of the Smith form) & the upper and the lower bound for the determinantal divisors of the final matrix (Theorems O and F); this \guillemotleft{}floor\guillemotright{} is not the grading & \S{}6, \S{}7 \\ house; penalties & the binary data $( I , k , \ell , \alpha )$ of a cell, freed from $\lambda$ and $i$; the two correction terms of a real cell & \S{}7.3 \\ windows $W_{t}$; gates & the intervals of binary digits $[ t , \operatorname{next} ( t ) )$; the rule by which each of them lets a carry through (Lemma 7.6) & \S{}7.3 \\ podium & the $n + 1$ largest cyclic factors of $\operatorname{Syl}_{2} K ( Q_{n} )$ & \S{}1.4, \S{}9.2 \\ the fold & the quotient by the antipode $\mathds{1}$, which gives the folded cube & \S{}1.3, \S{}10 \\ dry; wet & reduction modulo $2$; the lattice over $\mathbb{Z}_{2}$ & below \\ arms; glue; bend & the two odd-family operators that make an even family; the triangular block form $\operatorname{glue} ( X , Y )$ that joins them; the estimate by which the two sides of the fold law differ by a unit at the end of the dance (Lemma 10.20) & \S{}10.2, \S{}10.7 \\ formal dance; positions; covariant system & the dance of operators with divided powers $F^{( m )}$; the numbers $2^{h} f + o_{D} + c$; a system whose coefficients depend only on $\Delta = D \setminus D'$, on $m$ and on the position of the target & \S{}10.3, \S{}10.5 \\ turned lid & a symmetry that we measured and did not prove & \S{}11 \\ \bottomrule \end{longtable}} \textbf{Why \guillemotleft{}dance\guillemotright{}.} Read the binary word of $\lambda + 1$ from the bottom. At a digit $0$ every dancer makes the same step, the twist move. At a digit $1$ every dancer splits into two partners, the split move. After $k$ digits there are $2^{| I |}$ dancers, the subsets of $I$. At the start each floor $d$ pays the even amount $2^{\alpha} ( i + d )$; each move gives every new floor a payment equal to minus half the product of the payments of two adjacent old floors, so every payment stays even; at the end the final matrix records who owes what to whom. The sand is the sandpile; the dance is the elimination that brings it to rest. \textbf{Why \guillemotleft{}dry\guillemotright{} and \guillemotleft{}wet\guillemotright{}.} Modulo $2$ --- dry --- the module $T ( 2 l + 1 )$ becomes $V \otimes T ( l )^{[ 1 ]}$, the tensor product of $V$ with a Frobenius twist (Proposition 3.1(c)), and the cokernel of the Laplacian modulo $2$ sees only the number of cyclic factors of the $2$-part. Over $\mathbb{Z}_{2}$ --- wet --- the twist has an integral form, the lattice $\Phi ( T ( l ) )$ of \S{}3.1, on which $F^{2}$ acts as $2 F$ of $T ( l )$, and every power of $2$ survives. The fold dries the cube by exactly one layer: the factors $\mathbb{Z} / 2$ disappear, and every other exponent drops by one (Theorem DW). \subsection*{\texorpdfstring{1.8 Literature and priority}{1.8 Literature and priority}} \addcontentsline{toc}{subsection}{\texorpdfstring{1.8 Literature and priority}{1.8 Literature and priority}} \textbf{What is ours, to the best of our knowledge}, after a search of the literature up to October 2026 (arXiv and journal searches, the citation trees of [Bai03], [CSX17] and [GMMY24] in Google Scholar and Semantic Scholar, and the sources listed below; MathSciNet was not searched): \begin{enumerate} \item[1.] the whole $2$-part of $K ( Q_{n} )$, for every $n$ (the Main Theorem); \item[2.] the decomposition of a sandpile group over tilting modules, with the reduction of each piece to a small explicit matrix (Theorems 3.6 and D) --- we found no tilting decomposition of any sandpile group; \item[3.] proofs of [GMMY24, Conjectures 4.14 and 5.4] and of the $( n + 1 )$-th factor of [MGM19] --- we found no other proof; \item[4.] the fold law and the sandpile group of the folded cube (Theorem DW, Corollary 1.4); \item[5.] the proof techniques of \S{}4--\S{}7 and \S{}10 as combinations: the dance, the cost form with carries, Theorems O, U and F, the ring $\mathcal{K}$ with Theorem 10.15, and Theorem 10.12. Each ingredient we did not invent is credited where it is used. \end{enumerate} \textbf{What is not ours.} Bai determined the odd part and proved Reiner's two counts [Bai03]. Gao, Marx-Kuo, McDonald and Yuen determined the $n - 1$ largest factors and posed the conjectures we prove; their Proposition 1.9 gives the odd part of every Cayley graph of $\mathbb{F}_{2}^{r}$, their Proposition 2.12 the $\mathbb{F}_{2}$-rank of the Laplacian of the folded cube (\S{}10.8), their Remark 4.4 contains Lemma 9.2(b), their Table 1 reproduces Bai's table of $\operatorname{Syl}_{2} K ( Q_{n} )$ for $n \le 11$, and the monomials of their change of variables $u_{i} = x_{i} - 1$ (proof of their Proposition 2.5) are, up to the sign $( - 1 )^{| S |}$, the basis we use [GMMY24]. Chandler, Sin and Xiang computed the Smith group of the adjacency matrix with the same monomial basis and Bier's vectors [CSX17], [Bie93], [Wil90]. Reiner and Tseng gave the exact sequence relating the critical groups of a double cover and of its base [RT14]; we use none of it, but the fold law is a statement about such a cover. The multiplicities of tilting modules of $\mathrm{SL}_{2}$ in tensor powers of $V$ in characteristic $2$ are known: they follow from Donkin's tensor product theorem [Don93] and the characters of [TW21], and Larsen gives the fusion rule of $V^{\otimes 2}$ at $p = 2$ [Lar24, \S{}2], which reproduces our recursion (\S{}12.2). The Weyl and dual Weyl filtrations, and the lifting of tilting decompositions over complete rings, are standard [Jan03, Don93]; we give the short elementary proofs needed for $\mathrm{SL}_{2}$ over $\mathbb{Z}_{2}$ (\S{}3.2), because the general references are written over fields or for other purposes. Kostant's commutation formula in the $\mathbb{Z}$-form of $U ( \mathfrak{sl}_{2} )$ is [Kos66], [Hum72, \S{}26]. Kummer's theorem [Kum52], Legendre's formula $v_{2} ( m ! ) = m - s_{2} ( m )$, the von Staudt--Clausen theorem [vSt40], [Cla40], Strassmann's theorem [Str28], and the pool-adjacent-violators algorithm [ABERS55] are classical. Related representation-theoretic computations of Smith and critical groups are those of Sin's school [CSX17], [DHS18] and the subset-intersection diagonal forms of [DEGJPP23]. \textbf{Contemporary context.} Vetluzhskikh and Zakharov compute the order of the kernel of the pushforward between critical groups of abelian covers [VZ24], and Len and Zakharov the order of the Prym group of a double cover [LZ22]; both give orders, not group structure. Akyar et al. recall that the exact sequence of Reiner and Tseng for a graph cover splits on primary components away from the primes dividing the covering degree, which makes the prime $2$ \guillemotleft{}a natural place to look for additional structure under an involution\guillemotright{} [Aky26, \S{}4]. Their reflections of odd grids have fixed vertices, so their fold is not a regular double cover, and they ask: \guillemotleft{}Can an analogous integral description with fixed vertices explain both the folded all-ones class and the remaining 2-primary factors?\guillemotright{} The antipodal fold of the cube has no fixed vertex: it is a regular double cover, and there the fold law describes the $2$-part. \textbf{If a result here was obtained earlier, we would be grateful to be told, and we will correct the record.} \section*{\texorpdfstring{2. The group ring as a module over the hyperalgebra of $\mathrm{SL}_{2}$}{2. The group ring as a module over the hyperalgebra of SL2}} \addcontentsline{toc}{section}{\texorpdfstring{2. The group ring as a module over the hyperalgebra of $\mathrm{SL}_{2}$}{2. The group ring as a module over the hyperalgebra of SL2}} \subsection*{\texorpdfstring{2.1 The Laplacian in the group ring}{2.1 The Laplacian in the group ring}} \addcontentsline{toc}{subsection}{\texorpdfstring{2.1 The Laplacian in the group ring}{2.1 The Laplacian in the group ring}} Let $G = ( \mathbb{Z} / 2 )^{n}$ with generators $x_{1} , \dots , x_{n}$, and $R \mathrel{:=} \mathbb{Z} [ G ]$. The Laplacian of the Cayley graph $Q_{n}$ of $G$ acts on $\mathbb{Z}^{G} = R$ as multiplication by \[\sigma \mathrel{:=} \sum_{i = 1}^{n} ( 1 - x_{i} ) .\] \noindent Since $Q_{n}$ is connected, $\operatorname{coker} ( \sigma \ \text{on}\ R ) \cong \mathbb{Z} \oplus K ( Q_{n} )$ [Lor91], [Big99]. Put $s_{i} \mathrel{:=} 1 - x_{i}$ and, for $S \subseteq \{ 1 , \dots , n \}$, $s_{S} \mathrel{:=} \prod_{i \in S} s_{i}$. The elements $s_{S}$ form a $\mathbb{Z}$-basis of $R$ (the change of basis from $\{ x_{S} \}$ is unitriangular for inclusion). \textbf{Lemma 2.1.} In $R$, \[s_{j} s_{S} = s_{S \cup \{ j \}} \quad\text{if}\quad j \notin S ,\quad s_{j} s_{S} = 2 s_{S} \quad\text{if}\quad j \in S .\] \noindent Hence $\sigma s_{S} = \sum_{j \notin S} s_{S \cup \{ j \}} + 2 | S | \cdot s_{S}$, that is, $\sigma = U + 2 D$, where $U s_{S} = \sum_{j \notin S} s_{S \cup \{ j \}}$ and $D s_{S} = | S | s_{S}$. \emph{Proof.} $s_{j}^{2} = ( 1 - x_{j} )^{2} = 2 - 2 x_{j} = 2 s_{j}$. \hfill\ensuremath{\blacksquare} Up to the sign $( - 1 )^{| S |}$, these are the monomials of the change of variables $u_{i} = x_{i} - 1$ used by Gao et al. [GMMY24, proof of Proposition 2.5], and the basis is the Laplacian analogue of the monomial basis in which Chandler, Sin and Xiang write the adjacency matrix [CSX17, \S{}5, (5)]. Since $( \mathbb{Z} \oplus K ) \otimes \mathbb{Z}_{2} \cong \mathbb{Z}_{2} \oplus \operatorname{Syl}_{2} K$ for a finite abelian group $K$, and $\otimes \mathbb{Z}_{2}$ is right exact, we have \textbf{$\mathbb{Z}_{2} \oplus \operatorname{Syl}_{2} K ( Q_{n} ) \cong \operatorname{coker} ( \sigma \ \text{on}\ R \otimes \mathbb{Z}_{2} )$.} \subsection*{\texorpdfstring{2.2 The hyperalgebra and the dictionary}{2.2 The hyperalgebra and the dictionary}} \addcontentsline{toc}{subsection}{\texorpdfstring{2.2 The hyperalgebra and the dictionary}{2.2 The hyperalgebra and the dictionary}} Let $U_{\mathbb{Q}}$ be the universal enveloping algebra of $\mathfrak{sl}_{2}$ over $\mathbb{Q}$, with generators $E , F , H$, $[ H , E ] = 2 E$, $[ H , F ] = - 2 F$, $[ E , F ] = H$. Its Kostant $\mathbb{Z}$-form $\mathrm{Dist}_{\mathbb{Z}}$ is the subring generated by the divided powers $E^{( r )} = E^{r} / r !$, $F^{( r )} = F^{r} / r !$ and the elements $C ( H , r ) = H ( H - 1 ) \cdots ( H - r + 1 ) / r !$ [Kos66], [Hum72, \S{}26]; it is the distribution algebra of $\mathrm{SL}_{2}$ over $\mathbb{Z}$. Kostant's formula \begin{equation*}E^{( s )} F^{( r )} = \sum_{j = 0}^{\min ( r , s )} F^{( r - j )} C ( H - r - s + 2 j , j ) E^{( s - j )}\tag*{(K)}\end{equation*} \noindent holds in $U_{\mathbb{Q}}$. Put $A \mathrel{:=} \mathbb{Z}_{2}$ and $\mathrm{Dist}_{A} \mathrel{:=} A \otimes \mathrm{Dist}_{\mathbb{Z}}$, a Hopf algebra with $\Delta ( F^{( r )} ) = \sum_{a + b = r} F^{( a )} \otimes F^{( b )}$, the same for $E$, and $\Delta ( H ) = H \otimes 1 + 1 \otimes H$. A \textbf{lattice} is a $\mathrm{Dist}_{A}$-module that is free of finite rank over $A$, on which $H$ acts diagonally with integer eigenvalues (the \textbf{weights}): the module is the direct sum of its weight spaces. A lattice $X$ has the \textbf{floor} grading for any integer $c \ge$ every weight of $X$ with $c \equiv$ the weights $\ (\mathrm{mod}\ 2)$: the floor of a weight vector of weight $w$ is $( c - w ) / 2$. We write $D$ for the floor operator (the floor relative to the top weight, unless said otherwise); $F$ raises the floor by one. Let $V \mathrel{:=} A b_{0} \oplus A b_{1}$ with $H b_{0} = b_{0}$, $H b_{1} = - b_{1}$, $F b_{0} = b_{1}$, $E b_{1} = b_{0}$, $F b_{1} = E b_{0} = 0$, and $E^{( r )} = F^{( r )} = 0$ on $V$ for $r \ge 2$: the natural module. \textbf{Lemma 2.2 (the dictionary).} The $A$-linear isomorphism $R \otimes A \to V^{\otimes n}$ that sends $s_{S}$ to the pure tensor with $b_{1}$ in the positions of $S$ and $b_{0}$ elsewhere carries $U$ to $F$, $D$ to $( n - H ) / 2$, and therefore \[\sigma = F + n - H .\] \emph{Proof.} On $V^{\otimes n}$, $F = \sum_{j} 1 \otimes \cdots \otimes F \otimes \cdots \otimes 1$ turns one $b_{0}$ into $b_{1}$ in every possible way, which is $U$; and a pure tensor with $| S |$ letters $b_{1}$ has weight $n - 2 | S |$. \hfill\ensuremath{\blacksquare} \textbf{Corollary 2.3.} If $V^{\otimes n} \cong \bigoplus_{j} M_{j}$ as $\mathrm{Dist}_{A}$-modules, then $\mathbb{Z}_{2} \oplus \operatorname{Syl}_{2} K ( Q_{n} ) \cong \bigoplus_{j} \operatorname{coker} ( F + n - H \ \text{on}\ M_{j} )$. \emph{Proof.} $\sigma = F + n - H$ is an element of $\mathrm{Dist}_{A}$ (it acts through $F$ and $H$), so every isomorphism of $\mathrm{Dist}_{A}$-modules carries $\sigma$ to $\sigma$, and the cokernel of an endomorphism that preserves a direct sum decomposition is the sum of the cokernels. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{2.3 Weyl lattices, duality, filtrations}{2.3 Weyl lattices, duality, filtrations}} \addcontentsline{toc}{subsection}{\texorpdfstring{2.3 Weyl lattices, duality, filtrations}{2.3 Weyl lattices, duality, filtrations}} For $\lambda \ge 0$ let $\Delta_{\mathbb{Q}} ( \lambda )$ be the simple $U_{\mathbb{Q}}$-module of highest weight $\lambda$ with highest weight vector $v$, and $\Delta_{A} ( \lambda ) \mathrel{:=} \mathrm{Dist}_{A} \cdot v$, the \textbf{Weyl lattice}. It has the basis $e_{r} \mathrel{:=} F^{( r )} v$ ($0 \le r \le \lambda$), with \[F e_{r} = ( r + 1 ) e_{r + 1} ,\quad E e_{r} = ( \lambda - r + 1 ) e_{r - 1} ,\quad H e_{r} = ( \lambda - 2 r ) e_{r} .\] \noindent Let $\iota$ be the anti-involution of $\mathrm{Dist}_{A}$ with $\iota ( E^{( r )} ) = F^{( r )}$, $\iota ( F^{( r )} ) = E^{( r )}$, $\iota ( H ) = H$. For a lattice $X$ the \textbf{contravariant dual} $X^{\iota} \mathrel{:=} \operatorname{Hom}_{A} ( X , A )$ with $( g \cdot \xi ) ( x ) \mathrel{:=} \xi ( \iota ( g ) x )$ is a lattice; $\iota$ is compatible with the coproduct, so $( X \otimes Y )^{\iota} \cong X^{\iota} \otimes Y^{\iota}$, and $V^{\iota} \cong V$ (the dual basis of $b_{0} , b_{1}$). The \textbf{dual Weyl lattice} is $\nabla_{A} ( \lambda ) \mathrel{:=} \Delta_{A} ( \lambda )^{\iota}$; in the dual basis $w_{r}$ of the $e_{r}$, \[F w_{r} = ( \lambda - r ) w_{r + 1} ,\quad E w_{r} = r w_{r - 1} .\] \noindent A \textbf{$\Delta$-filtration} of a lattice $X$ is a chain of sublattices $0 = X_{0} \subset X_{1} \subset \cdots \subset X_{s} = X$, each $X / X_{j}$ free over $A$, with $X_{j} / X_{j - 1} \cong \Delta_{A} ( \lambda_{j} )$; a \textbf{$\nabla$-filtration} is the same with $\nabla_{A}$. The map $\iota$ exchanges them. \textbf{Lemma 2.4.} For $m \ge 1$, $\Delta_{A} ( m ) \otimes V$ has a $\Delta$-filtration with factors $\Delta_{A} ( m + 1 )$ (a sublattice) and $\Delta_{A} ( m - 1 )$ (the quotient), and $\nabla_{A} ( m ) \otimes V$ a $\nabla$-filtration with factors $\nabla_{A} ( m - 1 )$, $\nabla_{A} ( m + 1 )$. Moreover, $\Delta_{A} ( 0 ) \otimes V = V = \Delta_{A} ( 1 ) = \nabla_{A} ( 1 )$. \emph{Proof.} Let $v$ be the highest weight vector of $\Delta_{A} ( m )$. The vectors $F^{( r )} ( v \otimes b_{0} ) = F^{( r )} v \otimes b_{0} + F^{( r - 1 )} v \otimes b_{1}$ ($0 \le r \le m + 1$) are primitive in the basis $\{ F^{( r )} v \otimes b_{e} \}$, so they span a saturated sublattice $X_{1}$; it is $\mathrm{Dist}_{A} \cdot ( v \otimes b_{0} )$. Over $\mathbb{Q}$, $X_{1} \otimes \mathbb{Q}$ is generated by a vector of weight $m + 1$ killed by every $E^{( s )}$, $s \ge 1$, and has dimension $m + 2$, so it is the simple module $\Delta_{\mathbb{Q}} ( m + 1 )$, with $v \otimes b_{0}$ as highest weight vector; and $\mathrm{Dist}_{A}$ applied to the highest weight vector gives $\Delta_{A} ( m + 1 )$ on one side and $X_{1}$ on the other. So $X_{1} \cong \Delta_{A} ( m + 1 )$. The quotient is free of rank $m$, spanned by the images of $F^{( s )} v \otimes b_{1}$ ($0 \le s < m$): indeed $F^{( m )} v \otimes b_{1} = F^{( m + 1 )} ( v \otimes b_{0} ) \in X_{1}$. The image $v'$ of $v \otimes b_{1}$ is killed by $E$ ($E ( v \otimes b_{1} ) = v \otimes b_{0} \in X_{1}$) and by every $E^{( s )}$, $s \ge 2$, and $F^{( s )} ( v \otimes b_{1} ) = F^{( s )} v \otimes b_{1}$ (since $F^{( r )} b_{1} = 0$ for $r \ge 1$); so the quotient is $\mathrm{Dist}_{A} \cdot v' \cong \Delta_{A} ( m - 1 )$. The statement for $\nabla$ follows by the duality $\iota$. \hfill\ensuremath{\blacksquare} \section*{\texorpdfstring{3. The dance lattices and the family decomposition}{3. The dance lattices and the family decomposition}} \addcontentsline{toc}{section}{\texorpdfstring{3. The dance lattices and the family decomposition}{3. The dance lattices and the family decomposition}} \subsection*{\texorpdfstring{3.1 The doubling functor}{3.1 The doubling functor}} \addcontentsline{toc}{subsection}{\texorpdfstring{3.1 The doubling functor}{3.1 The doubling functor}} Let $N$ be a lattice. On the free $A$-module $\Phi ( N ) \mathrel{:=} b_{0} \otimes N \oplus b_{1} \otimes N$ (we write $b_{e} n$ for $b_{e} \otimes n$) define, for $n$ of weight $w$, \[H ( b_{0} n ) = ( 2 w + 1 ) b_{0} n ,\quad H ( b_{1} n ) = ( 2 w - 1 ) b_{1} n ,\] \[F ( b_{0} n ) = b_{1} n ,\quad F ( b_{1} n ) = 2 b_{0} ( F n ) ,\] \[E ( b_{0} n ) = 2 b_{1} ( E n ) ,\quad E ( b_{1} n ) = b_{0} ( \Omega - H^{2} ) n ,\] \noindent where $\Omega \mathrel{:=} 4 F E + ( H + 1 )^{2}$ acts on $N$; on a vector of weight $w$, $\Omega - H^{2} = 4 F E + 2 w + 1$. For a morphism $f$ of lattices put $\Phi ( f ) \mathrel{:=} 1 \otimes f$. \textbf{Proposition 3.1.}\\ (a) $\Phi ( N )$ is a lattice, $\Phi$ is an exact functor, and it sends saturated sublattices to saturated sublattices.\\ (b) On $\Phi ( N )$, for $s \ge 0$ and $e = 0 , 1$: \begin{gather*}F^{( 2 s )} ( b_{e} n ) = b_{e} F^{( s )} n / ( 2 s - 1 ) !! , \\ F^{( 2 s + 1 )} ( b_{0} n ) = b_{1} F^{( s )} n / ( 2 s + 1 ) !! ,\end{gather*} \[F^{( 2 s + 1 )} ( b_{1} n ) = ( ( 2 s + 2 ) / ( 2 s + 1 ) !! ) \cdot b_{0} F^{( s + 1 )} n .\] \noindent (c) $\Phi ( N ) \otimes \mathbb{F}_{2} \cong V \otimes ( N \otimes \mathbb{F}_{2} )^{[ 1 ]}$ as $\mathrm{Dist}_{\mathbb{F}_{2}}$-modules, where $M^{[ 1 ]}$ is the Frobenius twist ($F^{( 2 s )}$, $E^{( 2 s )}$ act as $F^{( s )}$, $E^{( s )}$, the odd divided powers act as $0$, and $H$ acts as $2 H$).\\ (d) $\Phi ( \Delta_{A} ( \mu ) ) \cong \Delta_{A} ( 2 \mu + 1 )$ and $\Phi ( \nabla_{A} ( \mu ) ) \cong \nabla_{A} ( 2 \mu + 1 )$; $\Phi ( A ) = V$. \emph{Proof.} (a) \emph{The relations.} On $b_{0} n$ (weight $2 w + 1$): $E F ( b_{0} n ) = E ( b_{1} n ) = b_{0} ( 4 F E + 2 w + 1 ) n$ and $F E ( b_{0} n ) = F ( 2 b_{1} E n ) = 4 b_{0} F E n$, so $[ E , F ] = 2 w + 1$. On $b_{1} n$ (weight $2 w - 1$): $E F ( b_{1} n ) = 4 b_{1} E F n$ and $F E ( b_{1} n ) = b_{1} ( 4 F E + 2 w + 1 ) n$, so $[ E , F ] = 4 ( E F - F E ) - 2 w - 1 = 4 w - 2 w - 1 = 2 w - 1$. The relations with $H$ hold by weights. So $\Phi ( N ) \otimes \mathbb{Q}$ is a $U_{\mathbb{Q}}$-module, and $\Phi ( N )$ is stable under $F$ and $H$. \emph{Divided powers.} From the formulas, $F^{2 s} ( b_{0} n ) = 2^{s} b_{0} F^{s} n$, $F^{2 s + 1} ( b_{0} n ) = 2^{s} b_{1} F^{s} n$, $F^{2 s} ( b_{1} n ) = 2^{s} b_{1} F^{s} n$, $F^{2 s + 1} ( b_{1} n ) = 2^{s + 1} b_{0} F^{s + 1} n$; dividing by $( 2 s ) ! = 2^{s} s ! ( 2 s - 1 ) !!$ and $( 2 s + 1 ) ! = 2^{s} s ! ( 2 s + 1 ) !!$ gives (b), whose denominators are odd. For $E$, $\Omega$ is central in $U_{\mathbb{Q}}$ and integral, and $E f ( H ) = f ( H - 2 ) E$; by induction, on $n$ of weight $w$, \begin{gather*}E^{2 s} ( b_{1} n ) = 2^{s} \prod_{0 \le j < s} ( \Omega - ( w + 2 j )^{2} ) \cdot b_{1} E^{s} n , \\ E^{2 s + 1} ( b_{1} n ) = 2^{s} \prod_{0 \le j \le s} ( \Omega - ( w + 2 j )^{2} ) \cdot b_{0} E^{s} n ,\end{gather*} \begin{gather*}E^{2 s} ( b_{0} n ) = 2^{s} \prod_{1 \le j \le s} ( \Omega - ( w + 2 j )^{2} ) \cdot b_{0} E^{s} n , \\ E^{2 s + 1} ( b_{0} n ) = 2^{s + 1} \prod_{1 \le j \le s} ( \Omega - ( w + 2 j )^{2} ) \cdot b_{1} E^{s + 1} n ;\end{gather*} \noindent dividing by the factorials leaves $E^{( s )}$ or $E^{( s + 1 )}$ of $N$ times odd denominators ($2 ( s + 1 ) / ( 2 s + 1 ) !!$ for the last one). The $C ( H , r )$ act by integers. So $\Phi ( N )$ is stable under $\mathrm{Dist}_{A}$, and it is a lattice. The map $\Phi ( f ) = 1 \otimes f$ commutes with all the formulas because they use only the action on $N$; exactness and saturation are clear because $\Phi ( N ) = N^{2}$ as $A$-modules.\\ (c) On a vector of weight $w + 2 s$, $\Omega \equiv ( H + 1 )^{2} \ (\mathrm{mod}\ 4)$, so $\Omega - ( w + 2 j )^{2} \equiv ( w + 2 s + 1 )^{2} - ( w + 2 j )^{2} = ( 2 s - 2 j + 1 ) ( 2 w + 2 s + 2 j + 1 )$, an odd number, modulo $2$. Hence modulo $2$, $F^{( 2 s )}$ and $E^{( 2 s )}$ act as $1 \otimes F^{( s )}$, $1 \otimes E^{( s )}$; $F^{( 2 s + 1 )} ( b_{0} n ) = b_{1} F^{( s )} n$, $F^{( 2 s + 1 )} ( b_{1} n ) = 0$, $E^{( 2 s + 1 )} ( b_{1} n ) = b_{0} E^{( s )} n$, $E^{( 2 s + 1 )} ( b_{0} n ) = 0$. These are the formulas of $V \otimes M^{[ 1 ]}$ computed with the coproduct, since on $M^{[ 1 ]}$ only the even divided powers act.\\ (d) Order the basis of $\Phi ( \nabla_{A} ( \mu ) )$ by weight: $b_{0} w_{s}$ (index $2 s$), $b_{1} w_{s}$ (index $2 s + 1$). Then $F ( b_{0} w_{s} ) = b_{1} w_{s}$ and $F ( b_{1} w_{s} ) = 2 ( \mu - s ) b_{0} w_{s + 1}$, while in $\nabla_{A} ( 2 \mu + 1 )$, $F w'_{R} = ( 2 \mu + 1 - R ) w'_{R + 1}$, that is $2 \mu + 1 - 2 s$ for $R = 2 s$ and $2 ( \mu - s )$ for $R = 2 s + 1$. The diagonal map $w'_{R} \mapsto c_{R} \cdot ( R - \text{th vector} )$ with $c_{2 s} = ( 2 \mu + 1 - 2 s ) c_{2 s + 1}$, $c_{2 s + 1} = c_{2 s + 2}$, $c_{0} = 1$, has odd ratios, so it is an isomorphism of $A$-modules; it commutes with $F$ and $H$. Over $\mathbb{Q}$ both modules are simple: $\Phi ( \nabla_{A} ( \mu ) ) \otimes \mathbb{Q}$ has the character of $\Delta ( 2 \mu + 1 )$, and by Weyl's theorem on complete reducibility a finite-dimensional $U_{\mathbb{Q}}$-module with the character of a simple module is simple; and on a simple module $E$ is determined by $F$, $H$ and $E ( \mathrm{top} ) = 0$, through $E F x = F E x + H x$; so the map commutes with $E$, hence with $\mathrm{Dist}_{A} \otimes \mathbb{Q}$ and with $\mathrm{Dist}_{A}$. The same argument with $F e_{r} = ( r + 1 ) e_{r + 1}$ gives $\Phi ( \Delta_{A} ( \mu ) ) \cong \Delta_{A} ( 2 \mu + 1 )$ (ratios $( 2 s + 1 )$ and $1$). Finally, $\Phi ( A ) = V$ is (d) with $\mu = 0$. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{3.2 Lifting from $\mathbb{F}_{2}$}{3.2 Lifting from F2}} \addcontentsline{toc}{subsection}{\texorpdfstring{3.2 Lifting from $\mathbb{F}_{2}$}{3.2 Lifting from F2}} \textbf{Lemma 3.2 (Lemma W).} Let $X$ be a lattice with a sublattice $N$ such that $X / N \cong \Delta_{A} ( \lambda )$ and every weight of $N$ lies in $[ - \lambda , \lambda ]$. Then the extension splits. \emph{Proof.} Lift the highest weight vector $v$ of $\Delta_{A} ( \lambda )$ to $x \in X$ of weight $\lambda$. Every weight of $X$ lies in $[ - \lambda , \lambda ]$, so $E^{( s )} x = 0$ for $s \ge 1$ and $F^{( r )} x = 0$ for $r > \lambda$. Define the $A$-linear map $f : \Delta_{A} ( \lambda ) \to X$ by $f ( e_{r} ) \mathrel{:=} F^{( r )} x$. Then \[F^{( t )} f ( e_{r} ) = C ( r + t , t ) F^{( r + t )} x = f ( F^{( t )} e_{r} )\] \noindent (both sides vanish when $r + t > \lambda$), and by (K) \[E^{( s )} F^{( r )} x = C ( \lambda - r + s , s ) F^{( r - s )} x ,\] \noindent which is the same formula as on $v$; so $f$ is a $\mathrm{Dist}_{A}$-map splitting the extension. \hfill\ensuremath{\blacksquare} \textbf{Lemma 3.3.} For all $\lambda , \mu \ge 0$, $\operatorname{Ext}^{1} ( \Delta_{A} ( \lambda ) , \nabla_{A} ( \mu ) ) = 0$ (extensions of $\mathrm{Dist}_{A}$-modules; an extension $X$ of two lattices is a lattice: $X \otimes \mathbb{Q}$ is semisimple by Weyl's theorem, so $H$ is diagonalizable on it with integer eigenvalues, and the projection onto the weight space of weight $w$ is $P ( H )$, where $P$ is the polynomial of degree at most $w_{1} - w_{0}$ that takes the value $1$ at $w$ and $0$ at the other integers of $[ w_{0} , w_{1} ]$, $w_{0}$ and $w_{1}$ the least and the largest weight; by Newton's forward differences \[P ( H ) = \sum_{r} ( \Delta^{r} P ) ( w_{0} ) \cdot C ( H - w_{0} , r )\] \noindent with integer coefficients $( \Delta^{r} P ) ( w_{0} )$, and the $C ( H - w_{0} , r )$ lie in $\mathrm{Dist}_{\mathbb{Z}}$; so $X$ is the direct sum of its weight spaces). Consequently, if $M$ has a $\Delta$-filtration and $N$ a $\nabla$-filtration, then $\operatorname{Ext}^{1} ( M , N ) = 0$, and the reduction map $\operatorname{Hom}_{\mathrm{Dist}_{A}} ( M , N ) \to \operatorname{Hom}_{\mathrm{Dist}_{\mathbb{F}_{2}}} ( M \otimes \mathbb{F}_{2} , N \otimes \mathbb{F}_{2} )$ is onto. \emph{Proof.} If $\mu \le \lambda$, the weights of $\nabla_{A} ( \mu )$ lie in $[ - \mu , \mu ] \subseteq [ - \lambda , \lambda ]$: Lemma 3.2. If $\mu > \lambda$, the duality $\iota$ identifies the group with $\operatorname{Ext}^{1} ( \Delta_{A} ( \mu ) , \nabla_{A} ( \lambda ) )$, which vanishes by the first case. The long exact sequences of $\operatorname{Ext}$ along the filtrations give $\operatorname{Ext}^{1} ( M , N ) = 0$. Applying $\operatorname{Hom} ( M , - )$ to $0 \to N \to N \to N \otimes \mathbb{F}_{2} \to 0$ (the first map is multiplication by $2$) gives the exact sequence $\operatorname{Hom} ( M , N ) \to \operatorname{Hom} ( M , N \otimes \mathbb{F}_{2} ) \to \operatorname{Ext}^{1} ( M , N ) = 0$, and \[\operatorname{Hom}_{\mathrm{Dist}_{A}} ( M , N \otimes \mathbb{F}_{2} ) = \operatorname{Hom}_{\mathrm{Dist}_{\mathbb{F}_{2}}} ( M \otimes \mathbb{F}_{2} , N \otimes \mathbb{F}_{2} ) .\qquad\blacksquare\] \textbf{Corollary 3.4.} Let $X , Y$ be lattices that both have a $\Delta$-filtration and a $\nabla$-filtration. If $X \otimes \mathbb{F}_{2} \cong Y \otimes \mathbb{F}_{2}$, then $X \cong Y$. \emph{Proof.} Lift an isomorphism $\bar{f}$ and its inverse to $f : X \to Y$, $g : Y \to X$ (Lemma 3.3). Then $g f \equiv 1 \ (\mathrm{mod}\ 2)$ in the ring $\operatorname{End} ( X )$, which is a free $A$-module of finite rank, so $g f = 1 + 2 h$ is invertible ($A$ is complete); likewise $f g$. So $f$ is an isomorphism. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{3.3 The dance lattices}{3.3 The dance lattices}} \addcontentsline{toc}{subsection}{\texorpdfstring{3.3 The dance lattices}{3.3 The dance lattices}} Define lattices $T ( \lambda )$, $\lambda \ge 0$, by \[T ( 0 ) \mathrel{:=} A ,\quad T ( 2 l + 1 ) \mathrel{:=} \Phi ( T ( l ) ) ,\quad T ( 2 l + 2 ) \mathrel{:=} V \otimes \Phi ( T ( l ) ) .\] \noindent Reading $\lambda + 1$ in binary from the leading digit down, $T ( \lambda )$ is obtained from $A$ by $k$ moves, one per binary digit below the leading one: a digit $0$ is a $\Phi$ and a digit $1$ is a $V \otimes \Phi$. If $\lambda + 1 = 2^{k} + \sum_{t \in I} 2^{t}$, the rank of $T ( \lambda )$ is $2^{k + | I |}$; its weights are $\lambda , \lambda - 2 , \dots , - \lambda$ (the top weight occurs once), and its character is \[\operatorname{ch} T ( \lambda ) = \prod_{t < k} ( e^{2^{t}} + e^{- 2^{t}} ) \cdot \prod_{t \in I} ( e^{2^{t}} + e^{- 2^{t}} ) ,\] \noindent because \[\operatorname{ch} \Phi ( N ) = ( e + e^{- 1} ) \cdot ( \operatorname{ch} N ) ( e^{2} ) \quad\text{and}\quad \operatorname{ch} ( V \otimes M ) = ( e + e^{- 1} ) \operatorname{ch} M .\] \noindent By Lemma 2.4 and Proposition 3.1(d), every $T ( \lambda )$ and every $V^{\otimes n} \otimes A$ has a $\Delta$-filtration and a $\nabla$-filtration (both operations preserve each kind of filtration). \textbf{Lemma 3.5.} Over $\mathbb{F}_{2}$, $V^{\otimes 3} \cong \Delta ( 3 ) \oplus V^{2}$ and $\Delta ( 3 ) \cong V \otimes V^{[ 1 ]}$. Consequently, for every lattice $N$, \[( V \otimes V \otimes \Phi ( N ) ) \otimes \mathbb{F}_{2} \cong ( \Phi ( N )^{2} \oplus \Phi ( V \otimes N ) ) \otimes \mathbb{F}_{2} .\] \emph{Proof.} The submodule of $V^{\otimes 3}$ generated by $b_{0}^{\otimes 3}$ is $\Delta ( 3 )$; its contravariant form takes the values $1 , 3 , 3 , 1$ (that is, $C ( 3 , r )$), all units, so $V^{\otimes 3} = \Delta ( 3 ) \oplus \Delta ( 3 )^{\perp}$, and $\Delta ( 3 )^{\perp}$ is stable because the form is contravariant. This complement has weights $\pm 1$ only; on its weight-$1$ space $E = 0$, so $E F = H = 1$ there, $F$ maps it isomorphically onto the weight-$( - 1 )$ space, and each pair $\{ p , F p \}$ spans a copy of $V$: $\Delta ( 3 )^{\perp} \cong V^{2}$. The construction in the proof of Lemma 3.2, which works verbatim over $\mathbb{F}_{2}$, gives a map $\Delta ( 3 ) \to V \otimes V^{[ 1 ]}$, $v \mapsto b_{0} \otimes b_{0}$; its image contains $b_{0} b_{0}$, $b_{1} b_{0}$, $b_{0} b_{1} = F^{( 2 )} ( b_{0} b_{0} )$ and $b_{1} b_{1}$, so it is onto, and both have dimension $4$. Finally, with Proposition 3.1(c) and the monoidality of the twist, \begin{center}$\displaystyle ( V \otimes V \otimes \Phi ( N ) ) \otimes \mathbb{F}_{2} \cong V^{\otimes 3} \otimes \bar{N}^{[ 1 ]} \cong ( V \otimes V^{[ 1 ]} \otimes \bar{N}^{[ 1 ]} ) \oplus ( V \otimes \bar{N}^{[ 1 ]} )^{2} = ( V \otimes ( V \otimes \bar{N} )^{[ 1 ]} ) \oplus ( V \otimes \bar{N}^{[ 1 ]} )^{2} ,$\end{center} \noindent which is $( \Phi ( V \otimes N ) \oplus \Phi ( N )^{2} ) \otimes \mathbb{F}_{2}$ ($\bar{N} \mathrel{:=} N \otimes \mathbb{F}_{2}$). \hfill\ensuremath{\blacksquare} \textbf{Theorem 3.6 (the family decomposition).} For every $n \ge 0$, as $\mathrm{Dist}_{A}$-lattices, \[V^{\otimes n} \otimes A \cong \bigoplus_{\lambda} T ( \lambda )^{m_{\lambda} ( n )} ,\] \noindent with the multiplicities $m_{\lambda} ( n )$ of \S{}1.2. \emph{Proof.} Induction on $n$, applying $V \otimes -$ to the decomposition for $n - 1$; it suffices that $V \otimes T ( \lambda )$ decomposes according to the rule $V \cdot [ \lambda ]$ of \S{}1.2. Now $V \otimes T ( 0 ) = V = \Phi ( A ) = T ( 1 )$, and $V \otimes T ( 2 l + 1 ) = V \otimes \Phi ( T ( l ) ) = T ( 2 l + 2 )$ by definition. For $V \otimes T ( 2 l + 2 ) = V \otimes V \otimes \Phi ( T ( l ) )$: both it and $\Phi ( T ( l ) )^{2} \oplus \Phi ( V \otimes T ( l ) )$ have $\Delta$- and $\nabla$-filtrations, and their reductions are isomorphic (Lemma 3.5), so they are isomorphic (Corollary 3.4). Here $\Phi ( T ( l ) )^{2} = T ( 2 l + 1 )^{2}$, and $V \otimes T ( l )$ decomposes by induction on $l$ ($\Phi$ is additive and $\Phi ( T ( \nu ) ) = T ( 2 \nu + 1 )$). \hfill\ensuremath{\blacksquare} \textbf{Remarks.} (1) $T ( \lambda ) \otimes \mathbb{F}_{2}$ is the indecomposable tilting module of $\mathrm{SL}_{2}$ of highest weight $\lambda$ in characteristic $2$ (Donkin's tensor product theorem [Don93]), so $m_{\lambda} ( n )$ is its multiplicity in $V^{\otimes n}$; this identification is not used. The multiplicities are known: they can be read off by peeling the characters above off $( e + e^{- 1} )^{n}$ [TW21], and Larsen gives the fusion rule of $V^{\otimes 2}$ in characteristic $2$ [Lar24, \S{}2]; iterating Larsen's rule reproduces the recursion of \S{}1.2 for every even $n \le 64$ (\S{}12.2). What we add is the integral statement over $\mathbb{Z}_{2}$, with explicit lattices. (2) The proof uses no result of the general theory of tilting modules: only (K), Lemma 3.2, Weyl's theorem on complete reducibility over $\mathbb{Q}$, and the completeness of $\mathbb{Z}_{2}$. \textbf{Lemma 3.7.} For $n \ge 1$: $m_{0} ( n ) = 0$; $m_{n} ( n ) = 1$; $m_{1} ( n ) = 2^{( n - 1 ) / 2}$ for odd $n$; $m_{2} ( n ) = 2^{( n - 2 ) / 2}$ for even $n$. \emph{Proof.} In the rule $V \cdot [ \lambda ]$ the produced symbols are $[ 1 ]$, $[ \lambda + 1 ]$ with $\lambda$ odd (even and $\ge 2$), $[ 2 l + 1 ]$, and $\Phi ( \cdot ) = [ 2 \nu + 1 ]$ (odd): $[ 0 ]$ is never produced. The symbol $[ \lambda + 1 ]$ is the largest symbol of $V \cdot [ \lambda ]$, with coefficient $1$, so $m_{n} ( n ) = 1$. The symbol $[ 2 ]$ is produced only by $V \cdot [ 1 ]$, so $m_{2} ( n + 1 ) = m_{1} ( n )$. The symbol $[ 1 ]$ is produced by $V \cdot [ 0 ]$ and by the term $2 [ 2 l + 1 ]$ of $V \cdot [ 2 ]$ ($l = 0$), and by $\Phi ( V \cdot [ l ] )$ only if $V \cdot [ l ]$ contains $[ 0 ]$, which never happens; so $m_{1} ( n + 1 ) = m_{0} ( n ) + 2 m_{2} ( n ) = 2 m_{2} ( n )$ for $n \ge 1$, with $m_{1} ( 1 ) = 1$. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{3.4 The groups of the families}{3.4 The groups of the families}} \addcontentsline{toc}{subsection}{\texorpdfstring{3.4 The groups of the families}{3.4 The groups of the families}} For a family $\lambda$, an integer $\alpha \ge 1$ and a shift $i \ge 0$, let $D$ be the floor operator of $T ( \lambda )$ (floor $( \lambda - w ) / 2$ on weight $w$) and put \[\sigma^{( \alpha )}_{i} \mathrel{:=} F + 2^{\alpha} ( D + i ) ,\quad X^{( \alpha )} ( \lambda , i ) \mathrel{:=} \operatorname{coker} ( \sigma^{( \alpha )}_{i} \ \text{on}\ T ( \lambda ) ) .\] \noindent For $\alpha = 1$, $\sigma^{( 1 )}_{i} = F + \lambda - H + 2 i$. \textbf{Theorem 3.8.} For every $n \ge 1$, \textbf{$\mathbb{Z}_{2} \oplus \operatorname{Syl}_{2} K ( Q_{n} ) \cong \bigoplus_{\lambda} X^{( 1 )} ( \lambda , ( n - \lambda ) / 2 )^{m_{\lambda} ( n )}$.} \emph{Proof.} Corollary 2.3 and Theorem 3.6. On a summand $T ( \lambda )$ of $V^{\otimes n}$, \[\sigma = F + n - H = F + ( \lambda - H ) + ( n - \lambda ) = \sigma^{( 1 )}_{( n - \lambda ) / 2} .\qquad\blacksquare\] The cube uses $\alpha = 1$; the fold law (\S{}10) uses $\alpha = 2$. The rest of the paper computes $X^{( \alpha )} ( \lambda , i )$. \section*{\texorpdfstring{4. The dance: Theorem D}{4. The dance: Theorem D}} \addcontentsline{toc}{section}{\texorpdfstring{4. The dance: Theorem D}{4. The dance: Theorem D}} \subsection*{\texorpdfstring{4.1 Payment systems}{4.1 Payment systems}} \addcontentsline{toc}{subsection}{\texorpdfstring{4.1 Payment systems}{4.1 Payment systems}} Let $N$ be a lattice graded by floors $0 , 1 , \dots , f_{\max}$, on which $F$ maps floor $f$ into floor $f + 1$. A \textbf{payment} is a function $\pi : \mathbb{Z}_{\ge 0} \to A$; $\pi ( D )$ denotes the operator that multiplies floor $f$ by $\pi ( f )$. A \textbf{payment system of size $r$} on $N$ is an operator on $N^{\oplus r}$, with slots $1 , \dots , r$, of the form \[G ( x \iota_{s'} ) = ( F + \pi_{s'} ( D ) ) x \iota_{s'} + \sum_{s > s'} K_{s s'} ( D ) x \iota_{s} \qquad( x \in N ),\] \noindent where $\iota_{s}$ places an element in slot $s$ and the \textbf{couplings} $K_{s s'}$ are payments. It is \textbf{even} if every value of every $\pi_{s}$ and $K_{s s'}$ lies in $2 A$. The operator $\sigma^{( \alpha )}_{i}$ on $T ( \lambda )$ (\S{}3.4) is an even payment system of size $1$, with $\pi ( d ) = 2^{\alpha} ( i + d )$, because $\alpha \ge 1$. \subsection*{\texorpdfstring{4.2 The two moves}{4.2 The two moves}} \addcontentsline{toc}{subsection}{\texorpdfstring{4.2 The two moves}{4.2 The two moves}} \textbf{Proposition 4.1 (the twist move).} Let $N = \Phi ( N' )$ with its floor grading (the floor of $b_{e} n'$ is $2 f + e$ if $n'$ has floor $f$). For an even payment system $G$ of size $r$ on $N$, \[\operatorname{coker} G \cong \operatorname{coker} ( 2 G' ) ,\] \noindent where $G'$ is the even payment system of size $r$ on $N'$ with \[\pi'_{s} ( f ) = - \pi_{s} ( 2 f ) \pi_{s} ( 2 f + 1 ) / 2 ,\] \begin{center}$\displaystyle K'_{u s'} ( f ) = - \tfrac12 [ \pi_{s'} ( 2 f + 1 ) K_{u s'} ( 2 f ) + K_{u s'} ( 2 f + 1 ) \pi_{u} ( 2 f ) + \sum_{s' < s < u} K_{s s'} ( 2 f + 1 ) K_{u s} ( 2 f ) ] .$\end{center} \emph{Proof.} On $\Phi ( N' )$, $F ( b_{0} n ) = b_{1} n$ and $F ( b_{1} n ) = 2 b_{0} ( F n )$. For $n \in N'$ of floor $f$, the relation $G ( b_{0} n \iota_{s'} ) = b_{1} n \iota_{s'} + \pi_{s'} ( 2 f ) b_{0} n \iota_{s'} + \sum_{s > s'} K_{s s'} ( 2 f ) b_{0} n \iota_{s}$ has coefficient $1$ on $b_{1} n \iota_{s'}$, and every other term lies in $b_{0} \otimes N'$. Eliminating these relations (one for each $n$ and $s'$), we see that $\operatorname{coker} G$ is the quotient of $( b_{0} \otimes N' )^{\oplus r}$ by the relations $G ( b_{1} n \iota_{s'} )$, where every $b_{1} x \iota_{s}$ is replaced by $- \pi_{s} ( 2 f ) b_{0} x \iota_{s} - \sum_{u > s} K_{u s} ( 2 f ) b_{0} x \iota_{u}$. That relation is \[2 b_{0} ( F n ) \iota_{s'} - \pi_{s'} ( 2 f + 1 ) \pi_{s'} ( 2 f ) b_{0} n \iota_{s'}\] \begin{center}$\displaystyle - \sum_{u > s'} [ \pi_{s'} ( 2 f + 1 ) K_{u s'} ( 2 f ) + K_{u s'} ( 2 f + 1 ) \pi_{u} ( 2 f ) + \sum_{s' < s < u} K_{s s'} ( 2 f + 1 ) K_{u s} ( 2 f ) ] b_{0} n \iota_{u} ,$\end{center} \noindent which is $2 G' ( n \iota_{s'} )$ under $b_{0} x \mapsto x$. The values of $G'$ are halves of products of two elements of $2 A$, so they lie in $2 A$. \hfill\ensuremath{\blacksquare} \textbf{Proposition 4.2 (the split move).} Let $N = V \otimes \Phi ( N' )$. For $n \in N'$ of floor $f$ put \begin{gather*}A_{n} \mathrel{:=} b_{0} \otimes b_{0} n ,\quad B_{n} \mathrel{:=} b_{0} \otimes b_{1} n - b_{1} \otimes b_{0} n ,\quad C_{n} \mathrel{:=} b_{1} \otimes b_{0} n , \\ \mathrm{Dd}_{n} \mathrel{:=} b_{1} \otimes b_{1} n ,\end{gather*} \noindent of floors $2 f$, $2 f + 1$, $2 f + 1$, $2 f + 2$. They form a basis of $N$ over the bases of $N'$, and \[F A_{n} = B_{n} + 2 C_{n} ,\quad F B_{n} = 2 A_{F n} ,\quad F C_{n} = \mathrm{Dd}_{n} ,\quad F \mathrm{Dd}_{n} = 2 C_{F n} .\] \noindent For an even payment system $G$ of size $r$ on $N$, $\operatorname{coker} G \cong \operatorname{coker} ( 2 G'' )$, where $G''$ is the even payment system of size $2 r$ on $N'$ with slots $( s , A )$, $( s , C )$, ordered lexicographically with $A$ before $C$, and \begin{itemize} \item $\pi''_{( s , A )} ( f ) = - \pi_{s} ( 2 f ) \pi_{s} ( 2 f + 1 ) / 2$, $\pi''_{( s , C )} ( f ) = - \pi_{s} ( 2 f + 1 ) \pi_{s} ( 2 f + 2 ) / 2$; \item the couplings $( s' , A ) \to ( u , A )$ are the formula of Proposition 4.1 at the floors $( 2 f , 2 f + 1 )$, and the couplings $( s' , C ) \to ( u , C )$ are the same formula at $( 2 f + 1 , 2 f + 2 )$; \item $K''_{( s' , C ) , ( s' , A )} ( f ) = - \pi_{s'} ( 2 f + 1 )$, $K''_{( u , C ) , ( s' , A )} ( f ) = - K_{u s'} ( 2 f + 1 )$ ($u > s'$), and there is no coupling from a slot $C$ to a slot $A$. \end{itemize} \emph{Proof.} The formulas for $F$ follow from $\Delta ( F ) = F \otimes 1 + 1 \otimes F$ and \S{}3.1: for instance $F A_{n} = b_{1} \otimes b_{0} n + b_{0} \otimes b_{1} n = B_{n} + 2 C_{n}$ and $F B_{n} = b_{1} \otimes b_{1} n + 2 b_{0} \otimes b_{0} F n - b_{1} \otimes b_{1} n$. The relations $G ( A_{n} \iota_{s'} )$ and $G ( C_{n} \iota_{s'} )$ have coefficient $1$ on $B_{n} \iota_{s'}$ and $\mathrm{Dd}_{n} \iota_{s'}$ respectively; eliminate those vectors. Substituting into $G ( B_{n} \iota_{s'} )$ gives \begin{center}$\displaystyle 2 A_{F n} \iota_{s'} - \pi_{s'} ( 2 f + 1 ) \pi_{s'} ( 2 f ) A_{n} \iota_{s'} - \sum_{u} [ \text{coupling of Proposition 4.1 at}\ ( 2 f , 2 f + 1 ) ] A_{n} \iota_{u}$\end{center} \[- 2 \pi_{s'} ( 2 f + 1 ) C_{n} \iota_{s'} - 2 \sum_{u > s'} K_{u s'} ( 2 f + 1 ) C_{n} \iota_{u} ,\] \noindent and substituting into $G ( \mathrm{Dd}_{n} \iota_{s'} )$ gives \begin{center}$\displaystyle 2 C_{F n} \iota_{s'} - \pi_{s'} ( 2 f + 2 ) \pi_{s'} ( 2 f + 1 ) C_{n} \iota_{s'} - \sum_{u} [ \text{coupling of Proposition 4.1 at}\ ( 2 f + 1 , 2 f + 2 ) ] C_{n} \iota_{u} .$\end{center} \noindent Both are twice the relations of $G''$ under $A_{x} \iota_{s} \mapsto x \iota_{( s , A )}$, $C_{x} \iota_{s} \mapsto x \iota_{( s , C )}$. Evenness is as in Proposition 4.1. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{4.3 The dance}{4.3 The dance}} \addcontentsline{toc}{subsection}{\texorpdfstring{4.3 The dance}{4.3 The dance}} \textbf{Proposition 4.3.} Let $\lambda + 1 = 2^{k} + \sum_{t \in I} 2^{t}$, $\alpha \ge 1$ and $i \ge 0$. Apply to $\sigma^{( \alpha )}_{i}$ on $T ( \lambda )$ the moves of the binary digits $t = 0 , 1 , \dots , k - 1$ of $\lambda + 1$, in this order: a twist move if $t \notin I$, a split move if $t \in I$. After the $k$ moves one obtains an even payment system on $T ( 0 )^{\oplus 2^{| I |}} = A^{2^{| I |}}$, that is, a lower triangular matrix $M = M^{( \alpha )} ( \lambda , i )$ of size $2^{| I |}$, and \[X^{( \alpha )} ( \lambda , i ) \cong \bigoplus_{a = 1}^{k - 1} ( \mathbb{Z} / 2^{a} )^{2^{| I | + k - 1 - a}} \oplus \operatorname{coker} ( 2^{k} M ) .\] \emph{Proof.} If $\lambda = 2 l + 1$, then $\lambda + 1$ has last digit $0$, $T ( \lambda ) = \Phi ( T ( l ) )$ and $l + 1 = ( \lambda + 1 ) / 2$; if $\lambda = 2 l + 2$, then $\lambda + 1$ has last digit $1$, $T ( \lambda ) = V \otimes \Phi ( T ( l ) )$ and $l + 1 = \lambda / 2 = \lfloor ( \lambda + 1 ) / 2 \rfloor$. In both cases the floor grading of $T ( \lambda )$ (floor $( \lambda - w ) / 2$ at weight $w$) is the grading of Propositions 4.1--4.2: for instance $b_{0} n$ has weight $2 w + 1$ and floor $( 2 l + 1 - 2 w - 1 ) / 2 = l - w = 2 f$. So the moves can be applied digit by digit, and $T ( 0 ) = A$ has the single floor $0$, on which $F = 0$. Each move halves the rank, $\operatorname{rank} T ( \lambda ) = 2^{k + | I |}$, and turns $\operatorname{coker} ( 2^{h} G )$ into $\operatorname{coker} ( 2^{h + 1} G' )$ plus cyclic factors $\mathbb{Z} / 2^{h}$, as many as half the rank (the eliminated unit pivots, multiplied by $2^{h}$): the Smith exponents of $2^{h} G$ are $h$, with multiplicity half the rank, and the exponents of $2 G'$ raised by $h$. At move $h = 0 , 1 , \dots , k - 1$ the rank is $2^{k + | I | - h}$; the factors of move $0$ are trivial, and move $a \ge 1$ gives $( \mathbb{Z} / 2^{a} )^{2^{k + | I | - a - 1}}$. \hfill\ensuremath{\blacksquare} We use the notation $\operatorname{coker} ( 2^{k} M )$ for the module whose Smith exponents are those of $M$ raised by $k$ (a zero exponent of $M$ gives $\mathbb{Z} / 2^{k}$, an infinite one stays $\mathbb{Z}_{2}$). The \textbf{dancers} are the subsets $D \subseteq I$: a split move at the digit $t$ splits each slot into a slot $A$ and a slot $C$, and the final slot $s$ is identified with $D ( s ) \mathrel{:=} \{ t \in I : s_{t} = C \}$. We index $M$ by dancers, in the o-order. The order in which the moves produce the slots is another linear extension of inclusion (for $I = \{ 0 , 1 \}$ it is $\emptyset , \{ 1 \} , \{ 0 \} , \{ 0 , 1 \}$); re-indexing does not change the Smith form, and $M$ is lower triangular in either order, since $M_{D D'} \ne 0$ only if $D' \subseteq D$ (Theorem 4.4). \subsection*{\texorpdfstring{4.4 The final matrix in closed form}{4.4 The final matrix in closed form}} \addcontentsline{toc}{subsection}{\texorpdfstring{4.4 The final matrix in closed form}{4.4 The final matrix in closed form}} Put $\pi_{0} ( d ) \mathrel{:=} 2^{\alpha} ( i + d )$, $K \mathrel{:=} 2^{k}$ and $o ( \Delta ) \mathrel{:=} \sum_{t \in \Delta} 2^{t}$. \textbf{Theorem 4.4 (windows).} Let $q_{0} \mathrel{:=} - 1$ and $q_{t + 1} \mathrel{:=} q_{t}^{2} - [ t \in I ] \cdot y_{t} q_{t}$ in $\mathbb{Z} [ y_{t} : t \in I ] / ( y_{t}^{2} : t \in I )$, and let $a_{k} ( \Delta )$ be the coefficient of $y^{\Delta} \mathrel{:=} \prod_{t \in \Delta} y_{t}$ in $q_{k}$. Then for dancers $D , D'$: \begin{gather*}M_{D D'} = - 2^{1 - K + o ( D \setminus D' )} \cdot a_{k} ( D \setminus D' ) \cdot \prod_{d = o_{D}}^{o_{D'} + K - 1} \pi_{0} ( d ) \quad\text{if} \\ D' \subseteq D ,\end{gather*} \[M_{D D'} = 0 \quad\text{otherwise.}\] \noindent The window $[ o_{D} , o_{D'} + K - 1 ]$ has $K - o ( D \setminus D' ) \ge 1$ elements. \emph{Proof.} Let $I_{< h} \mathrel{:=} I \cap [ 0 , h )$. We show by induction on $h = 0 , \dots , k$ that after $h$ moves the system has one slot for each $D \subseteq I_{< h}$, couplings only from $D'$ to $D \supsetneq D'$, and \begin{gather*}\pi^{( h )}_{D} ( f ) = c^{( h )}_{\emptyset} \cdot \prod_{d \in W} \pi_{0} ( d ) , \\ W = [ 2^{h} f + o_{D} , 2^{h} f + o_{D} + 2^{h} - 1 ] ,\end{gather*} \begin{gather*}K^{( h )}_{D D'} ( f ) = c^{( h )}_{D \setminus D'} \cdot \prod_{d \in W} \pi_{0} ( d ) , \\ W = [ 2^{h} f + o_{D} , 2^{h} f + o_{D'} + 2^{h} - 1 ] ,\end{gather*} \noindent where $c^{( h )} = \sum_{\Delta} c^{( h )}_{\Delta} x^{\Delta} \in \mathbb{Q} [ x_{t} : t \in I_{< h} ] / ( x_{t}^{2} )$ satisfies $c^{( 0 )} = 1$ and $c^{( h + 1 )} = - ( c^{( h )} )^{2} / 2 - [ h \in I ] \cdot x_{h} c^{( h )}$. For $h = 0$ there is one slot, $\pi ( f ) = \pi_{0} ( f )$, $c = 1$. In the formula of Proposition 4.1, each of the three kinds of terms is a product of the values of $\pi_{0}$ over two \textbf{adjacent} windows of level $h$, whose union is the window of level $h + 1$: for instance $\pi_{D'} ( 2 f + 1 ) K_{D D'} ( 2 f )$ multiplies over $[ 2^{h + 1} f + o_{D} , 2^{h + 1} f + o_{D'} + 2^{h} - 1 ]$ and $[ 2^{h + 1} f + 2^{h} + o_{D'} , 2^{h + 1} f + o_{D'} + 2^{h + 1} - 1 ]$. So every term is the same monomial, and the coefficient of the pair $( D , D' )$ is $- \tfrac12 \sum c_{\Delta_{1}} c_{\Delta_{2}}$ over the ordered decompositions $D \setminus D' = \Delta_{1} \sqcup \Delta_{2}$ (the intermediate slot is $U = D' \sqcup \Delta_{1}$; the decompositions with $\Delta_{1} = \emptyset$ or $\Delta_{2} = \emptyset$ are the first two terms); this is $- \tfrac12 [ ( c^{( h )} )^{2} ]_{D \setminus D'}$, since $x_{t}^{2} = 0$. In a split move at $h \in I$ the slot $D$ gives the slots $D$ (from $A$) and $D \cup \{ h \}$ (from $C$), with $o_{D \cup \{ h \}} = o_{D} + 2^{h}$. In the formulas of Proposition 4.2, the diagonal entries have the windows $[ 2^{h + 1} f + o_{D} , \cdots + 2^{h + 1} - 1 ]$ and $[ 2^{h + 1} f + o_{D} + 2^{h} , \cdots + 2^{h + 1} - 1 ]$; the coupling $- \pi_{D'} ( 2 f + 1 )$ from $D'$ to $D' \cup \{ h \}$ and the coupling $- K_{D D'} ( 2 f + 1 )$ from $D'$ to $D \cup \{ h \}$ have the windows $[ 2^{h + 1} f + o_{D'} + 2^{h} , 2^{h + 1} f + o_{D'} + 2^{h + 1} - 1 ]$ and $[ 2^{h + 1} f + o_{D} + 2^{h} , 2^{h + 1} f + o_{D'} + 2^{h + 1} - 1 ]$, which are the windows of the new pairs. Their coefficients $- c_{\emptyset}$ and $- c_{D \setminus D'}$ are the coefficients of $x_{h}$ and $x_{h} x^{D \setminus D'}$ in $- x_{h} c^{( h )}$; the other couplings carry $- \tfrac12 [ ( c^{( h )} )^{2} ]_{\Delta}$ with $h \notin \Delta$, and $( c^{( h )} )^{2}$ has no $x_{h}$. This proves the recursion. Put $y_{t} \mathrel{:=} 2^{2^{t}} x_{t}$ and $c^{( h )} = - 2^{1 - 2^{h}} q_{h}$. Then $c^{( 0 )} = 1$ gives $q_{0} = - 1$, and \begin{center}$\displaystyle c^{( h + 1 )} = - 2^{1 - 2^{h + 1}} q_{h}^{2} + [ h \in I ] 2^{1 - 2^{h}} 2^{- 2^{h}} y_{h} q_{h} = - 2^{1 - 2^{h + 1}} ( q_{h}^{2} - [ h \in I ] y_{h} q_{h} ) ,$\end{center} \noindent so $c^{( k )}_{\Delta} = - 2^{1 - K} a_{k} ( \Delta ) 2^{o ( \Delta )}$. At $h = k$ there is only the floor $0$, and $M_{D D'} = K^{( k )}_{D D'} ( 0 )$. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{4.5 The coefficients: the deficit law}{4.5 The coefficients: the deficit law}} \addcontentsline{toc}{subsection}{\texorpdfstring{4.5 The coefficients: the deficit law}{4.5 The coefficients: the deficit law}} \textbf{Lemma 4.5 (deficit law).} $a_{k} ( \emptyset ) = 1$, and for $\emptyset \ne \Delta \subseteq I$, \[v_{2} ( a_{k} ( \Delta ) ) = k - | \Delta | - \min \Delta \mathrel{=:} \delta ( \Delta ) ;\quad\text{put}\quad \delta ( \emptyset ) \mathrel{:=} 0 .\] \emph{Proof.} The constant term of $q_{t}$ is $1$ for $t \ge 1$. We prove $v_{2} ( a_{t} ( \Delta ) ) = t - | \Delta | - \min \Delta$ for every $t > \max \Delta$, by induction on $| \Delta |$ and then on $t$. Let $m \mathrel{:=} \max \Delta \in I$ and $\mu \mathrel{:=} \min \Delta$. Since $q_{m}$ does not involve $y_{m}$, the coefficient of $y^{\Delta}$ in $q_{m}^{2}$ is $0$ and $a_{m + 1} ( \Delta ) = - a_{m} ( \Delta \setminus \{ m \} )$. This is $\pm 1$ if $\Delta = \{ m \}$ (valuation $0 = ( m + 1 ) - 1 - m$); otherwise it has valuation $m - ( | \Delta | - 1 ) - \mu$ by induction. For $t \ge m + 1$, the term $y_{t} q_{t}$ does not contribute to $y^{\Delta}$, and \[a_{t + 1} ( \Delta ) = 2 a_{t} ( \Delta ) + 2 \sum a_{t} ( \Delta_{1} ) a_{t} ( \Delta_{2} ) ,\] \noindent over the unordered decompositions $\Delta = \Delta_{1} \sqcup \Delta_{2}$ into non-empty parts. One of $\min \Delta_{1}$, $\min \Delta_{2}$ is $\mu$ and the other is $\le m$, so each cross term has valuation at least $1 + 2 t - | \Delta | - \mu - m$, which exceeds $v_{2} ( 2 a_{t} ( \Delta ) ) = 1 + t - | \Delta | - \mu$ by $t - m \ge 1$. \hfill\ensuremath{\blacksquare} So \textbf{$v_{2} ( a_{k} ( \Delta ) )$ depends only on $k$ and $\Delta$}, not on the other digits of $\lambda + 1$; and $\delta$ is \textbf{strictly subadditive}: $\delta ( \Delta_{1} ) + \delta ( \Delta_{2} ) - \delta ( \Delta_{1} \sqcup \Delta_{2} ) = k - \max ( \min \Delta_{1} , \min \Delta_{2} ) \ge 1$ for non-empty disjoint $\Delta_{1}$, $\Delta_{2}$. \begin{quote} \textbf{Theorem D.} For every family $\lambda$, every $\alpha \ge 1$ and every shift $i \ge 0$, \begin{center}$\displaystyle X^{( \alpha )} ( \lambda , i ) \cong \bigoplus_{a = 1}^{k - 1} ( \mathbb{Z} / 2^{a} )^{2^{| I | + k - 1 - a}} \oplus \operatorname{coker} ( 2^{k} M^{( \alpha )} ( \lambda , i ) ) ,$\end{center} \noindent with $M^{( \alpha )} ( \lambda , i )$ the explicit integer matrix of Theorem 4.4, whose entries have the valuations \begin{center}$\displaystyle v_{2} ( M_{D D'} ) = 1 - K + o ( D \setminus D' ) + \delta ( D \setminus D' ) + \sum_{d = o_{D}}^{o_{D'} + K - 1} ( \alpha + v_{2} ( i + d ) ) \qquad( D' \subseteq D ).$\end{center} \noindent Hence, by Theorem 3.8, $\mathbb{Z}_{2} \oplus \operatorname{Syl}_{2} K ( Q_{n} )$ is the direct sum, over the families $\lambda$, of $m_{\lambda} ( n )$ copies of the small clocks and of $\operatorname{coker} ( 2^{k} M^{( 1 )} ( \lambda , ( n - \lambda ) / 2 ) )$. \end{quote} \emph{Proof.} Proposition 4.3, Theorem 4.4 and Lemma 4.5. \hfill\ensuremath{\blacksquare} \textbf{Example.} $\lambda = 6$ ($k = 2$, $I = \{ 0 , 1 \}$): $q_{1} = 1 + y_{0}$, $q_{2} = 1 + 2 y_{0} - y_{1} - y_{0} y_{1}$. With $p_{d} \mathrel{:=} \pi_{0} ( d )$, $M = - ( 1 / 8 ) \cdot A$, where $A$ is, in the o-order (row $D$, column $D'$): {\small\begin{longtable}{>{\raggedright\arraybackslash}p{0.116\linewidth}>{\raggedright\arraybackslash}p{0.232\linewidth}>{\raggedright\arraybackslash}p{0.170\linewidth}>{\raggedright\arraybackslash}p{0.186\linewidth}>{\raggedright\arraybackslash}p{0.153\linewidth}} \toprule $D$ \textbackslash{} $D'$ & $\emptyset$ & $\{ 0 \}$ & $\{ 1 \}$ & $\{ 0 , 1 \}$ \\ \midrule \endhead $\emptyset$ & $p_{0} p_{1} p_{2} p_{3}$ & $0$ & $0$ & $0$ \\ $\{ 0 \}$ & $4 p_{1} p_{2} p_{3}$ & $p_{1} p_{2} p_{3} p_{4}$ & $0$ & $0$ \\ $\{ 1 \}$ & $- 4 p_{2} p_{3}$ & $0$ & $p_{2} p_{3} p_{4} p_{5}$ & $0$ \\ $\{ 0 , 1 \}$ & $- 8 p_{3}$ & $- 4 p_{3} p_{4}$ & $4 p_{3} p_{4} p_{5}$ & $p_{3} p_{4} p_{5} p_{6}$ \\ \bottomrule \end{longtable}} The matrix $M$ has $2^{| I |} \le \lfloor \lambda / 2 \rfloor + 1$ rows (with equality, for instance, when $\lambda = 2^{k + 1} - 2$), against $2^{n}$ for the Laplacian and $2^{k + | I |} = \dim T ( \lambda )$ for the family; its entries are closed forms. What remains is its Smith form. \section*{\texorpdfstring{5. The valuations: rulers, gold and clocks}{5. The valuations: rulers, gold and clocks}} \addcontentsline{toc}{section}{\texorpdfstring{5. The valuations: rulers, gold and clocks}{5. The valuations: rulers, gold and clocks}} Fix a family $\lambda$ ($\lambda + 1 = 2^{k} + \sum_{t \in I} 2^{t}$, $K = 2^{k}$), $\alpha \ge 1$, and a shift $i \ge 1$; put $m \mathrel{:=} i - 1$. For $t \in I$ recall $h_{t} = \operatorname{next} ( t ) - t \ge 1$. Let $t_{1} \mathrel{:=} \min I$ ($t_{1} \mathrel{:=} k$ if $I = \emptyset$). For dancers $a \supseteq b$ write $\Delta \mathrel{:=} a \setminus b$. \textbf{Definitions.} For $\mu \ge 0$ and $E \subseteq I$, the \textbf{ruler} \[R_{\mu} ( E ) \mathrel{:=} \sum_{t \in E} ( h_{t} - \alpha 2^{t} ) - \kappa ( \mu , o_{E} ) ;\] \noindent the \textbf{gold} of $\Delta \subseteq I$, \[\gamma ( \Delta ) \mathrel{:=} \sum_{u \in I \setminus \Delta , u > \min \Delta} h_{u} \qquad( \gamma ( \emptyset ) \mathrel{:=} 0 ),\] \noindent the gaps of $I$ above $\min \Delta$ that $\Delta$ skips; and the \textbf{clocks of the cell} \[x_{D} \mathrel{:=} R_{m} ( D ) - R_{m + K} ( I \setminus D ) .\] \noindent For $\alpha = 1$ this is the definition of \S{}1.2. \textbf{Lemma 5.1.} (a) $\delta ( \Delta ) = \sum_{t \in \Delta} ( h_{t} - 1 ) + \gamma ( \Delta )$. (b) $\gamma ( \Delta ) = 0$ if and only if $\Delta = \emptyset$ or $\Delta = I \cap [ \min \Delta , k )$ (a \textbf{tail} of $I$). \emph{Proof.} (a) $k - \min \Delta = \sum_{t \in I , t \ge \min \Delta} h_{t}$ (the gaps telescope), and the digits $t \ge \min \Delta$ of $I$ are those of $\Delta$ and those counted in $\gamma ( \Delta )$. (b) Each $h_{u} \ge 1$. \hfill\ensuremath{\blacksquare} \textbf{Proposition 5.2 (the cost form).} For dancers $b \subseteq a$, \[v_{2} ( M^{( \alpha )} ( \lambda , i )_{a b} ) = \alpha K + \kappa ( m , K ) + R_{m} ( a ) - R_{m + K} ( b ) + \gamma ( a \setminus b ) .\] \emph{Proof.} By Theorem D, $v_{2} ( M_{a b} ) = 1 - K + o ( \Delta ) + \delta ( \Delta ) + \alpha ( K + o_{b} - o_{a} ) + \sum_{d = o_{a}}^{o_{b} + K - 1} v_{2} ( i + d )$. By Legendre's formula $v_{2} ( x ! ) = x - s_{2} ( x )$, $\sum_{d = x}^{y - 1} v_{2} ( m + 1 + d ) = ( y - x ) - s_{2} ( m + y ) + s_{2} ( m + x )$. With $x = o_{a}$, $y = o_{b} + K$ and $o ( \Delta ) = o_{a} - o_{b}$: \[v_{2} ( M_{a b} ) = 1 + \delta ( \Delta ) + \alpha ( K + o_{b} - o_{a} ) - s_{2} ( m + K + o_{b} ) + s_{2} ( m + o_{a} ) .\] \noindent By Lemma 5.1(a), $\delta ( \Delta ) = G ( a ) - G ( b ) + \gamma ( \Delta )$ with $G ( E ) \mathrel{:=} \sum_{t \in E} ( h_{t} - 1 )$. Since $\kappa ( \mu , o_{E} ) = s_{2} ( \mu ) + | E | - s_{2} ( \mu + o_{E} )$, we have \[R_{\mu} ( E ) = G ( E ) - \alpha o_{E} + s_{2} ( \mu + o_{E} ) - s_{2} ( \mu ) .\] \noindent Substituting, \begin{center}$\displaystyle v_{2} ( M_{a b} ) - [ R_{m} ( a ) - R_{m + K} ( b ) + \gamma ( \Delta ) ] = 1 + \alpha K + s_{2} ( m ) - s_{2} ( m + K ) = \alpha K + \kappa ( m , K ) ,$\end{center} \noindent because $s_{2} ( K ) = 1$. \hfill\ensuremath{\blacksquare} So every entry of $M$ is a constant of the cell, plus a \textbf{row term} read from the carries of $m + o_{a}$, minus a \textbf{column term} read from the carries of $m + K + o_{b}$, plus the gold of the arrow. We write \[\hat{c} ( a , b ) \mathrel{:=} R_{m} ( a ) - R_{m + K} ( b ) + \gamma ( a \setminus b ) \qquad( b \subseteq a )\] \noindent for the \textbf{normalized cost} of the arrow $a \to b$. \textbf{Proposition 5.3 (the clocks of \S{}1.2).} For $\alpha = 1$, every family $\lambda$, every $i \ge 1$ and every dancer $D$, \[u_{i} ( D ) = k + K + \kappa ( m , K ) + x_{D} .\] \emph{Proof.} Put $E \mathrel{:=} I \setminus D$ and $\xi \mathrel{:=} \xi_{D} = \lambda + 1 - 2 o_{D} = K + o_{E} - o_{D}$, so $o_{D} + \xi = K + o_{E}$. \emph{Step 1 ($i = 1$).} We show \[u_{1} ( D ) = \varphi ( \lambda + 1 ) + 2 \psi ( D ) ,\quad\text{with}\quad \psi ( D ) \mathrel{:=} \sum_{t \in D} ( h_{t} - 2^{t} ) .\] \noindent Let $\mu \mathrel{:=} \xi - 1 = \lambda - 2 o_{D}$. Since $K - 1 = o ( [ 0 , k ) \setminus I ) + o_{I}$, we have $\mu = o ( [ 0 , k ) \setminus I ) + 2 o_{E}$. Adding $2^{t + 1}$ ($t \in E$) to $o ( [ 0 , k ) \setminus I )$ carries through the positions $t + 1 , \dots , \operatorname{next} ( t ) - 1$, which lie in $[ 0 , k ) \setminus I$, and stops at $\operatorname{next} ( t )$, a position that is set neither in $o ( [ 0 , k ) \setminus I )$ nor by any other $t$; the stretches $[ t + 1 , \operatorname{next} ( t ) ]$ of different $t$ are disjoint. Hence $s_{2} ( \mu ) = ( k - | I | ) + | E | - G ( E )$. Now $\varphi ( \xi ) = \xi + v_{2} ( \xi )$ and $s_{2} ( \xi ) = s_{2} ( \mu ) + 1 - v_{2} ( \xi )$, and $\kappa ( o_{D} , \xi ) = | D | + s_{2} ( \xi ) - s_{2} ( K + o_{E} ) = | D | + s_{2} ( \xi ) - 1 - | E |$. So \begin{center}$\displaystyle u_{1} ( D ) = \xi + v_{2} ( \xi ) + s_{2} ( \xi ) - 1 + | D | - | E | + h ( D ) = \xi + s_{2} ( \mu ) + | D | - | E | + h ( D )$\end{center} \[= K + o_{I} - 2 o_{D} + k - | I | + 2 | D | + G ( D ) - G ( E ) ,\] \noindent using $\xi = K + o_{I} - 2 o_{D}$ and $h ( D ) = G ( D ) + | D |$. On the other side \[\varphi ( \lambda + 1 ) = K + o_{I} + t_{1} ,\quad 2 \psi ( D ) = 2 G ( D ) + 2 | D | - 2 o_{D} .\] \noindent The difference of the two sides is $k - | I | - G ( D ) - G ( E ) - t_{1} = k - t_{1} - \sum_{t \in I} h_{t} = 0$. \emph{Step 2 ($i \ge 1$).} From $\kappa ( a , b ) = s_{2} ( a ) + s_{2} ( b ) - s_{2} ( a + b )$, $\kappa ( m + o_{D} , \xi ) - \kappa ( o_{D} , \xi ) = \kappa ( m , o_{D} + \xi ) - \kappa ( m , o_{D} )$, so \[u_{i} ( D ) = u_{1} ( D ) + \kappa ( m , K + o_{E} ) - \kappa ( m , o_{D} ) .\] \noindent \emph{Step 3.} $x_{D} = \psi ( D ) - \kappa ( m , o_{D} ) - \psi ( E ) + \kappa ( m + K , o_{E} )$, and \[\kappa ( m , K + o_{E} ) + \kappa ( K , o_{E} ) = \kappa ( m , K ) + \kappa ( m + K , o_{E} )\] \noindent (both sides are $s_{2} ( m ) + s_{2} ( K ) + s_{2} ( o_{E} ) - s_{2} ( m + K + o_{E} )$), with $\kappa ( K , o_{E} ) = 0$. Hence $u_{i} ( D ) - k - K - \kappa ( m , K ) - x_{D} = \varphi ( \lambda + 1 ) + \psi ( D ) + \psi ( E ) - k - K = \varphi ( \lambda + 1 ) + \psi ( I ) - k - K$, and $\psi ( I ) = ( k - t_{1} ) - o_{I}$, so this is $0$. \hfill\ensuremath{\blacksquare} \textbf{The shift $i = 0$.} Here the payment $\pi_{0} ( 0 ) = 0$ makes the row $\emptyset$ of $M ( \lambda , 0 )$ zero (its window $[ 0 , K - 1 ]$ contains $d = 0$), and no other window contains $0$. The same computation with Legendre's formula at $i = 0$, $\sum_{d = x}^{y - 1} v_{2} ( d ) = ( y - x ) - s_{2} ( y - 1 ) + s_{2} ( x - 1 )$ ($x \ge 1$), is the case \guillemotleft{}$m = - 1$\guillemotright{}: since $m + K + o_{b} = K - 1 + o_{b}$, both rulers are read at $K - 1$ (Proposition 5.4). In the language of \S{}7.3 this is the house with $\ell = K - 1$. \textbf{Proposition 5.4.} For $D \ne \emptyset$ and every $b \subseteq D$, \begin{gather*}v_{2} ( M ( \lambda , 0 )_{D b} ) = \alpha K + R^{\sharp} ( D ) - R^{\sharp} ( b ) + \gamma ( D \setminus b ) , \\ R^{\sharp} ( E ) \mathrel{:=} \sum_{t \in E} ( h_{t} - \alpha 2^{t} ) - \kappa ( K - 1 , o_{E} ) ,\end{gather*} \noindent and, for $\alpha = 1$, $u_{0} ( D ) = k + K + x^{\sharp}_{D}$ with $x^{\sharp}_{D} \mathrel{:=} R^{\sharp} ( D ) - R^{\sharp} ( I \setminus D )$. Explicitly $\kappa ( K - 1 , o_{E} ) = k - \min E$ (with $\min \emptyset \mathrel{:=} k$). \emph{Proof.} Let $E \ne \emptyset$. Then $K - 1 + o_{E} = K + ( o_{E} - 1 )$ and $s_{2} ( o_{E} - 1 ) = | E | - 1 + \min E$, so that $\kappa ( K - 1 , o_{E} ) = k + | E | - 1 - s_{2} ( o_{E} - 1 ) = k - \min E$; for $E = \emptyset$ both sides are $0$. As in Proposition 5.2, $R^{\sharp} ( E ) = G ( E ) - \alpha o_{E} + s_{2} ( K - 1 + o_{E} ) - k$, and, for $D \ne \emptyset$, $s_{2} ( K - 1 + o_{D} ) = 1 + s_{2} ( o_{D} - 1 )$. Legendre's formula, applied at $i = 0$ with $x = o_{D} \ge 1$ and $y = o_{b} + K$, gives \[v_{2} ( M_{D b} ) = 1 + \delta ( \Delta ) + \alpha ( K + o_{b} - o_{D} ) - s_{2} ( K - 1 + o_{b} ) + s_{2} ( o_{D} - 1 ) ,\] \noindent and with $\delta ( \Delta ) = G ( D ) - G ( b ) + \gamma ( \Delta )$ the difference $v_{2} ( M_{D b} ) - [ R^{\sharp} ( D ) - R^{\sharp} ( b ) + \gamma ( \Delta ) ]$ is $\alpha K$. For the clocks: in $u_{i} ( D )$ the first argument of $\kappa$ is $i + o_{D} - 1$, which is $o_{D} - 1$ at $i = 0$ against $o_{D}$ at $i = 1$, while $\xi$ is unchanged; and $\kappa ( o_{D} - 1 , \xi ) - \kappa ( o_{D} , \xi ) = v_{2} ( o_{D} ) - v_{2} ( o_{D} + \xi ) = \min D - \min E$ ($v_{2} ( K + o_{E} ) = \min E$). So $u_{0} ( D ) = u_{1} ( D ) + \min D - \min E = k + K + \psi ( D ) - \psi ( E ) + \min D - \min E$, and $x^{\sharp}_{D} = \psi ( D ) - ( k - \min D ) - \psi ( E ) + ( k - \min E )$ is the same. \hfill\ensuremath{\blacksquare} \section*{\texorpdfstring{6. The Smith form of $M$: the ceiling}{6. The Smith form of M: the ceiling}} \addcontentsline{toc}{section}{\texorpdfstring{6. The Smith form of $M$: the ceiling}{6. The Smith form of M: the ceiling}} \subsection*{\texorpdfstring{6.1 Determinantal divisors and the tropical bound}{6.1 Determinantal divisors and the tropical bound}} \addcontentsline{toc}{subsection}{\texorpdfstring{6.1 Determinantal divisors and the tropical bound}{6.1 Determinantal divisors and the tropical bound}} For a matrix $M$ over $A$ with Smith exponents $e_{1} \le e_{2} \le \cdots$, the $r$-th \textbf{determinantal divisor} $d_{r} ( M )$, the least valuation of an $r \times r$ minor, is $e_{1} + \cdots + e_{r}$. So $r \mapsto d_{r}$ is convex with integer increments, and the increments are the exponents. Fix a cell $( \lambda , i , \alpha )$ with $i \ge 1$, and number the dancers in o-order, $D_{0} = \emptyset , D_{1} , \dots , D_{N - 1} = I$ ($N = 2^{| I |}$). Since $o_{I \setminus D} = o_{I} - o_{D}$, the map $D \mapsto I \setminus D$ reverses the o-order. Put $L_{r} \mathrel{:=} \{ D_{N - r} , \dots , D_{N - 1} \}$ (the last $r$ dancers) and $F_{r} \mathrel{:=} \{ D_{0} , \dots , D_{r - 1} \} = \{ I \setminus D : D \in L_{r} \}$ (the first $r$). Write \begin{itemize} \item $\hat{d}_{r} \mathrel{:=} d_{r} ( M ) - r ( \alpha K + \kappa ( m , K ) )$ (the normalized divisors); \item $T ( r )$ := the least normalized cost $\sum \hat{c} ( a , \beta ( a ) )$ of an \textbf{$r$-matching}: a bijection $\beta$ from $r$ dancers onto $r$ dancers with $\beta ( a ) \subseteq a$ for every $a$; \item $U ( r ) \mathrel{:=} \sum_{D \in L_{r}} x_{D}$, the sum of the last $r$ clocks (the \textbf{natural} partial sums); \item $Y ( r ) \mathrel{:=} \sum_{D \in L_{r}} \hat{y}_{D}$, the same for the integer antitonic fit $\hat{y}$ of $x$ (the \textbf{pooled} partial sums). \end{itemize} \textbf{Lemma 6.1 (tropical bound).} $\hat{d}_{r} \ge T ( r )$. \emph{Proof.} An $r \times r$ minor is a signed sum of products of $r$ entries along a bijection from its rows to its columns. A product is non-zero only if every entry lies in the support $\{ b \subseteq a \}$ of $M$, and then its normalized valuation is the cost of the matching (Proposition 5.2). \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{6.2 Theorem O: the unique golden matching}{6.2 Theorem O: the unique golden matching}} \addcontentsline{toc}{subsection}{\texorpdfstring{6.2 Theorem O: the unique golden matching}{6.2 Theorem O: the unique golden matching}} Call an arrow $a \to b$ ($b \subseteq a$) \textbf{golden} if $\gamma ( a \setminus b ) = 0$, that is (Lemma 5.1(b)), if $b = a$ or $b = a \setminus T$ for a tail $T = I \cap [ t , k )$ of $I$ contained in $a$. \textbf{Theorem 6.2 (Theorem O).} For every $I \subseteq [ 0 , k )$ and every $0 \le r \le N$, there is \textbf{exactly one} bijection $\beta_{r} : L_{r} \to F_{r}$ all of whose arrows $D \to \beta_{r} ( D )$ are golden. \emph{Proof.} Let $t_{1} < \cdots < t_{s}$ be the digits of $I$ and identify a dancer $D$ with the integer $p ( D ) \mathrel{:=} \sum_{j} [ t_{j} \in D ] 2^{j - 1} \in [ 0 , 2^{s} )$; the o-order is the order of $p$. A tail of $I$ contained in $D$ is a set of top bits of $p ( D )$ that are all equal to $1$, so the golden images of $p$ are $p$ itself and the numbers obtained from $p$ by clearing a non-empty block of its top bits, all equal to $1$. We must show that there is exactly one bijection from $\{ N - r , \dots , N - 1 \}$ onto $\{ 0 , \dots , r - 1 \}$ that sends every $p$ to a golden image. Induction on $s$; $s = 0$ is trivial. Let $N = 2^{s} \ge 2$. \begin{itemize} \item $r \le N / 2$: every row has top bit $1$ and every column has top bit $0$, so every arrow clears the top bit, followed by a golden arrow of the remaining $s - 1$ bits. Removing the top bit of the rows gives exactly the problem $( s - 1 , r )$, which has one solution. \item $r = N / 2 + q$ with $0 < q \le N / 2$: the columns $N / 2 , \dots , N / 2 + q - 1$ have top bit $1$ and are reached only by loops, so they are matched with themselves, and they are rows. The rows $N / 2 - q , \dots , N / 2 - 1$ have top bit $0$ and admit only loops, so they are matched with themselves, and they are columns. The remaining rows $N / 2 + q , \dots , N - 1$ must go to the remaining columns $0 , \dots , N / 2 - q - 1$ by clearing the top bit: this is the problem $( s - 1 , N / 2 - q )$, which has one solution. \hfill\ensuremath{\blacksquare} \end{itemize} The golden matching is explicit: for $r \le N / 2$ it is \guillemotleft{}remove the top digit of $I$ and solve the smaller problem\guillemotright{}, and for $r > N / 2$ it fixes the $2 r - N$ middle dancers and solves the smaller problem on the rest. \textbf{Corollary 6.3 (the natural minor).} $v_{2} ( \det M [ L_{r} , F_{r} ] ) = r ( \alpha K + \kappa ( m , K ) ) + U ( r )$; hence $\hat{d}_{r} \le U ( r )$ for every $r$. \emph{Proof.} For a bijection $\beta : L_{r} \to F_{r}$ inside the support, the normalized valuation of its term is \[\sum_{D \in L_{r}} R_{m} ( D ) - \sum_{E \in F_{r}} R_{m + K} ( E ) + \sum_{D} \gamma ( D \setminus \beta ( D ) ) .\] \noindent The first two sums do not depend on $\beta$ and add up to $\sum_{D \in L_{r}} ( R_{m} ( D ) - R_{m + K} ( I \setminus D ) ) = U ( r )$. The gold is a non-negative integer, zero exactly for the golden matching $\beta_{r}$. So the minor has a unique term of least valuation, and its valuation is that of the term. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{6.3 From the natural sums to the pooled sums}{6.3 From the natural sums to the pooled sums}} \addcontentsline{toc}{subsection}{\texorpdfstring{6.3 From the natural sums to the pooled sums}{6.3 From the natural sums to the pooled sums}} \textbf{Lemma 6.4 (convexity).} Let $d : \{ 0 , \dots , N \} \to \mathbb{Z}$ be convex with integer increments, $d ( 0 ) = 0$, and $d ( r ) \le U ( r )$ for every $r$. Then $d ( r ) \le Y ( r )$ for every $r$. \emph{Proof.} Read the dancers from the end. On every level set of the real antitonic fit (\S{}7.1) the sums of $x$ and of $\hat{y}$ agree, so $Y = U$ at the two ends $r_{0} < r_{1} = r_{0} + p$ of each level set, counted from the end. Inside a level set with sum $S = p q + \rho$ ($0 \le \rho < p$), $Y$ increases by $q$ on the first $p - \rho$ steps and by $q + 1$ on the last $\rho$ steps (the fit takes the larger values first in o-order). We argue by induction over the level sets from the end, so we may assume $d ( r_{0} ) \le Y ( r_{0} )$. Suppose $d ( r^{*} ) > Y ( r^{*} )$ with $r_{0} < r^{*} < r_{1}$. \begin{itemize} \item If $r^{*} \le r_{0} + p - \rho$, some increment of $d$ in $( r_{0} , r^{*} ]$ is at least $q + 1$, hence so is every later one, and $d ( r_{1} ) \ge d ( r^{*} ) + ( r_{1} - r^{*} ) ( q + 1 ) > Y ( r^{*} ) + ( r_{1} - r^{*} ) ( q + 1 ) \ge Y ( r_{1} ) = U ( r_{1} )$, a contradiction. \item If $r^{*} > r_{0} + p - \rho$, then $d ( r_{1} ) - d ( r^{*} ) < Y ( r_{1} ) - Y ( r^{*} ) = ( r_{1} - r^{*} ) ( q + 1 )$, so some increment of $d$ in $( r^{*} , r_{1} ]$ is at most $q$ (they are integers), hence so is every earlier one, and $d ( r^{*} ) \le d ( r_{0} ) + ( r^{*} - r_{0} ) q \le Y ( r^{*} )$, a contradiction. \hfill\ensuremath{\blacksquare} \end{itemize} \textbf{Theorem 6.5.} Suppose $T ( r ) \ge Y ( r )$ for every $r$ and that the integer fit $\hat{y}$ is non-increasing. Then $\hat{d}_{r} = Y ( r )$ for every $r$, and the Smith exponents of $M^{( \alpha )} ( \lambda , i )$ are $\alpha K + \kappa ( m , K ) + \hat{y}_{D}$, $D \subseteq I$. \emph{Proof.} $Y ( r ) \le T ( r ) \le \hat{d}_{r} \le Y ( r )$, by the hypothesis, Lemma 6.1, and Corollary 6.3 with Lemma 6.4 (applied to $\hat{d}$). Since $\hat{y}$ is non-increasing, $Y ( r )$ is the sum of the $r$ smallest values of $\hat{y}$, and the exponents are the increments. \hfill\ensuremath{\blacksquare} The two hypotheses are proved in \S{}7 (Theorem 7.8 and Lemma 7.9). \section*{\texorpdfstring{7. The Smith form of $M$: the floor}{7. The Smith form of M: the floor}} \addcontentsline{toc}{section}{\texorpdfstring{7. The Smith form of $M$: the floor}{7. The Smith form of M: the floor}} \subsection*{\texorpdfstring{7.1 Antitonic fits}{7.1 Antitonic fits}} \addcontentsline{toc}{subsection}{\texorpdfstring{7.1 Antitonic fits}{7.1 Antitonic fits}} For a real sequence $x = ( x_{0} , \dots , x_{N - 1} )$, its \textbf{antitonic fit} $z = \operatorname{fit} ( x )$ is the non-increasing sequence nearest to $x$ in the Euclidean norm; it exists and is unique (projection onto a closed convex cone). Its \textbf{level sets} are the maximal runs of positions with equal value. The \textbf{integer fit} replaces, on each level set of $p$ positions with sum $S$ (necessarily $S = p \cdot z$), the values by $S \bmod p$ copies of $\lceil S / p \rceil$ followed by $p - ( S \bmod p )$ copies of $\lfloor S / p \rfloor$; this is the integer antitonic fit of \S{}1.2, computed there by the pool-adjacent-violators algorithm [ABERS55], [BBBB72]. \textbf{Lemma 7.1 (characterization).} A non-increasing sequence $z$ is $\operatorname{fit} ( x )$ if and only if, for every level set $[ p , q ]$ of $z$, $\sum_{j = p}^{q} ( x_{j} - z_{j} ) = 0$ and $\sum_{j = p}^{s} ( x_{j} - z_{j} ) \le 0$ for $p \le s \le q$. \emph{Proof.} If a prefix of a level set had a positive sum, raising the values on that prefix by a small $\varepsilon$ and lowering the rest of the level set would keep $z$ non-increasing and decrease the distance; the same with a non-zero total. Conversely, let $y$ be non-increasing. Then $\| x - y \|^{2} = \| x - z \|^{2} + \| z - y \|^{2} + 2 \sum_{j} ( x_{j} - z_{j} ) ( z_{j} - y_{j} )$, and on a level set $[ p , q ]$ with value $c$, Abel summation with $S_{s} \mathrel{:=} \sum_{j = p}^{s} ( x_{j} - c ) \le 0$ ($S_{q} = 0$) gives \[\sum_{j = p}^{q} ( x_{j} - c ) ( c - y_{j} ) = - \sum_{s = p}^{q - 1} S_{s} ( y_{s} - y_{s + 1} ) \ge 0 ,\] \noindent since $y$ is non-increasing. So $\| x - y \| \ge \| x - z \|$. \hfill\ensuremath{\blacksquare} We say that $x$ is \textbf{cut} at a position $b$ ($0 < b < N$) if $\operatorname{fit} ( x )$ is the concatenation of $\operatorname{fit} ( x_{< b} )$ and $\operatorname{fit} ( x_{\ge b} )$. The cut is \textbf{strict} if moreover $\operatorname{fit} ( x )_{b - 1} > \operatorname{fit} ( x )_{b}$. A position $b$ with $\operatorname{fit} ( x )_{b - 1} > \operatorname{fit} ( x )_{b}$ is always a cut, since Lemma 7.1 is a condition on each level set separately and so holds for the two pieces; thus $b$ is a strict cut if and only if no level set of $\operatorname{fit} ( x )$ contains both $b - 1$ and $b$. \textbf{Lemma 7.2 (cuts and shifts).}\\ (a) If $\operatorname{fit} ( x_{< b} )$ followed by $\operatorname{fit} ( x_{\ge b} )$ is non-increasing, then $x$ is cut at $b$.\\ (b) Let $x$ be cut at the positions $b_{1} < \cdots < b_{s}$, and let $\delta$ be a non-increasing sequence that is constant between consecutive cut positions. Then $\operatorname{fit} ( x + \delta ) = \operatorname{fit} ( x ) + \delta$, and $x + \delta$ is cut at the same positions. If moreover $\delta$ is integer and constant on every level set of $\operatorname{fit} ( x )$ --- in particular, if every position at which $\delta$ changes is a strict cut of $x$ --- then $\operatorname{fit} ( x + \delta )$ has the level sets of $\operatorname{fit} ( x )$, the strict cuts of $x$ are strict cuts of $x + \delta$, and the integer fit of $x + \delta$ is the integer fit of $x$ plus $\delta$.\\ (c) If $\operatorname{fit} ( x )_{< b} = \operatorname{fit} ( x_{< b} )$, or $\operatorname{fit} ( x )_{\ge b} = \operatorname{fit} ( x_{\ge b} )$, then $x$ is cut at $b$. \emph{Proof.} (a) Each level set of the concatenation is a level set of one piece, or the union of a final level set of the first piece and an initial one of the second with the same value; Lemma 7.1 for the pieces gives it for the union (a prefix that crosses the cut has the total $0$ of the first part plus a prefix sum $\le 0$). (b) On each piece the fit of $x + \ \text{const}$ is the fit plus the constant; the concatenation is non-increasing, so (a) applies. Now let $\delta$ be integer and constant on every level set. Two adjacent level sets of $\operatorname{fit} ( x )$, with values $\mu_{A} > \mu_{B}$, receive constants $\delta_{A} \ge \delta_{B}$, so $\mu_{A} + \delta_{A} > \mu_{B} + \delta_{B}$: the level sets of $\operatorname{fit} ( x ) + \delta$ are those of $\operatorname{fit} ( x )$, and a strict cut stays strict (a strict drop of the fit is a cut). On a level set of $p$ positions with sum $S$, adding the integer $\delta_{L}$ to every position adds $p \delta_{L}$ to the sum, keeps $S \bmod p$, and adds $\delta_{L}$ to $\lceil S / p \rceil$ and to $\lfloor S / p \rfloor$; so the integer fit is shifted by $\delta$. A level set never contains the two sides of a strict cut, so a $\delta$ that changes only at strict cuts is constant on every level set. Without this hypothesis the integer claim fails: $x = ( 3 , 4 , 3 , 4 )$ is cut at $2$ but not strictly ($\operatorname{fit} ( x ) = ( 7 / 2 , 7 / 2 , 7 / 2 , 7 / 2 )$), and for $\delta = ( 1 , 1 , 0 , 0 )$ the integer fit of $x + \delta$ is $( 5 , 4 , 4 , 3 )$, while the integer fit of $x$ plus $\delta$ is $( 4 , 4 , 3 , 3 ) + \delta = ( 5 , 5 , 3 , 3 )$. (c) Suppose $z \mathrel{:=} \operatorname{fit} ( x )$ agrees with $\operatorname{fit} ( x_{< b} )$ before $b$. Let $L = L_{1} \cup L_{2}$ be a level set of $z$, with value $c$, that crosses $b$ ($L_{1}$ before $b$). The set $L_{1}$ is a final level set of $\operatorname{fit} ( x_{< b} )$, so $\sum_{L_{1}} ( x - c ) = 0$; hence the sum of $x - c$ over a prefix of $L_{2}$ equals its sum over $L_{1}$ plus that prefix, which is $\le 0$ by Lemma 7.1 for $z$, and the total over $L_{2}$ is $0$. The level sets of $z$ after $b$ are unchanged, so $z_{\ge b}$ satisfies Lemma 7.1 for $x_{\ge b}$. The second hypothesis is the first one for the reversed and negated sequence. \hfill\ensuremath{\blacksquare} \textbf{Antisymmetry.} For dancers in o-order, the \textbf{mirror} is $D \mapsto I \setminus D$, the reversal of positions; $x$ is \textbf{antisymmetric} if $x_{I \setminus D} = - x_{D}$. The fit of an antisymmetric sequence is antisymmetric, and so is its integer fit (on a level set of size $p$ and sum $- S$ the rule gives $p - ( S \bmod p )$ copies of $- \lfloor S / p \rfloor$ followed by $- \lceil S / p \rceil$); hence a position $b$ is a cut if and only if its mirror $N - b$ is, and a strict cut if and only if its mirror is. \textbf{Lemma 7.3 (antisymmetric gluing).} Let $x$ be antisymmetric of length $2 N'$, let $Z_{1} = \operatorname{fit} ( x_{< N'} )$ and let $X_{1}$ be the integer fit of $x_{< N'}$. Then \[\operatorname{fit} ( x ) = [ \max ( Z_{1} , 0 ) , \min ( Z_{2} , 0 ) ] \quad\text{and the integer fit of}\ x \ \text{is}\quad [ \max ( X_{1} , 0 ) , \min ( X_{2} , 0 ) ] ,\] \noindent where $Z_{2}$, $X_{2}$ are the mirror-negatives of $Z_{1}$, $X_{1}$ (so $Z_{2} = \operatorname{fit} ( x_{\ge N'} )$). \emph{Proof.} The candidate $z$ is non-increasing. Its level sets are the level sets of $Z_{1}$ with positive value, their mirrors, and one \textbf{central} level set $P \cup P^{*}$ with value $0$, where $P = \{ Z_{1} \le 0 \}$ is a final segment of the first half, a union of level sets of $Z_{1}$, and $P^{*}$ is its mirror. The positive level sets satisfy Lemma 7.1 because they do for $Z_{1}$; their mirrors by antisymmetry. On $P \cup P^{*}$ the total of $x$ is $0$ by antisymmetry. A prefix contained in $P$ has sum at most the corresponding sum of $Z_{1}$, by Lemma 7.1 applied to the level sets of $Z_{1}$ that it covers, and that sum is $\le 0$. A prefix that covers $P$ and the first $L$ positions of $P^{*}$ has sum $\sum_{P} x - \sum_{\text{last}\ L \ \text{positions of}\ P} x$, the sum over the first $| P | - L$ positions of $P$, which is $\le 0$ again. So $z = \operatorname{fit} ( x )$. The integer fit takes on the positive level sets the same values as $X_{1}$, and $0$ on the central one; and $X_{1} \ge 0$ where $Z_{1} > 0$, $X_{1} \le 0$ where $Z_{1} \le 0$. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{7.2 Theorem U}{7.2 Theorem U}} \addcontentsline{toc}{subsection}{\texorpdfstring{7.2 Theorem U}{7.2 Theorem U}} \textbf{Theorem 7.4 (Theorem U).} Let a cell have costs $\hat{c} ( a , b )$ on its arrows and pooled clocks $\hat{y}$. Suppose there are real functions $v$ (\guillemotleft{}rows\guillemotright{}) and $w$ (\guillemotleft{}columns\guillemotright{}) on the dancers such that \begin{itemize} \item[(U1)] $v$ and $w$ are non-increasing in o-order; \item[(U2)] $v ( D ) - w ( I \setminus D ) = \hat{y}_{D}$ for every dancer $D$; \item[(U3)] $v ( a ) - w ( b ) \le \hat{c} ( a , b )$ for every arrow $b \subseteq a$ (loops included). \end{itemize} Then every $r$-matching costs at least $Y ( r ) = \sum_{D \in L_{r}} \hat{y}_{D}$; that is, $T ( r ) \ge Y ( r )$. \emph{Proof.} For an $r$-matching with rows $R$ and columns $C$, by (U3) its cost is at least $\sum_{R} v - \sum_{C} w$. By (U1), $\sum_{R} v \ge \sum_{L_{r}} v$ and $\sum_{C} w \le \sum_{F_{r}} w$. Since $F_{r} = \{ I \setminus D : D \in L_{r} \}$, (U2) gives $\sum_{L_{r}} v - \sum_{F_{r}} w = \sum_{L_{r}} \hat{y}$. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{7.3 Houses, windows and penalties}{7.3 Houses, windows and penalties}} \addcontentsline{toc}{subsection}{\texorpdfstring{7.3 Houses, windows and penalties}{7.3 Houses, windows and penalties}} A \textbf{house} is $H = ( I , k , \ell , \alpha )$ with $I \subseteq [ 0 , k )$, $0 \le \ell < 2^{k}$ and $\alpha \ge 1$. Its \textbf{base ruler}, \textbf{carry-out set}, \textbf{base clocks} and \textbf{base costs} are \[R_{H} ( E ) \mathrel{:=} \sum_{t \in E} ( h_{t} - \alpha 2^{t} ) - \kappa ( \ell , o_{E} ) ,\quad J_{H} ( E ) \mathrel{:=} [ \ell + o_{E} \ge 2^{k} ] ,\] \[x_{H} ( D ) \mathrel{:=} R_{H} ( D ) - R_{H} ( I \setminus D ) ,\quad \hat{c}_{H} ( a , b ) \mathrel{:=} R_{H} ( a ) - R_{H} ( b ) + \gamma ( a \setminus b ) .\] \noindent The sequence $x_{H}$ is antisymmetric, and $J_{H}$ is an up-set of the o-order (it is monotone in $o_{E}$). For integers $P_{r} , P_{c} \ge 0$ the \textbf{penalty cell} $\operatorname{Cell} ( H ; P_{r} , P_{c} )$ has the costs $\hat{c}_{H} ( a , b ) - P_{r} J_{H} ( a ) + P_{c} J_{H} ( b )$ and the clocks $x_{H} ( D ) - P_{r} J_{H} ( D ) + P_{c} J_{H} ( I \setminus D )$. For $\mu \ge 0$ let $r_{k} ( \mu )$ be the number of consecutive ones of $\mu$ starting at bit $k$, that is $r_{k} ( \mu ) = v_{2} ( \lfloor \mu / 2^{k} \rfloor + 1 )$. \textbf{Lemma 7.5 (real cells).} Let $i \ge 1$, $m = i - 1$ and $\ell \mathrel{:=} m \bmod K$, and let $H = ( I , k , \ell , \alpha )$. Then $R_{m} = R_{H} - r_{k} ( m ) J_{H}$ and $R_{m + K} = R_{H} - r_{k} ( m + K ) J_{H}$; so the cell $( \lambda , i , \alpha )$ is $\operatorname{Cell} ( H ; r_{k} ( m ) , r_{k} ( m + K ) )$. \emph{Proof.} In the sum $m + o_{E}$ the low part $\ell + o_{E}$ produces the carries of $\kappa ( \ell , o_{E} )$, and a carry out of bit $k - 1$ exactly when $J_{H} ( E ) = 1$; that carry then runs through the $r_{k} ( m )$ ones of $m$ that start at bit $k$. The same holds for $m + K$, whose low part is also $\ell$. (One of the two penalties is $0$: the bit $k$ is $1$ in exactly one of $m$ and $m + K$.) \hfill\ensuremath{\blacksquare} \textbf{Windows.} For $t \in I$ let $W_{t} \mathrel{:=} [ t , \operatorname{next} ( t ) )$, of length $h_{t}$. The \textbf{type} of $t$ is the bit $T_{t}$ of $\ell$ at position $t$. Let $r_{u} ( \ell )$ be the number of consecutive ones of $\ell$ starting at bit $u$, and put \[\kappa_{t} \mathrel{:=} \min ( r_{t} ( \ell ) , h_{t} ) \quad\text{if}\quad T_{t} = 1 ,\quad \kappa_{t} \mathrel{:=} 1 + \min ( r_{t + 1} ( \ell ) , h_{t} - 1 ) \quad\text{if}\quad T_{t} = 0 ;\] \[\mathrm{sat}_{t} \mathrel{:=} [ \kappa_{t} = h_{t} ] \quad\text{(the window is saturated if}\quad \mathrm{sat}_{t} = 1 ), \tau_{t} \mathrel{:=} h_{t} - \alpha 2^{t} - [ T_{t} = 1 ] \kappa_{t} .\] \textbf{Lemma 7.6 (the gates).} For $E \subseteq I$, let $c_{t} ( E ) \in \{ 0 , 1 \}$ be the carry into bit $t$ in the sum $\ell + o_{E}$, and $d = [ t \in E ]$. Then $c_{t_{1}} ( E ) = 0$ and: \begin{itemize} \item if $T_{t} = 1$, the window $W_{t}$ makes $\kappa_{t}$ carries if $d \vee c_{t}$, and none otherwise; \item if $T_{t} = 0$, it makes $\kappa_{t}$ carries if $d \wedge c_{t}$, and none otherwise; \item a carry leaves $W_{t}$ ($c_{\operatorname{next} ( t )} = 1$) if and only if the window makes carries and is saturated. \end{itemize} Hence $R_{H} ( E ) = \sum_{t \in E} \tau_{t} - \sum_{t \in I} \kappa_{t} c_{t} ( E ) \cdot [ ( T_{t} = 1 \wedge t \notin E ) \vee ( T_{t} = 0 \wedge t \in E ) ]$, and $J_{H} ( E ) = c_{k} ( E )$. \emph{Proof.} Inside $W_{t}$ the addend $o_{E}$ has at most the bit $t$, and $\ell$ has the bit $T_{t}$ at $t$. If $T_{t} = 1$ and $d + c_{t} \ge 1$, bit $t$ carries, and the carry runs through the ones of $\ell$ at $t + 1 , \dots$: there are $\min ( r_{t} ( \ell ) , h_{t} )$ carries inside the window (for $d + c_{t} = 2$ the carry out of bit $t$ is the same and the run starts at $t + 1$, which gives the same count). If $T_{t} = 0$, bit $t$ carries only when $d = c_{t} = 1$, and then the carry runs through the $r_{t + 1} ( \ell )$ ones above $t$. The carry leaves the window exactly when all its positions carry. Below $t_{1}$ the addend is zero, so no carry is born there. Finally, $\kappa ( \ell , o_{E} ) = \sum_{t} ( \text{carries in}\ W_{t} )$ and $\sum_{t \in E} \kappa_{t} [ T_{t} = 1 ]$ is absorbed into $\tau$. \hfill\ensuremath{\blacksquare} \textbf{Lemma 7.7 (the top digit).} Let $I \ne \emptyset$, $c \mathrel{:=} \max I$, $I' \mathrel{:=} I \setminus \{ c \}$, $H' \mathrel{:=} ( I' , c , \ell \bmod 2^{c} , \alpha )$, and let $T , \kappa , \mathrm{sat} , \tau$ be the data of the window $W_{c} = [ c , k )$ of $H$, of length $h \mathrel{:=} k - c$. For $D_{0} \subseteq I'$: \begin{gather*}R_{H} ( D_{0} ) = R_{H'} ( D_{0} ) - [ T = 1 ] \kappa J_{H'} ( D_{0} ) , \\ R_{H} ( D_{0} \cup \{ c \} ) = \tau + R_{H'} ( D_{0} ) - [ T = 0 ] \kappa J_{H'} ( D_{0} ) ,\end{gather*} \begin{gather*}J_{H} ( D_{0} ) = [ T = 1 ] \cdot \mathrm{sat} \cdot J_{H'} ( D_{0} ) , \\ J_{H} ( D_{0} \cup \{ c \} ) = \mathrm{sat} \cdot ( [ T = 1 ] + [ T = 0 ] J_{H'} ( D_{0} ) ) ,\end{gather*} \noindent and for $\Delta \subseteq I$: $\gamma_{I} ( \Delta ) = \gamma_{I'} ( \Delta ) + h$ if $c \notin \Delta \ne \emptyset$, and $\gamma_{I} ( \Delta_{0} \cup \{ c \} ) = \gamma_{I'} ( \Delta_{0} )$. Consequently the first half of the base clocks of $H$ (the dancers without $c$) is $x_{H'} + d_{1}$, with \[d_{1} ( D_{0} ) \mathrel{:=} - \tau - [ T = 1 ] \kappa J_{H'} ( D_{0} ) + [ T = 0 ] \kappa J_{H'} ( I' \setminus D_{0} ) ,\] \noindent and the second half is its mirror-negative. \emph{Proof.} The windows of the digits of $I'$ are the same in $H$ and in $H'$ (the predecessor of $c$ has $\operatorname{next} = c$ in both), with the same types and data; the carry into $W_{c}$ is $c_{c} ( E ) = J_{H'} ( E \cap I' )$. Apply Lemma 7.6 to $H$ and to $H'$. For $\gamma$: the digit $c$ is skipped by every non-empty $\Delta \not\ni c$, and is never skipped otherwise. The clocks follow by subtraction, with $I \setminus D_{0} = ( I' \setminus D_{0} ) \cup \{ c \}$. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{7.4 Theorem F}{7.4 Theorem F}} \addcontentsline{toc}{subsection}{\texorpdfstring{7.4 Theorem F}{7.4 Theorem F}} \textbf{Theorem 7.8 (Theorem F, the floor).} For every house $H = ( I , k , \ell , \alpha )$, let $\hat{y}_{H}$ be the integer fit of $x_{H}$. There is a function $V : 2^{I} \to \mathbb{Z}$ with \begin{itemize} \item[(E)] $V ( D ) - V ( I \setminus D ) = \hat{y}_{H} ( D )$ for every $D$; \item[(M)] $V$ non-increasing in o-order; \item[(G)] $V ( a ) - V ( b ) \le \hat{c}_{H} ( a , b )$ for every $b \subsetneq a$; \end{itemize} and moreover: \begin{itemize} \item[(Cut)] $x_{H}$ is cut at the first dancer $b$ with $J_{H} ( b ) = 1$ (if any), and hence at its mirror; and these cuts are \textbf{strict}: $\operatorname{fit} ( x_{H} )$ is larger at the dancer before $b$ than at $b$, and likewise at the mirror. ($b \ne \emptyset$, since $J_{H} ( \emptyset ) = [ \ell \ge 2^{k} ] = 0$.) \item[(\ensuremath{\Lambda})] $| \hat{y}_{H} | \le \alpha ( 2^{k} - 1 )$. \end{itemize} \emph{Proof.} Induction on $| I |$. For $I = \emptyset$ there is one dancer, $x = \hat{y} = 0$, $V \mathrel{:=} 0$, and $J_{H} ( \emptyset ) = [ \ell \ge 2^{k} ] = 0$. Let $I \ne \emptyset$ and let $H'$, $c$, $T$, $\kappa$, $\mathrm{sat}$, $\tau$, $h$ be as in Lemma 7.7, with $V'$, $\hat{y}'$, $J'$ given by the induction hypothesis for $H'$. Write $X_{1} \mathrel{:=} \hat{y}' + d_{1}$ on the dancers $D_{0} \subseteq I'$ and $X_{2}$ for its mirror-negative. \begin{enumerate} \item[1.] \textbf{The walk.} The sequence $d_{1}$ is integer, non-increasing, and changes only at the first dancer with $J' = 1$ and at its mirror ($J'$ is an up-set; $J' \circ \mathrm{mirror}$ is a down-set). These are strict cuts of $x_{H'}$, by (Cut) for $H'$. So, by Lemma 7.2(b), the real fit of $x_{H'} + d_{1}$ is $\operatorname{fit} ( x_{H'} ) + d_{1}$, with the level sets of $\operatorname{fit} ( x_{H'} )$, and its integer fit is $X_{1}$. By Lemma 7.3, \[\hat{y}_{H} = [ \max ( X_{1} , 0 ) , \min ( X_{2} , 0 ) ] .\] \item[2.] \textbf{(\ensuremath{\Lambda}).} $d_{1} \le - \tau + [ T = 0 ] \kappa = \alpha 2^{c} - h + \kappa \le \alpha 2^{c}$, since $\kappa \le h$. With (\ensuremath{\Lambda}) for $H'$, $X_{1} \le \alpha ( 2^{c} - 1 ) + \alpha 2^{c} \le \alpha ( 2^{k} - 1 )$; so $0 \le \max ( X_{1} , 0 ) \le \alpha ( 2^{k} - 1 )$, and the second half follows by antisymmetry. \item[3.] \textbf{(Cut).} By Lemma 7.7, $J_{H} = [ T = 1 ] \cdot \mathrm{sat} \cdot ( J' , 1 )$, or $\mathrm{sat} \cdot [ T = 0 ] \cdot ( 0 , J' )$, or $J_{H} \equiv 0$ (we write a function on $2^{I}$ as the pair of its values on the two halves).\\ (a) $T = 1$, $\mathrm{sat} = 1$, $J' \not\equiv 0$: the boundary $b$ of $J_{H}$ is the boundary of $J'$ in the first half. Saturation of type $1$ means $\kappa = h$, so $\tau = - \alpha 2^{c}$ and $d_{1} = \alpha 2^{c} - h J'$. Just before $b$, $J' = 0$ and $X_{1} = \hat{y}' + \alpha 2^{c} \ge \alpha > 0$ by (\ensuremath{\Lambda}) for $H'$; so the real fit $Z_{1}$ of the first half is positive before $b$, and by Lemma 7.3 $\operatorname{fit} ( x_{H} )_{< b} = ( Z_{1} )_{< b}$. The first half is cut at $b$ (step 1), so $( Z_{1} )_{< b} = \operatorname{fit} ( ( x_{H} )_{< b} )$, and Lemma 7.2(c) gives the cut. It is strict: on the first half $\operatorname{fit} ( x_{H} ) = \max ( Z_{1} , 0 )$ (Lemma 7.3), and $Z_{1} = \operatorname{fit} ( x_{H'} ) + d_{1}$ with $\operatorname{fit} ( x_{H'} )$ non-increasing and $d_{1}$ dropping by $h \ge 1$ at $b$; so, if $b^{-}$ is the dancer before $b$, $Z_{1} ( b^{-} ) \ge Z_{1} ( b ) + h$, and $Z_{1} ( b^{-} ) > 0$. So $\max ( Z_{1} , 0 )$ drops strictly at $b$.\\ (b) $T = 1$, $\mathrm{sat} = 1$, $J' \equiv 0$: the boundary is the middle of the sequence, and $X_{1} ( I' ) = \hat{y}' ( I' ) + \alpha 2^{c} \ge \alpha > 0$; so $Z_{1} > 0$, $\operatorname{fit} ( x_{H} )$ restricted to the first half is $Z_{1}$, and Lemma 7.2(c) gives the cut at the middle. It is strict: $\operatorname{fit} ( x_{H} )$ is $Z_{1} ( I' ) > 0$ at $I'$ and $\min ( Z_{2} ( \{ c \} ) , 0 ) \le 0$ at $\{ c \}$.\\ (c) $T = 0$, $\mathrm{sat} = 1$, $J' \not\equiv 0$: the boundary is $b' \cup \{ c \}$, with $b'$ the boundary of $J'$. Saturation of type $0$ means $\kappa = h$ and $\tau = h - \alpha 2^{c}$. The second half of the clocks is $x_{H'} + d_{2}$ with $d_{2} ( D_{0} ) = \tau - [ T = 0 ] \kappa J' ( D_{0} ) + [ T = 1 ] \kappa J' ( I' \setminus D_{0} )$ (Lemma 7.7), which is non-increasing and changes only at cuts of $x_{H'}$; so the second half is cut at $b' \cup \{ c \}$, and its integer fit is $X_{2} = \hat{y}' + d_{2}$. Here $X_{2} ( b' ) = \hat{y}' ( b' ) + \tau - \kappa = \hat{y}' ( b' ) - \alpha 2^{c} \le - \alpha < 0$, so the real fit $Z_{2}$ of the second half is negative from $b' \cup \{ c \}$ on, $\operatorname{fit} ( x_{H} )_{\ge b' \cup \{ c \}} = ( Z_{2} )_{\ge b' \cup \{ c \}} = \operatorname{fit} ( ( x_{H} )_{\ge b' \cup \{ c \}} )$, and Lemma 7.2(c) gives the cut. It is strict: $b' \ne \emptyset$ (as $J' ( \emptyset ) = 0$), on the second half $\operatorname{fit} ( x_{H} ) = \min ( Z_{2} , 0 )$ (Lemma 7.3), and $Z_{2} = \operatorname{fit} ( x_{H'} ) + d_{2}$ (Lemma 7.2(b), $b'$ being a strict cut of $x_{H'}$) drops by at least $\kappa = h \ge 1$ at $b' \cup \{ c \}$, where it is negative. So $\min ( Z_{2} , 0 )$ drops strictly at $b' \cup \{ c \}$.\\ (d) Otherwise $\mathrm{sat} = 0$, or $T = 0$ and $J' \equiv 0$; then $J_{H} \equiv 0$ (Lemma 7.7), and there is nothing to prove. In each case the mirror cut is strict by antisymmetry (\S{}7.1). \item[4.] \textbf{The inherited potential.} On the first half put $v' ( D_{0} ) \mathrel{:=} V' ( D_{0} ) - [ T = 1 ] \kappa J' ( D_{0} )$, and on the second half $v' ( D_{0} \cup \{ c \} ) \mathrel{:=} \tau + V' ( D_{0} ) - [ T = 0 ] \kappa J' ( D_{0} )$. Then $v' = R_{H} + \omega$ with $\omega ( D ) \mathrel{:=} ( V' - R_{H'} ) ( D \cap I' )$, and: \begin{itemize} \item[(G)] for $v'$, with \textbf{slack $h$ on same-half arrows}: $\hat{c}_{H} ( a , b ) \ge v' ( a ) - v' ( b ) + h$ if $c \in a , b$ or $c \notin a , b$, and $\hat{c}_{H} ( a , b ) \ge v' ( a ) - v' ( b )$ if $c \in a \setminus b$. Indeed $v' ( a ) - v' ( b ) - R_{H} ( a ) + R_{H} ( b ) = \omega ( a ) - \omega ( b ) = ( V' - R_{H'} ) ( a \cap I' ) - ( V' - R_{H'} ) ( b \cap I' )$, which is $\le \gamma_{I'} ( ( a \setminus b ) \cap I' )$ by (G) for $H'$ (and $0$ when $a \cap I' = b \cap I'$), and Lemma 7.7 compares $\gamma_{I}$ with $\gamma_{I'}$. \item[(E)] for $v'$ with $X_{1}$: $v' ( D_{0} ) - v' ( I \setminus D_{0} ) = ( V' ( D_{0} ) - V' ( I' \setminus D_{0} ) ) + d_{1} ( D_{0} ) = \hat{y}' ( D_{0} ) + d_{1} ( D_{0} ) = X_{1} ( D_{0} )$, by (E) for $H'$; and on the second half with $X_{2}$. \item[(M)] for $v'$ inside each half ($V'$ is non-increasing and $J'$ is an up-set). \end{itemize} \item[5.] \textbf{The junction.} $v' ( \{ c \} ) - v' ( I' ) = - X_{1} ( I' )$, and, by (\ensuremath{\Lambda}) for $H'$, \begin{center}$\displaystyle - X_{1} ( I' ) = - \hat{y}' ( I' ) + \tau + [ T = 1 ] \kappa J' ( I' ) - [ T = 0 ] \kappa J' ( \emptyset ) \le \alpha ( 2^{c} - 1 ) + h - \alpha 2^{c} = h - \alpha .$\end{center} \item[6.] \textbf{No central flat.} If $X_{1} ( I' ) > 0$, then $\hat{y}_{H} = ( X_{1} , X_{2} )$, and $V \mathrel{:=} v'$ satisfies (E), (M) (at the junction by step 5) and (G). \item[7.] \textbf{The central flat.} If $X_{1} ( I' ) \le 0$, let $F_{1} \mathrel{:=} \{ X_{1} \le 0 \}$, a non-empty final segment of the first half containing $I'$, and $F_{2}$ its mirror, an initial segment of the second half containing $\{ c \}$. Put $F \mathrel{:=} F_{1} \cup F_{2}$; $\hat{y}_{H} = 0$ exactly on $F$. Let $f$ be the first dancer of $F_{1}$, $p$ the dancer just before $f$ (if any) and $p^{*} = I \setminus p$ the dancer just after $F$ (if any). Put \[c_{3} \mathrel{:=} v' ( f ) = \max_{F_{1}} v' ,\quad c_{4} \mathrel{:=} v' ( I \setminus f ) = \min_{F_{2}} v' .\] \noindent Then $c_{3} - c_{4} = X_{1} ( f ) \le 0$ by (E) for $v'$, $c_{3} \le v' ( p )$, $v' ( p^{*} ) \le c_{4}$, and $v' ( p^{*} ) < v' ( p )$ (because $v' ( p ) - v' ( p^{*} ) = X_{1} ( p ) > 0$). So \textbf{the interval $[ \max ( c_{3} , v' ( p^{*} ) ) , \min ( c_{4} , v' ( p ) ) ]$ is non-empty}. Choose an integer $c_{F}$ in it, and put $V \mathrel{:=} c_{F}$ on $F$ and $V \mathrel{:=} v'$ elsewhere. \item[8.] \textbf{Checks.} (E): on $F$ both sides are $c_{F}$ and $\hat{y}_{H} = 0$; off $F$ nothing changed. (M): $V$ is constant on the segment $F$, and $v' ( p ) \ge c_{F} \ge v' ( p^{*} )$. (G) for an arrow $a \to b$ ($b \subsetneq a$, so $b$ comes before $a$ in o-order) with at least one end in $F$. Since $F_{1}$ is a final segment of the first half and $F_{2}$ an initial segment of the second, the cases are: \begin{itemize} \item $a \in F_{2}$, $b$ before $F$: $c_{F} \le c_{4} \le v' ( a )$, and $v' ( a ) - v' ( b ) \le \hat{c}_{H} ( a , b )$. \item $a \in F_{1}$, $b$ before $F$ (same half): $c_{F} \le c_{4} \le v' ( \{ c \} ) \le v' ( I' ) + h - \alpha \le v' ( a ) + h - \alpha$, and $\hat{c}_{H} ( a , b ) \ge v' ( a ) - v' ( b ) + h$; so $c_{F} - v' ( b ) \le \hat{c}_{H} ( a , b ) - \alpha$. \item $b \in F_{1}$, $a$ after $F$: $c_{F} \ge c_{3} \ge v' ( b )$, and $v' ( a ) - v' ( b ) \le \hat{c}_{H} ( a , b )$. \item $b \in F_{2}$, $a$ after $F$ (same half): $c_{F} \ge c_{3} \ge v' ( I' ) \ge v' ( \{ c \} ) - h + \alpha \ge v' ( b ) - h + \alpha$, and $\hat{c}_{H} ( a , b ) \ge v' ( a ) - v' ( b ) + h$; so $v' ( a ) - c_{F} \le \hat{c}_{H} ( a , b ) - \alpha$. \item Both ends in $F$, same half: $\hat{c}_{H} ( a , b ) \ge v' ( a ) - v' ( b ) + h \ge v' ( I' ) - v' ( \{ c \} ) + h \ge \alpha > 0$. If both lie in $F_{1}$, then $v' ( a ) \ge v' ( I' )$ and $v' ( b ) \le c_{3} \le c_{4} \le v' ( \{ c \} )$; if both lie in $F_{2}$, then $v' ( a ) \ge c_{4} \ge c_{3} \ge v' ( I' )$ and $v' ( b ) \le v' ( \{ c \} )$. Both ends in $F$, $a \in F_{2}$ and $b \in F_{1}$: $\hat{c}_{H} ( a , b ) \ge v' ( a ) - v' ( b ) \ge c_{4} - c_{3} \ge 0$. \end{itemize} In every case $V ( a ) - V ( b ) \le \hat{c}_{H} ( a , b )$. \hfill\ensuremath{\blacksquare} \end{enumerate} The construction has a plain reading: at each new digit \textbf{exactly one new flat appears, mirror-symmetric, and it pays one price, chosen between the dearest dancer of its lower half and the cheapest of its upper half; every other dancer keeps the price it had one digit below.} \subsection*{\texorpdfstring{7.5 Every cell}{7.5 Every cell}} \addcontentsline{toc}{subsection}{\texorpdfstring{7.5 Every cell}{7.5 Every cell}} \textbf{Lemma 7.9 (integrality).} In every house the real fit of $x_{H}$ takes integer values. So does the real fit of the clocks of every penalty cell $\operatorname{Cell} ( H ; P_{r} , P_{c} )$, and that of $x_{H}$ with its first dancer deleted, in the house $\ell = 2^{k} - 1$. Consequently, in each of these the integer fit is the real fit, and it is non-increasing. \emph{Proof.} Induction on $| I |$. For $I = \emptyset$ the sequence is $( 0 )$. Let $I \ne \emptyset$, with $H'$ and $d_{1}$ as in Lemma 7.7. The shift $d_{1}$ is integer, non-increasing, and changes only at cuts of $x_{H'}$ (step 1 of the proof of Theorem 7.8); so, by Lemma 7.2(b), the real fit $Z_{1}$ of the first half is $\operatorname{fit} ( x_{H'} ) + d_{1}$, integral by induction, and by Lemma 7.3 $\operatorname{fit} ( x_{H} ) = [ \max ( Z_{1} , 0 ) , \min ( Z_{2} , 0 ) ]$ is integral. The penalty shift of a cell is integer, non-increasing, and changes only at cuts of $x_{H}$ (Theorem 7.8, (Cut)), so Lemma 7.2(b) again gives an integral fit. In the house $\ell = 2^{k} - 1$ with $I \ne \emptyset$, $x_{H}$ is cut at its second dancer $\{ t_{1} \}$ (Theorem 7.8, (Cut)), so the fit of the sequence without its first dancer is the restriction of $\operatorname{fit} ( x_{H} )$. Finally, on a level set of integral value $z$ with $p$ positions the sum is $S = p z$, so $S \bmod p = 0$ and the integer fit is $z$ there. \hfill\ensuremath{\blacksquare} Strictness is not used in this proof: a cut is enough. As written, strictness is also used in Theorem 7.8 (steps 1 and 3) and in Theorem 7.10, to identify integer fits; with Lemma 7.9 a cut suffices there (in Theorem 7.8 by a joint induction with Lemma 7.9, which uses the (Cut) of Theorem 7.8). It is indispensable only in Proposition 9.6 (H), twice: in the induction for the base cell, and for the penalty shift. Lemma 7.9 also shows that the integer part of Lemma 7.2(b) was never needed beyond integral fits; we keep the strict (Cut) of Theorem 7.8 because Proposition 9.6 needs it. \textbf{Theorem 7.10.} For every family $\lambda$, every $\alpha \ge 1$ and every shift $i \ge 1$, $T ( r ) \ge Y ( r )$ for every $r$, and the Smith exponents of $M^{( \alpha )} ( \lambda , i )$ are $\alpha K + \kappa ( m , K ) + \hat{y}_{D}$ ($D \subseteq I$), where $\hat{y}$ is the integer fit of the clocks $x_{D}$ of \S{}5. For $i = 0$ the Smith exponents are $\infty$ (once) and $\alpha K + \hat{y}^{\sharp}_{D}$ ($D \ne \emptyset$), where $\hat{y}^{\sharp}$ is the integer fit of the sequence $x^{\sharp}_{D}$ ($D \ne \emptyset$) of Proposition 5.4. \emph{Proof.} \emph{The case $i \ge 1$.} By Lemma 7.5 the cell is $\operatorname{Cell} ( H ; P_{r} , P_{c} )$ with $H = ( I , k , m \bmod K , \alpha )$. Let $V$ be given by Theorem 7.8 and put $v \mathrel{:=} V - P_{r} J_{H}$, $w \mathrel{:=} V - P_{c} J_{H}$. (U1) holds because $J_{H}$ is an up-set. (U3): $v ( a ) - w ( b ) - \hat{c} ( a , b ) = V ( a ) - V ( b ) - \hat{c}_{H} ( a , b ) \le 0$ by (G), and it is $0$ on loops. (U2): $v ( D ) - w ( I \setminus D ) = \hat{y}_{H} ( D ) - P_{r} J_{H} ( D ) + P_{c} J_{H} ( I \setminus D )$, which is the integer fit of the clocks of the cell by Lemma 7.2(b): the penalty shift $- P_{r} J_{H} ( D ) + P_{c} J_{H} ( I \setminus D )$ is integer, non-increasing, and changes only at the first dancer with $J_{H} = 1$ and at its mirror, which are strict cuts of $x_{H}$ (Theorem 7.8, (Cut)). Theorem 7.4 gives $T ( r ) \ge Y ( r )$; Lemma 7.9 gives monotonicity, and Theorem 6.5 concludes.\\ \emph{The case $i = 0$.} The row $\emptyset$ of $M ( \lambda , 0 )$ is zero, so the Smith exponents are $\infty$ and those of the submatrix $M^{\sharp}$ of the rows $D \ne \emptyset$. By Proposition 5.4 its normalized costs are those of the house $H^{\sharp} = ( I , k , K - 1 , \alpha )$, for which $J_{H^{\sharp}} ( D ) = [ D \ne \emptyset ]$, and $x^{\sharp}_{D} = x_{H^{\sharp}} ( D )$ for $D \ne \emptyset$. If $I \ne \emptyset$, the cut of $x_{H^{\sharp}}$ at the dancer $\{ t_{1} \}$ is strict (Theorem 7.8, (Cut)), so $\emptyset$ is a level set by itself, and the fit and the integer fit of $x^{\sharp}$ (the sequence without $\emptyset$) are those of $x_{H^{\sharp}}$ restricted to $D \ne \emptyset$; if $I = \emptyset$, $M ( \lambda , 0 ) = 0$. For $r \le N - 1$ the rows $L_{r}$ avoid $\emptyset$ and the columns $F_{r}$ avoid $I$. So Lemma 6.1, Theorem O, Corollary 6.3 and Lemma 6.4 hold for $M^{\sharp}$ with the same proofs: they involve only the rows $L_{r}$ and the columns $F_{r}$, and every entry of $M^{\sharp}$ in the support is non-zero, because no window of a row $D \ne \emptyset$ contains $d = 0$; and Theorem 7.4 holds with $v = w = V$ restricted to the dancers that occur. \hfill\ensuremath{\blacksquare} \section*{\texorpdfstring{8. Proof of the Main Theorem}{8. Proof of the Main Theorem}} \addcontentsline{toc}{section}{\texorpdfstring{8. Proof of the Main Theorem}{8. Proof of the Main Theorem}} Let $n \ge 1$. By Theorem 3.8, \[\mathbb{Z}_{2} \oplus \operatorname{Syl}_{2} K ( Q_{n} ) \cong \bigoplus_{\lambda} X^{( 1 )} ( \lambda , ( n - \lambda ) / 2 )^{m_{\lambda} ( n )} ,\] \noindent the sum over $\lambda \equiv n \ (\mathrm{mod}\ 2)$ with $1 \le \lambda \le n$ (Lemma 3.7: $m_{0} ( n ) = 0$). Fix a family $\lambda$ and $i = ( n - \lambda ) / 2$. By Theorem D, $X^{( 1 )} ( \lambda , i )$ is the small clocks plus $\operatorname{coker} ( 2^{k} M )$, $M = M^{( 1 )} ( \lambda , i )$. \begin{itemize} \item If $i \ge 1$, by Theorem 7.10 (with $\alpha = 1$) the Smith exponents of $M$ are $K + \kappa ( m , K ) + \hat{y}_{D}$, where $\hat{y}$ is the integer fit of the clocks $x_{D}$. Those of $\operatorname{coker} ( 2^{k} M )$ are $k + K + \kappa ( m , K ) + \hat{y}_{D}$. By Proposition 5.3 the raw clocks are $u_{i} ( D ) = k + K + \kappa ( m , K ) + x_{D}$, and adding an integer constant commutes with the integer fit. So these exponents are the pooled clocks $\hat{y}_{i} ( D )$ of \S{}1.2. \item If $i = 0$ (so $\lambda = n$ and $m_{n} ( n ) = 1$), the Smith exponents of $M$ are $\infty$ and $K + \hat{y}^{\sharp}_{D}$ ($D \ne \emptyset$), and by Proposition 5.4 $u_{0} ( D ) = k + K + x^{\sharp}_{D}$. So $\operatorname{coker} ( 2^{k} M )$ is $\mathbb{Z}_{2}$ (the big clock $\hat{y}_{0} ( \emptyset ) = \infty$) plus the pooled clocks of the sequence $u_{0} ( D )$, $D \ne \emptyset$. This is the convention of \S{}1.2: the entry $\infty$ stands first and is not pooled. \item If $I = \emptyset$, $M$ is $1 \times 1$. For $i \ge 1$ its exponent is $K + \kappa ( m , K )$ (Proposition 5.2 with $x_{\emptyset} = 0$), and $u_{i} ( \emptyset ) = \varphi ( K ) + \kappa ( i - 1 , K ) = k + K + \kappa ( m , K )$. For $i = 0$, $M = 0$. \end{itemize} The fits are integral, so the integer fits are the fits themselves, and they are non-increasing (Lemma 7.9). This proves the Main Theorem. \hfill\ensuremath{\blacksquare} \section*{\texorpdfstring{9. Consequences}{9. Consequences}} \addcontentsline{toc}{section}{\texorpdfstring{9. Consequences}{9. Consequences}} \subsection*{\texorpdfstring{9.1 Bai's counts}{9.1 Bai's counts}} \addcontentsline{toc}{subsection}{\texorpdfstring{9.1 Bai's counts}{9.1 Bai's counts}} \textbf{Lemma 9.1.} Every raw clock $u_{i} ( D )$ with $( i , D ) \ne ( 0 , \emptyset )$ is at least $2$, and so is every pooled big clock. \emph{Proof.} $\varphi ( \xi ) \ge \xi \ge 1$, and $\kappa \ge 0$. If $\xi = K + o_{I \setminus D} - o_{D} = 1$, then, since $o_{D} \le o_{I} < K$, we need $o_{I \setminus D} = 0$ and $o_{D} = K - 1$, that is $D = I = [ 0 , k )$; then $h ( D ) = k \ge 1$ (the family has $\lambda \ge 1$). So $u_{i} ( D ) \ge 2$. A level set of numbers that are all $\ge 2$ has mean $\ge 2$, and its integer fit takes values $\ge \lfloor \operatorname{mean} \rfloor \ge 2$. \hfill\ensuremath{\blacksquare} \emph{Proof of Corollary 1.5.} A copy of a family with $k \ge 1$ contributes \[\sum_{a = 1}^{k - 1} 2^{| I | + k - 1 - a} + 2^{| I |} = 2^{| I | + k - 1} = \dim T ( \lambda ) / 2\] \noindent cyclic factors, all non-trivial (Lemma 9.1), one of which is $\mathbb{Z}_{2}$ exactly for $\lambda = n$. By Lemma 3.7 only families with $k \ge 1$ occur, and $\sum_{\lambda} m_{\lambda} ( n ) \dim T ( \lambda ) = 2^{n}$ (Theorem 3.6). So $\operatorname{Syl}_{2} K ( Q_{n} )$ has $2^{n - 1} - 1$ cyclic factors. A factor $\mathbb{Z} / 2$ can only be a small clock with $a = 1$, and a family with $k \ge 2$ has $2^{| I | + k - 2} = \dim T ( \lambda ) / 4$ of them. The families with $k \le 1$ and $\lambda \ge 1$ are $\lambda = 1$ ($\dim 2$) and $\lambda = 2$ ($\dim 4$). So the number of factors $\mathbb{Z} / 2$ is $( 2^{n} - 2 m_{1} ( n ) - 4 m_{2} ( n ) ) / 4$, which by Lemma 3.7 is $2^{n - 2} - 2^{( n - 3 ) / 2}$ for odd $n$ and $2^{n - 2} - 2^{( n - 2 ) / 2}$ for even $n \ge 2$; that is $a_{n}$. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{9.2 The podium}{9.2 The podium}} \addcontentsline{toc}{subsection}{\texorpdfstring{9.2 The podium}{9.2 The podium}} In this subsection the family is $\lambda$, with digits $t_{1} < \cdots < t_{s}$ of $I$ ($t_{s + 1} \mathrel{:=} k$), and $P_{l} \mathrel{:=} \{ t_{1} , \dots , t_{l} \}$. Put \[Y_{l} \mathrel{:=} \lambda + 1 - o_{P_{l}} = K + o ( I \setminus P_{l} ) ,\quad\text{so}\quad v_{2} ( Y_{l} ) = t_{l + 1} ,\] \noindent and $\psi ( E ) = \sum_{t \in E} ( h_{t} - 2^{t} )$ as in \S{}5, $\psi_{t} \mathrel{:=} \psi ( \{ t \} ) = h_{t} - 2^{t}$. Recall $g ( N ) = \max_{1 \le y < N} \varphi ( y )$. \textbf{Lemma 9.2.} (a) $\varphi ( \lambda + 1 ) + \psi ( P_{l} ) = \varphi ( Y_{l} )$ for $0 \le l \le s$. (b) For $N \ge 1$, $\max_{1 \le y \le N} \varphi ( y )$ is attained at a \textbf{clearing} of $N$: a number obtained from $N$ by clearing some of its lowest set bits, not all of them. (c) $Y_{0} , \dots , Y_{s}$ are the clearings of $\lambda + 1$; hence $\max_{l} \varphi ( Y_{l} ) = g ( \lambda + 2 )$, and $\max_{l \ge 1} \varphi ( Y_{l} ) = \max_{1 \le y \le Y_{1}} \varphi ( y )$. \emph{Proof.} (a) $\psi ( P_{l} ) = \sum_{j \le l} ( t_{j + 1} - t_{j} ) - o_{P_{l}} = t_{l + 1} - t_{1} - o_{P_{l}}$, and $\varphi ( \lambda + 1 ) = \lambda + 1 + t_{1}$. (b) Given $y \le N$ with $v_{2} ( y ) = q$, let $N_{q}$ be $N$ with its bits below $q$ cleared. Then $y \le N_{q}$, because $y$ is a multiple of $2^{q}$ not above $N$; and $v_{2} ( N_{q} ) \ge q$, so $\varphi ( N_{q} ) \ge \varphi ( y )$; and $N_{q}$ is a clearing. (c) is (b) for $N = \lambda + 1$ and $N = Y_{1}$. \hfill\ensuremath{\blacksquare} For $N = n - 1$, part (b) is the observation of [GMMY24, Remark 4.4]. \textbf{Proposition 9.3 (shift $1$).} Let $i = 1$ and write $e ( D )$ for the pooled big clocks. Then\\ (a) $e ( \emptyset ) = \max_{0 \le l \le s} \varphi ( Y_{l} )$;\\ (b) $e ( D ) \le \max_{1 \le l \le s} \varphi ( Y_{l} )$ for $D \ne \emptyset$;\\ (c) if $0 \in I$, then $e ( \{ 0 \} ) = \max_{1 \le l \le s} \varphi ( Y_{l} )$. \emph{Proof.} At $i = 1$, $m = 0$ and $\ell = 0$. In the house $( I , k , 0 , 1 )$ every window is of type $0$ with $\kappa_{t} = 1$, no carry is ever born (Lemma 7.6), and $J \equiv 0$. So $R_{0} = R_{K} = \psi$ and the cell is its base cell. In the proof of Theorem 7.8 at the level $j$ (digit $c = t_{j}$) the datum $\tau$ of the window (\S{}7.3) is $\psi_{t_{j}}$, and $d_{1} = - \psi_{t_{j}}$. With the antisymmetry of $\hat{y}_{j - 1}$, step 1 reads \begin{gather*}\hat{y}_{j} ( D_{0} ) = \max ( \hat{y}_{j - 1} ( D_{0} ) - \psi_{t_{j}} , 0 ) \quad\text{and} \\ \hat{y}_{j} ( D_{0} \cup \{ t_{j} \} ) = \min ( \hat{y}_{j - 1} ( D_{0} ) + \psi_{t_{j}} , 0 ) .\end{gather*} \noindent Moreover $e ( D ) = k + K + \hat{y}_{s} ( D )$ and $k + K = \varphi ( \lambda + 1 ) + \psi ( I )$ (proof of Proposition 5.3).\\ (a) The recursion $y_{j} = \max ( y_{j - 1} - \psi_{t_{j}} , 0 )$ with $y_{0} = 0$ gives \[\hat{y}_{s} ( \emptyset ) = \max_{l} ( - \sum_{j > l} \psi_{t_{j}} ) .\] \noindent So $e ( \emptyset ) = \max_{l} [ \varphi ( \lambda + 1 ) + \psi ( P_{l} ) ] = \max_{l} \varphi ( Y_{l} )$, by Lemma 9.2(a).\\ (b) Let $b$ be the largest index with $t_{b} \in D$. Then $\hat{y}_{b} ( D \cap P_{b} ) \le 0$, and from level $b$ on the same recursion gives $\hat{y}_{s} ( D ) \le \max_{l \ge b} ( - \sum_{j > l} \psi_{t_{j}} )$.\\ (c) $t_{1} = 0$ and $\psi_{0} = h_{0} - 1 \ge 0$, so $\hat{y}_{1} ( \{ 0 \} ) = \min ( \psi_{0} , 0 ) = 0$. From level $1$ on, the recursion is that of (a) started at $0$. \hfill\ensuremath{\blacksquare} \textbf{Proposition 9.4 (shift $0$).} Let $\lambda = n$ and $i = 0$, and let $e ( D )$ ($D \ne \emptyset$) be the pooled big clocks. Then\\ (a) $e ( \{ t_{1} \} ) = \max ( \varphi ( Y_{1} ) - 2^{t_{1}} , \max_{2 \le l \le s} \varphi ( Y_{l} ) )$;\\ (b) $e ( D ) \le \max_{2 \le l \le s} \varphi ( Y_{l} )$ for every other $D \ne \emptyset$. (A maximum over an empty set is $- \infty$.) \emph{Proof.} By Theorem 7.10 the clocks are those of the house $H^{\sharp} = ( I , k , K - 1 , 1 )$, shifted by $k + K$, with the dancer $\emptyset$ deleted after pooling. In $H^{\sharp}$ every window is of type $1$ and saturated ($\kappa_{t} = h_{t}$, $\tau_{t} = - 2^{t}$ in the notation of \S{}7.3), and at every level $J' = [ D_{0} \ne \emptyset ]$. So, in step 1 of the proof of Theorem 7.8, $d_{1} ( D_{0} ) = 2^{t_{j}} - h_{t_{j}} [ D_{0} \ne \emptyset ]$. At level $1$ ($I' = \emptyset$), $X_{1} ( \emptyset ) = 2^{t_{1}}$ and $\hat{y}_{1} ( \{ t_{1} \} ) = - 2^{t_{1}}$. At every level $j \ge 2$ a dancer $D_{0} \ne \emptyset$ of the first half follows $y_{j} = \max ( y_{j - 1} + 2^{t_{j}} - h_{t_{j}} , 0 )$, where $2^{t_{j}} - h_{t_{j}} = - \psi_{t_{j}}$. Since $k + K - \sum_{j > l} \psi_{t_{j}} = \varphi ( Y_{l} )$ (as in Proposition 9.3), (a) follows. For (b), let $b \ge 2$ be the largest index with $t_{b} \in D$: at level $b$ the value is $\le 0$, and the recursion takes over. \hfill\ensuremath{\blacksquare} \textbf{Lemma 9.5 (Lemma K).} For $a \ge 0$, $B \ge 1$ and $q \ge 0$: $\varphi ( 2^{q} B ) + \kappa ( a , B ) \le \max_{1 \le y \le 2^{q} ( a + B )} \varphi ( y )$. \emph{Proof.} If $\kappa ( a , B ) = 0$, take $y = 2^{q} B$. Otherwise let the highest carry of $a + B$ leave the bit $p - 1$. Carries leave only bits $v_{2} ( B ) , \dots , p - 1$, so $\kappa \le p - v_{2} ( B )$. A carry leaves bit $p - 1$, so $( a \bmod 2^{p} ) + ( B \bmod 2^{p} ) \ge 2^{p}$ and $( a + B ) \bmod 2^{p} < a \bmod 2^{p} \le a$. Then \[y \mathrel{:=} 2^{q} ( ( a + B ) - ( ( a + B ) \bmod 2^{p} ) )\] \noindent satisfies $y \le 2^{q} ( a + B )$, $y \ge 2^{q} ( B + 1 )$ and $v_{2} ( y ) \ge q + p$, so $\varphi ( y ) > 2^{q} B + q + v_{2} ( B ) + \kappa = \varphi ( 2^{q} B ) + \kappa$. \hfill\ensuremath{\blacksquare} \textbf{Proposition 9.6 (a ceiling for the big clocks).} In the cube $Q_{n}$, every big clock of every family at a shift $i \ge 1$ is at most $g ( n - i + 1 ) = \max_{1 \le y \le n - i} \varphi ( y )$. \emph{Proof.} \emph{(H) The head is dyadic.} The first level set of the real fit of the clocks of the cell is $\{ D : D \subseteq P_{l} \}$ for some $l$. In the base cell this follows by induction along step 1 of the proof of Theorem 7.8, which keeps the level sets of $\operatorname{fit} ( x_{H'} )$ (the house $H'$ of Lemma 7.7) because $d_{1}$ changes only at strict cuts (Lemma 7.2(b)). The first level set of the first half is the first level set of $\operatorname{fit} ( x_{H'} )$ if $Z_{1}$ is positive there; otherwise $Z_{1} \le 0$ on the whole first half, the fit vanishes on the whole level, and the first level set is everything. The penalty shift of a real cell keeps the level sets, because it changes only at strict cuts (Theorem 7.8, (Cut), and Lemma 7.2(b)); this is where strictness is needed, since a jump of the shift at a cut that is not strict, inside the head, would split it. So the largest big clock is the mean $\mu$ of the raw clocks $u_{i} ( D )$, $D \subseteq P_{l}$, which is an integer (Lemma 7.9). \emph{(M) The mean over a dyadic head.} By steps 1--2 of the proof of Proposition 5.3, $u_{i} ( D ) = \varphi ( \lambda + 1 ) + 2 \psi ( D ) + \kappa ( m , K + o_{I \setminus D} ) - \kappa ( m , o_{D} )$. Over $D \subseteq P_{l}$ each digit of $P_{l}$ lies in half the sets, so the mean of $2 \psi ( D )$ is $\psi ( P_{l} )$, and $\varphi ( \lambda + 1 ) + \psi ( P_{l} ) = \varphi ( Y_{l} )$. Also $K + o_{I \setminus D} = Y_{l} + o_{P_{l} \setminus D}$, and $D \mapsto P_{l} \setminus D$ permutes the subsets of $P_{l}$. So \[\mu = \varphi ( Y_{l} ) + \operatorname{mean}_{D \subseteq P_{l}} [ \kappa ( m , Y_{l} + o_{D} ) - \kappa ( m , o_{D} ) ] .\] \noindent Let $q \mathrel{:=} t_{l + 1} = v_{2} ( Y_{l} )$, write $m = 2^{q} m_{h} + m_{\ell}$ with $m_{\ell} < 2^{q}$, and put $c_{D} \mathrel{:=} [ m_{\ell} + o_{D} \ge 2^{q} ]$ (note $o_{D} < 2^{q}$). The low parts carry in the same way in both sums, and $s_{2} ( Y_{l} + o_{D} ) = s_{2} ( Y_{l} / 2^{q} ) + s_{2} ( o_{D} )$, so \[\kappa ( m , Y_{l} + o_{D} ) - \kappa ( m , o_{D} ) = \kappa ( m_{h} + c_{D} , Y_{l} / 2^{q} ) .\] \noindent \emph{(K) The bound.} Apply Lemma 9.5 with $B = Y_{l} / 2^{q}$ and $a = m_{h} + c_{D}$. If $c_{D} = 1$, then $2^{q} \le m_{\ell} + o_{D} \le m_{\ell} + o_{P_{l}}$. In both cases $Y_{l} + 2^{q} ( m_{h} + c_{D} ) \le Y_{l} + m + o_{P_{l}} = \lambda + 1 + m = n - i$. So every term of the mean is $\le g ( n - i + 1 )$, and so is $\mu$. \hfill\ensuremath{\blacksquare} \textbf{Lemma 9.7 (multiplicities).} $m_{n} ( n ) = 1$; $m_{n - 2} ( n ) = n - 1 - [ n \ \text{even} ]$ for $n \ge 2$; and for odd $n \ge 5$, \[m_{n - 4} ( n ) = ( n - 1 ) ( n - 2 ) / 2 - 1 - [ n \equiv 1 \ (\mathrm{mod}\ 4) ] \ge 4 .\] \emph{Proof.} By Theorem 3.6 the weight multiplicities of $V^{\otimes n}$, $C ( n , j )$ at $n - 2 j$, are $\sum_{\lambda} m_{\lambda} ( n ) \operatorname{mult}_{n - 2 j} T ( \lambda )$, and $T ( \lambda )$ has highest weight $\lambda$ with multiplicity $1$. From the character of \S{}3.3, $\operatorname{mult}_{\lambda - 2} T ( \lambda ) = [ k \ge 1 ] + [ 0 \in I ]$ (one factor $e^{\pm 1}$ turned), and $\operatorname{mult}_{\lambda - 4} T ( \lambda ) = [ k \ge 2 ] + [ 1 \in I ] + [ k \ge 1 ] [ 0 \in I ]$ (one factor $e^{\pm 2}$, or two factors $e^{\pm 1}$). For $\lambda = n$: $0 \in I \Longleftrightarrow n$ even, and for odd $n$, $1 \in I \Longleftrightarrow n \equiv 1 \ (\mathrm{mod}\ 4)$. Peeling at the weights $n - 2$ and $n - 4$ gives the formulas, with $\operatorname{mult}_{n - 4} T ( n - 2 ) = 1$ for odd $n$. For $n = 5$ the last value is $4$, and it increases with $n$. \hfill\ensuremath{\blacksquare} \emph{Proof of Corollary 1.6.} Let $n \ge 4$ and $G = g ( n - 1 ) = \max_{1 \le y \le n - 2} \varphi ( y )$; $G \ge \varphi ( n - 2 ) \ge n - 2$. \begin{enumerate} \item[1.] \emph{Nothing else rises above $G$.} Small clocks are $\le k - 1 \le \log_{2} ( n + 1 ) - 1 < G$. Shifts $i \ge 2$: every dancer is $\le g ( n - i + 1 ) \le G$ (Proposition 9.6). Shift $1$ (the family $n - 2$, where $\lambda + 1 = n - 1$): by Proposition 9.3 and Lemma 9.2, $e ( \emptyset ) = \max_{y \le n - 1} \varphi ( y ) = \max ( G , \varphi ( n - 1 ) )$, and every other dancer is $\le \max_{y \le Y_{1}} \varphi ( y ) \le G$ because $Y_{1} = n - 1 - 2^{t_{1}} \le n - 2$. Shift $0$ (the family $n$): by Proposition 9.4 every dancer other than $\{ t_{1} \}$ is $\le G$, since $Y_{l} \le n + 1 - 2^{t_{1}} - 2^{t_{2}} \le n - 2$ for $l \ge 2$. The dancer $\{ t_{1} \}$ is at $V_{0} = \max ( \varphi ( n + 1 - 2^{t_{1}} ) - 2^{t_{1}} , A_{0} )$, where $A_{0} \mathrel{:=} \max_{2 \le l \le s} \varphi ( Y_{l} ) \le G$ ($A_{0} = - \infty$ if $s < 2$). So the factors above $G$ are at most the $m_{n - 2} ( n )$ copies of $\varphi ( n - 1 )$, when $\varphi ( n - 1 ) > G$, and the single $V_{0}$, when $V_{0} > G$. \item[2.] \emph{The value of $V_{0}$.} If $n$ is even, $t_{1} = 0$ and $V_{0} = \max ( \varphi ( n ) - 1 , A_{0} )$. If $n \equiv 1 \ (\mathrm{mod}\ 4)$, $t_{1} = 1$ and $V_{0} = \max ( \varphi ( n - 1 ) - 2 , A_{0} )$. If $n \equiv 3 \ (\mathrm{mod}\ 4)$ (or $I = \emptyset$), $V_{0} \le G$, because $n + 1 - 2^{t_{1}} \le n - 3$. Also, if $n \equiv 3 \ (\mathrm{mod}\ 4)$, then $v_{2} ( n - 1 ) = 1$ and $\varphi ( n - 1 ) - 2 = n - 2 \le G$; and if $n$ is even, $\varphi ( n - 1 ) = n - 1 \le \varphi ( n - 2 ) \le G$. \item[3.] \emph{Enough factors at $G$.} If $n$ is even, each of the $n - 2$ copies of the family $n - 2$ has two dancers at exactly $G$: $\emptyset$, at $\max ( G , \varphi ( n - 1 ) ) = G$, and $\{ 0 \}$, at $\max_{y \le n - 2} \varphi ( y ) = G$ (Proposition 9.3(c); $0 \in I$ because $n - 1$ is odd). That is $2 ( n - 2 )$ factors at $G$: at least $n + 1$ for $n \ge 6$, which is enough even when $c_{1} = G$; for $n = 4$, $c_{1} = \varphi ( 4 ) - 1 = 5 > G = 3$, and $2 ( n - 2 ) = 4 = n$ factors are enough. If $n$ is odd, the family $n - 2$ gives $n - 1$ copies of $\emptyset$ at $\max ( G , \varphi ( n - 1 ) ) \ge G$. The family $n - 4$, at shift $2$, gives $m_{n - 4} ( n ) \ge 4$ copies of a factor at exactly $G$: there $m = 1$, $0 \notin I$ ($\lambda$ odd), and as in Proposition 9.3 no carry is born and $J \equiv 0$, so the same walk gives $e ( \emptyset ) = \max_{y \le n - 3} \varphi ( y ) = g ( n - 2 )$, which is $G$ because $\varphi ( n - 2 ) = n - 2 \le \varphi ( n - 3 )$. \item[4.] \emph{Reading off.} For $n$ even, $c_{1} = \max ( G , \varphi ( n ) - 1 )$ and $c_{2} = \cdots = c_{n + 1} = G$. For $n$ odd with $\varphi ( n - 1 ) \le G$, nothing lies above $G$, so $c_{1} = \cdots = c_{n + 1} = G$. For $n$ odd with $\varphi ( n - 1 ) > G$, the $n - 1$ copies of $\varphi ( n - 1 )$ come first. Then comes $V_{0} = \varphi ( n - 1 ) - 2$ if this exceeds $G$ (which forces $t_{1} = 1$), and otherwise $G$; so $c_{n} = \max ( G , \varphi ( n - 1 ) - 2 )$ and $c_{n + 1} = G$. \end{enumerate} The particular cases: $g ( n ) = \max ( G , \varphi ( n - 1 ) )$, and $v_{2} n + n - 1 = \varphi ( n ) - 1$. For $n$ odd, $\varphi ( n ) - 1 = n - 1 \le \varphi ( n - 1 ) \le g ( n )$, which gives [GMMY24, Theorems 4.1, 4.2] for $n \ge 4$. In all cases $c_{n} = \max ( G , \varphi ( n - 1 ) - 2 )$ and $v_{2} ( n - 1 ) + n - 3 = \varphi ( n - 1 ) - 2$ (for $n$ even, $n - 3 < G$). For $n = 3$, $\operatorname{Syl}_{2} K ( Q_{3} ) = \{ 1 : 1 , 3 : 2 \}$ and the three statements hold. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{9.3 Gao et al.'s Conjecture 5.4}{9.3 Gao et al.'s Conjecture 5.4}} \addcontentsline{toc}{subsection}{\texorpdfstring{9.3 Gao et al.'s Conjecture 5.4}{9.3 Gao et al.'s Conjecture 5.4}} Write $N \mathrel{:=} 2^{e} - 1$ and $n \mathrel{:=} 2^{e}$. \textbf{Lemma 9.8.} For odd $N'$, the families of $N' + 1$ are the $\lambda + 1$, $\lambda$ a family of $N'$, with $m_{\lambda + 1} ( N' + 1 ) = m_{\lambda} ( N' )$ and the same shift. If $\lambda + 1 = 2^{k} + \sum_{t \in I} 2^{t}$, the family $\lambda + 1$ has the same $k$ and the set $I \cup \{ 0 \}$, with $h'_{0} = t_{1} \mathrel{:=} \min ( I \cup \{ k \} )$ and the other gaps unchanged; its small clocks are those of $\lambda$ taken twice, and its dancers are $D$ and $D \cup \{ 0 \}$, $D \subseteq I$, adjacent in o-order. \emph{Proof.} Every family of an odd $N'$ is odd, and $V \cdot [ 2 l + 1 ] = [ 2 l + 2 ]$. Since $\lambda + 1$ is even, $\lambda + 2 = 2^{k} + o_{I} + 1$ with $o_{I} + 1 < 2^{k}$. \hfill\ensuremath{\blacksquare} \textbf{Lemma 9.9.} Let $J \mathrel{:=} i + o_{D} \ge 1$. In the cube $N$, $u ( D ) = 2^{e} - 2 J + v_{2} ( J ) + s_{2} ( J ) + h ( D )$. In the cube $n$, for a family with dancer $D'$ and $J' \mathrel{:=} i + o_{D'} \ge 1$, $u ( D' ) = 2^{e} + 1 - 2 J' + s_{2} ( J' - 1 ) + h' ( D' )$. \emph{Proof.} In the cube $N$, $\xi = \lambda + 1 - 2 o_{D} = N + 1 - 2 J = 2^{e} - 2 J$, and $J \le 2^{e - 1} - 1$, so $\varphi ( \xi ) = 2^{e} - 2 J + 1 + v_{2} ( J )$. With $a = J - 1$, $a + \xi = ( 2^{e} - 1 ) - J$ and $\xi / 2 = ( 2^{e - 1} - 1 ) - a$, so $s_{2} ( a + \xi ) = e - s_{2} ( J )$, $s_{2} ( \xi ) = e - 1 - s_{2} ( a )$, and $\kappa ( a , \xi ) = s_{2} ( J ) - 1$. In the cube $n$, $\xi' = 2^{e} + 1 - 2 J'$ is odd. With $a = J' - 1$, $a + \xi' = ( 2^{e} - 1 ) - a$ and $\xi' = ( 2^{e} - 1 ) - 2 a$, so $\kappa ( a , \xi' ) = s_{2} ( a )$. \hfill\ensuremath{\blacksquare} \textbf{Theorem 9.10 (the mirror that doubles).} For every family $\lambda < N$ of the cube $N$ (shift $i \ge 1$) and every $D \subseteq I$, the dancers $D$ and $D \cup \{ 0 \}$ of the family $\lambda + 1$ of the cube $n$ have the raw clock $u_{N} ( D )$. \emph{Proof.} For $D' = D$: $J' = J$, $h' ( D ) = h ( D )$, and $s_{2} ( J - 1 ) = s_{2} ( J ) - 1 + v_{2} ( J )$, so Lemma 9.9 gives $u_{n} ( D ) = u_{N} ( D )$. For $D' = D \cup \{ 0 \}$: $J' = J + 1$ and $h' ( D \cup \{ 0 \} ) = h ( D ) + t_{1}$, so $u_{n} ( D \cup \{ 0 \} ) = u_{N} ( D ) + t_{1} - 1 - v_{2} ( J )$. Finally, $2 i = 2^{e} - ( \lambda + 1 ) = 2^{e} - 2^{k} - o_{I}$ with $k < e$, so $v_{2} ( i ) = t_{1} - 1$. Every digit of $D$ is $\ge t_{1}$, so $v_{2} ( J ) = v_{2} ( i + o_{D} ) = t_{1} - 1$. \hfill\ensuremath{\blacksquare} \emph{Proof of Corollary 1.7.} By Lemma 9.8 and Theorem 9.10, the raw sequence of $( \lambda + 1 , i )$ in o-order is that of $( \lambda , i )$ with every entry written twice. The real fit of a doubled sequence is the doubled fit (Lemma 7.1). A doubled level set, with $2 p$ positions and sum $2 S$, gets $2 ( S \bmod p )$ copies of $\lceil S / p \rceil$ and the rest $\lfloor S / p \rfloor$, the same multiset as two copies of the original. So for $\lambda < N$ the family $\lambda + 1$ of $n$ contributes twice what $\lambda$ contributes to $N$, small clocks included. The family $N$ of $N$ ($I = \emptyset$) contributes its small clocks and $\mathbb{Z}_{2}$. The family $n = N + 1$ of $n$ ($I = \{ 0 \}$) contributes these small clocks twice, $\mathbb{Z}_{2}$, and the dancer $\{ 0 \}$ at shift $0$, with $\xi = 2^{e} - 1$, $\kappa = 0$ and $h_{0} = e$: $u = 2^{e} + e - 1$. Cancelling $\mathbb{Z}_{2}$, $\operatorname{Syl}_{2} K ( Q_{n} ) \cong \operatorname{Syl}_{2} K ( Q_{N} )^{2} \oplus \mathbb{Z} / 2^{2^{e} + e - 1}$. \hfill\ensuremath{\blacksquare} \section*{\texorpdfstring{10. The fold law}{10. The fold law}} \addcontentsline{toc}{section}{\texorpdfstring{10. The fold law}{10. The fold law}} \subsection*{\texorpdfstring{10.1 The fold on the families}{10.1 The fold on the families}} \addcontentsline{toc}{subsection}{\texorpdfstring{10.1 The fold on the families}{10.1 The fold on the families}} Let $a \mathrel{:=} x_{1} x_{2} \cdots x_{n} \in G$. The folded cube is the Cayley graph of $G / \langle a \rangle$ with the images of the generators, so its Laplacian acts on $\mathbb{Z} [ G / \langle a \rangle ] = R / ( a - 1 ) R$ as multiplication by $\sigma$, and $\mathbb{Z} \oplus \bar{K} ( n ) \cong R / ( \sigma R + ( a - 1 ) R )$ (for $n \ge 2$ the graph is connected). \textbf{Lemma 10.1.} Under the dictionary of Lemma 2.2, $a$ acts on $V^{\otimes n}$ as \[a = ( - 1 )^{( n - H ) / 2} \exp ( F ) ,\quad \exp ( F ) \mathrel{:=} \sum_{r \ge 0} F^{( r )} .\] \noindent On a summand $T ( \lambda )$ of $V^{\otimes n}$ at shift $i = ( n - \lambda ) / 2$ this is $a = ( - 1 )^{D + i} \exp ( F )$, $D$ the floor operator of $T ( \lambda )$. \emph{Proof.} On $V$, $x = 1 - s$ acts by $g : b_{0} \mapsto b_{0} - b_{1}$, $b_{1} \mapsto - b_{1}$ (Lemma 2.1), and $g = ( - 1 )^{D_{V}} \exp ( F )$ ($\exp ( F ) b_{0} = b_{0} + b_{1}$, $\exp ( F ) b_{1} = b_{1}$). Since $\Delta ( F^{( r )} ) = \sum_{a + b = r} F^{( a )} \otimes F^{( b )}$, $\exp ( F )$ is group-like, and so is $( - 1 )^{\mathrm{floor}}$; so $a = g^{\otimes n}$ is $( - 1 )^{\mathrm{floor}} \exp ( F )$ on $V^{\otimes n}$, where the floor of a pure tensor is its number of letters $b_{1}$, $( n - H ) / 2$. On $T ( \lambda )$ the weight is $\lambda - 2 D$, so $( n - H ) / 2 = D + i$. \hfill\ensuremath{\blacksquare} Since $a$ is expressed through $H$ and the divided powers of $F$, it is carried by every isomorphism of $\mathrm{Dist}_{A}$-lattices, and Theorem 3.6 gives, with \begin{gather*}\tau_{i} \mathrel{:=} \sigma^{( 1 )}_{i} = F + 2 ( D + i ) \quad\text{and} \\ \bar{X} ( \lambda , i ) \mathrel{:=} T ( \lambda ) / ( \tau_{i} T ( \lambda ) + ( a - 1 ) T ( \lambda ) ) \qquad( a = ( - 1 )^{D + i} \exp ( F ) ):\end{gather*} \textbf{Corollary 10.2.} For every $n \ge 2$, with the multiplicities of Theorem 3.6, \[\mathbb{Z}_{2} \oplus \operatorname{Syl}_{2} \bar{K} ( n ) \cong \bigoplus_{\lambda} \bar{X} ( \lambda , ( n - \lambda ) / 2 )^{m_{\lambda} ( n )} .\] \textbf{Proposition 10.3.} If $\bar{X} ( \lambda , i ) \cong 2 X ( \lambda , i )$ for every $\lambda \ge 1$ and every $i \ge 0$ (where $X \mathrel{:=} X^{( 1 )}$), then Theorem DW holds. \emph{Proof.} By Theorem 3.8 and Corollary 10.2, \begin{center}$\displaystyle \mathbb{Z}_{2} \oplus \operatorname{Syl}_{2} \bar{K} ( n ) \cong \bigoplus_{\lambda} ( 2 X )^{m_{\lambda} ( n )} = 2 ( \mathbb{Z}_{2} \oplus \operatorname{Syl}_{2} K ( Q_{n} ) ) \cong \mathbb{Z}_{2} \oplus 2 \operatorname{Syl}_{2} K ( Q_{n} ) ;$\end{center} \noindent cancel $\mathbb{Z}_{2}$ (the torsion submodule of a finitely generated $\mathbb{Z}_{2}$-module is determined). Passing to $2 \cdot \operatorname{Syl}_{2} K ( Q_{n} )$ removes exactly the factors $\mathbb{Z} / 2$ of $\operatorname{Syl}_{2} K ( Q_{n} )$, whose number is $a_{n}$ (Corollary 1.5). For $n = 1$ both groups are trivial. \hfill\ensuremath{\blacksquare} So the fold law is a statement family by family. We prove it on the half-size lattice $N \mathrel{:=} T ( l )$, where $\lambda = 2 l + 1$ or $\lambda = 2 l + 2$. \subsection*{\texorpdfstring{10.2 The two families on the half-size lattice}{10.2 The two families on the half-size lattice}} \addcontentsline{toc}{subsection}{\texorpdfstring{10.2 The two families on the half-size lattice}{10.2 The two families on the half-size lattice}} On $\Phi ( N )$ put $\mathrm{Ch} \mathrel{:=} \sum_{s \ge 0} F^{( s )} / ( 2 s - 1 ) !!$ and $\mathrm{Sh} \mathrel{:=} \sum_{s \ge 0} F^{( s )} / ( 2 s + 1 ) !!$, operators on $N$ ($F = F_{N}$); $\mathrm{Sh}$ is invertible. With $u^{2} = 2 F$, $\mathrm{Ch} = \cosh ( u )$ and $\mathrm{Sh} = \sinh ( u ) / u$ as power series, since $F^{( s )} / ( 2 s - 1 ) !! = ( 2 F )^{s} / ( 2 s ) !$. For $j \ge 0$ put \[\Psi_{j} \mathrel{:=} 2 ( 2 D + j ) + ( \mathrm{Ch} - ( - 1 )^{j} ) \cdot \mathrm{Sh}^{- 1} \quad\text{and}\quad \Sigma_{c} \mathrel{:=} F + 4 ( D + c ) ,\] \noindent operators on $N$. As power series, $( \mathrm{Ch} - 1 ) \mathrm{Sh}^{- 1} = u \cdot \tanh ( u / 2 )$ and $( \mathrm{Ch} + 1 ) \mathrm{Sh}^{- 1} = u \cdot \coth ( u / 2 )$, so \[\Psi_{2 c} = 4 ( D + c ) + \sum_{m \ge 1} \eta_{m} F^{( m )} ,\quad \eta_{m} = 2 ( 2^{2 m} - 1 ) B_{2 m} / ( 2 m - 1 ) !! ,\] \[\Psi_{2 c - 1} = 4 ( D + c ) + \sum_{m \ge 1} \eta'_{m} F^{( m )} ,\quad \eta'_{m} = 2 B_{2 m} / ( 2 m - 1 ) !! ,\] \noindent with Bernoulli numbers $B_{2 m}$ ($u^{2 m} = 2^{m} m ! F^{( m )}$ and $( 2 m ) ! = 2^{m} m ! ( 2 m - 1 ) !!$). By the von Staudt--Clausen theorem [vSt40], [Cla40], $v_{2} ( B_{2 m} ) = - 1$, so every $\eta_{m}$ and $\eta'_{m}$ is a $2$-adic unit; $\eta_{1} = 1$, $\eta'_{1} = 1 / 3$. In particular \textbf{$\Psi_{j}$ has the payment $4 ( D + \lceil j / 2 \rceil )$, an odd constant coefficient of $F$, and constant integral coefficients of $F^{( m )}$, $m \ge 2$.} \textbf{Lemma 10.4 (odd families).} For $\lambda = 2 l + 1$ and every $j \ge 0$, with $N = T ( l )$ and $c \mathrel{:=} \lceil j / 2 \rceil$:\\ (a) $\bar{X} ( \lambda , j ) \cong \operatorname{coker} ( \Psi_{j} \ \text{on}\ N )$; (b) $2 X ( \lambda , j ) \cong \operatorname{coker} ( \Sigma_{c} \ \text{on}\ N )$. \emph{Proof.} (a) On $T ( \lambda ) = \Phi ( N )$, Proposition 3.1(b) gives $\exp ( F ) ( b_{0} n ) = b_{0} \mathrm{Ch} ( n ) + b_{1} \mathrm{Sh} ( n )$. The floor of $b_{0} F^{( s )} n$ in $T ( \lambda )$ is $2 ( f + s )$ and that of $b_{1} F^{( s )} n$ is one more, so $a ( b_{0} n ) = ( - 1 )^{j} [ b_{0} \mathrm{Ch} ( n ) - b_{1} \mathrm{Sh} ( n ) ]$. Since $\mathrm{Sh}$ is invertible, $\{ b_{0} n , a b_{0} n \}$ ($n$ over a basis of $N$) is a basis of $T ( \lambda )$, which is therefore free over $A [ a ] / ( a^{2} - 1 )$. From $b_{1} n = b_{0} \mathrm{Ch} \mathrm{Sh}^{- 1} n - ( - 1 )^{j} a b_{0} \mathrm{Sh}^{- 1} n$ and $\tau_{j} ( b_{0} n ) = b_{1} n + 2 ( 2 f + j ) b_{0} n$, $\tau_{j}$ has the matrix $[ [ P , Q ] , [ Q , P ] ]$ in this basis, with $P = \mathrm{Ch} \mathrm{Sh}^{- 1} + 2 ( 2 D + j )$ and $Q = ( - 1 )^{j + 1} \mathrm{Sh}^{- 1}$. On the coinvariants $T ( \lambda ) / ( a - 1 ) T ( \lambda ) \cong N$, $\tau_{j}$ acts as $P + Q = \Psi_{j}$.\\ (b) By Proposition 4.1 with $\alpha = 1$, $X ( \lambda , j ) \cong \operatorname{coker} ( 2 G' )$, with $G' = F + \pi' ( D )$ on $N$ and \[\pi' ( f ) = - 2 ( j + 2 f ) ( j + 2 f + 1 ) = - 4 ( c + f ) u_{f} ,\] \noindent where $u_{f}$ is odd ($u_{f} = j + 2 f + 1$ for even $j$, $j + 2 f$ for odd $j$). So $2 X ( \lambda , j ) \cong \operatorname{coker} G'$. Right multiplication by the floor unit $( - u ( D ) )^{- 1}$ and conjugation by the floor units $s ( D )$ with $s ( f + 1 ) = - u_{f}^{- 1} s ( f )$ turn $G'$ into $\Sigma_{c}$ and do not change the cokernel. \hfill\ensuremath{\blacksquare} For operators $X$, $Y$ on $N$, put on $N \oplus N$ \[\operatorname{glue} ( X , Y ) \mathrel{:=} [ [ X , 0 ] , [ ( Y - X ) / 2 , Y ] ] ,\] \noindent so that $\operatorname{glue} ( X , Y ) = L^{- 1} \operatorname{diag} ( X , Y ) L$ with $L = [ [ 1 , 0 ] , [ 1 / 2 , 1 ] ]$, and $\operatorname{glue} ( X , Y ) \cdot \operatorname{glue} ( X' , Y' ) = \operatorname{glue} ( X X' , Y Y' )$. \textbf{Lemma 10.5 (even families).} For $\lambda = 2 l + 2$, $N = T ( l )$ and every $i \ge 0$:\\ (a) $\bar{X} ( \lambda , i ) \cong \operatorname{coker} ( \operatorname{glue} ( \Psi_{i + 1} , \Psi_{i} ) \ \text{on}\ N \oplus N )$;\\ (b) $2 X ( \lambda , i ) \cong \operatorname{coker} ( \operatorname{glue} ( \Psi_{i + 1} ( \Psi_{i + 1} - 2 ) / 2 , \Psi_{i} ( \Psi_{i} + 2 ) / 2 ) \ \text{on}\ N \oplus N )$. \emph{Proof.} Let $\nu = 2 l + 1$, so $T ( \lambda ) = V \otimes T ( \nu )$ (\S{}3.3) at the same shift $i$. By Lemma 10.1 and the coproduct, on $V \otimes M$ ($M = T ( \nu )$) we have $a = g \otimes a_{M}$ and $\tau_{i} = ( 1 - g ) \otimes 1 + 1 \otimes \tau_{M}$. Here $( 1 - g ) b_{0} = b_{1}$ and $( 1 - g ) b_{1} = 2 b_{1}$, and $V \cong A [ g ] / ( g^{2} - 1 )$ is the regular module with generator $b_{0}$. \begin{itemize} \item Modulo $a - 1$, $g \equiv a_{M}$, so $\bar{X} ( \lambda , i ) \cong \operatorname{coker} ( f \ \text{on}\ M )$ with $f \mathrel{:=} 1 + \tau_{M} - a_{M}$. \item Modulo $\tau_{i}$, $g \equiv 1 + \tau_{M}$, so $X ( \lambda , i ) \cong M / ( ( 1 + \tau_{M} )^{2} - 1 ) M = \operatorname{coker} ( \tau_{M} ( \tau_{M} + 2 ) )$. With $J = D + i$ and $J F = F ( J + 1 )$, $\tau_{M} ( \tau_{M} + 2 ) / 2 = F^{( 2 )} + 2 F ( J + 1 ) + 2 J ( J + 1 )$ is integral, so $2 X ( \lambda , i ) \cong \operatorname{coker} ( \theta \ \text{on}\ M )$ with $\theta \mathrel{:=} \tau_{M} ( \tau_{M} + 2 ) / 2 = f \cdot h$, $h \mathrel{:=} ( 1 + \tau_{M} + a_{M} ) / 2$. \end{itemize} Now $M = \Phi ( N )$, and by the proof of Lemma 10.4(a) every $w \in A [ \tau_{M} , a_{M} ]$ has the circulant matrix $[ [ X , Y ] , [ Y , X ] ]$ in the basis $( b_{0} N , a \cdot b_{0} N )$. Adding column 2 to column 1, subtracting row 1 from row 2, and exchanging the two slots give \[\operatorname{coker} ( w ) \cong \operatorname{coker} ( \operatorname{glue} ( w_{-} , w_{+} ) ) ,\] \noindent where $w_{+} \mathrel{:=} X + Y$ and $w_{-} \mathrel{:=} X - Y$ are the actions of $w$ on the coinvariants and the anti-coinvariants of $a_{M}$. They are ring maps, with $\tau_{M} \mapsto P + Q = \Psi_{i}$, $a_{M} \mapsto 1$, and $\tau_{M} \mapsto P - Q = \Psi_{i + 1} - 2$, $a_{M} \mapsto - 1$. So $f_{+} = \Psi_{i}$, $f_{-} = \Psi_{i + 1}$, $\theta_{+} = \Psi_{i} ( \Psi_{i} + 2 ) / 2$ and $\theta_{-} = \Psi_{i + 1} ( \Psi_{i + 1} - 2 ) / 2$. \hfill\ensuremath{\blacksquare} So the fold law asks: (odd) $\operatorname{coker} \Psi_{j} \cong \operatorname{coker} \Sigma_{\lceil j / 2 \rceil}$ on $T ( l )$; (even) the two glued systems of Lemma 10.5 have the same cokernel. Note $\Psi_{i + 1} - \Psi_{i} = 2 ( 1 + ( - 1 )^{i} \mathrm{Sh}^{- 1} )$. \subsection*{\texorpdfstring{10.3 The formal dance}{10.3 The formal dance}} \addcontentsline{toc}{subsection}{\texorpdfstring{10.3 The formal dance}{10.3 The formal dance}} The operators of \S{}10.2 are not payment systems: they carry the divided powers $F^{( m )}$, $m \ge 2$. We extend the dance of \S{}4 to them. \textbf{Formal operators.} Let $\mathfrak{B}$ be the set of formal sums $x = \sum_{m \ge 0} x_{m} ( D ) F^{( m )}$, where each $x_{m}$ is a function $\mathbb{Z}_{\ge 0} \to \mathbb{Q}_{2}$ (the \emph{coefficient at the target floor}), with the product \[( x y )_{m} ( f ) = \sum_{a + b = m} C ( m , a ) \cdot x_{a} ( f ) \cdot y_{b} ( f - a ) .\] \noindent It is an associative $\mathbb{Q}_{2}$-algebra (the rule is that of $F^{( a )} F^{( b )} = C ( a + b , a ) F^{( a + b )}$ and $F^{( a )} p ( D ) = p ( D - a ) F^{( a )}$ for a function $p$ of the floor), and $x$ is \emph{integral} if every $x_{m}$ takes values in $A$. An element of $\mathfrak{B}$ acts on every floor-graded lattice with divided powers of $F$ --- in particular on every $T ( l )$ --- by $x \cdot v = \sum_{m} x_{m} ( f + m ) F^{( m )} v$ for $v$ of floor $f$ (a finite sum), and this is a ring homomorphism. A value $x_{m} ( g )$ with $g < m$ never acts, and we identify two formal sums that agree at every $g \ge m$; then the action on all the $T ( l )$ together is faithful, because on the sublattice generated by the top vector of $T ( l )$ the operator $F^{( m )}$ sends the vector of floor $g$ to $C ( g + m , m )$ times the vector of floor $g + m$, which is non-zero for $g + m \le l$. A \emph{system of size $r$* is an $r \times r$ matrix $G = ( G [ s , s' ] )$ over $\mathfrak{B}$, acting on $N^{\oplus r}$; $G [ s , s' ]$ maps the slot $s'$ (the *source}) to the slot $s$ (the \emph{coordinate}). The operators $\sigma^{( \alpha )}_{i}$, $\Psi_{j}$, $\Sigma_{c}$, their products, and the glued operators of Lemma 10.5 are systems of size $1$ or $2$. \textbf{The twist map.} On $\Phi ( N' )$, Proposition 3.1(b) writes the action of $x \in \mathfrak{B}$ in the slots $b_{0} \otimes N'$, $b_{1} \otimes N'$ as the block matrix $[ [ x^{00} , x^{01} ] , [ x^{10} , x^{11} ] ]$ (coordinate slot first, source slot second), with $D$, $F$ those of $N'$: \begin{gather*}x^{00} = \sum_{q} x_{2 q} ( 2 D ) F^{( q )} / ( 2 q - 1 ) !! , \\ x^{11} = \sum_{q} x_{2 q} ( 2 D + 1 ) F^{( q )} / ( 2 q - 1 ) !! ,\end{gather*} \begin{gather*}x^{10} = \sum_{q} x_{2 q + 1} ( 2 D + 1 ) F^{( q )} / ( 2 q + 1 ) !! , \\ x^{01} = \sum_{q} ( ( 2 q + 2 ) / ( 2 q + 1 ) !! ) \cdot x_{2 q + 1} ( 2 D ) F^{( q + 1 )} .\end{gather*} \noindent (The floor of $b_{e} \otimes n'$ is $2 f + e$; for instance $F^{( 2 q + 1 )} ( b_{1} n' ) = ( ( 2 q + 2 ) / ( 2 q + 1 ) !! ) \cdot b_{0} F^{( q + 1 )} n'$ lands at the floor $2 ( f + q + 1 )$.) The denominators are odd. Since this is the action on $\Phi ( N' )$ for every $N'$, and the action is faithful, $x \mapsto [ [ x^{00} , x^{01} ] , [ x^{10} , x^{11} ] ]$ is multiplicative; it is applied entrywise to systems. \textbf{The $V$-split.} On $V \otimes M$, $F^{( m )} = 1 \otimes F^{( m )} + F \otimes F^{( m - 1 )}$ and the floor of $b_{v} \otimes y$ is $v$ plus the floor of $y$. So the action of $x$ in the slots $b_{0} \otimes M$, $b_{1} \otimes M$ is \[[ [ x , 0 ] , [ x' , x^{+} ] ] ,\quad x^{+}_{m} ( g ) \mathrel{:=} x_{m} ( g + 1 ) ,\quad x'_{m - 1} ( g ) \mathrel{:=} x_{m} ( g + 1 ) \qquad( m \ge 1 ),\] \noindent operators on $M$: a system of size $r$ on $V \otimes M$ becomes a system of size $2 r$ on $M$. \textbf{The moves.} Let $G$ be a system of size $r$ on $N$. \begin{itemize} \item If $N = \Phi ( N' )$, apply the twist map. Order the coordinates as (the $b_{1}$-slots, the $b_{0}$-slots) and the sources as (the $b_{0}$-slots, the $b_{1}$-slots); then $G = [ [ P , C ] , [ B , \mathrm{Dd} ] ]$ with \textbf{pivot} $P \mathrel{:=} G^{10}$, $C \mathrel{:=} G^{11}$, $B \mathrel{:=} G^{00}$, $\mathrm{Dd} \mathrel{:=} G^{01}$, blocks of size $r$ over $\mathfrak{B}'$. \item If $N = V \otimes \Phi ( N' )$, first $V$-split (size $2 r$ on $\Phi ( N' )$), then proceed as in the first case. \end{itemize} The move is \textbf{clean} if $P$ is invertible on ${N'}^{\oplus r'}$ and $S \mathrel{:=} \mathrm{Dd} - B P^{- 1} C \equiv 0 \ (\mathrm{mod}\ 2)$; then the \textbf{next system} is $G' \mathrel{:=} S / 2$, of size $r' = r$ or $2 r$ on $N'$. The \textbf{dance} of a system $G$ on $T ( l )$ along the word $w$ of $l$ (\S{}4.3: the digits $t = 0 , \dots , k - 1$ of $l + 1 = 2^{k} + \sum_{t \in I} 2^{t}$, a twist move if $t \notin I$, a split move if $t \in I$) is the sequence $G_{0} = G , G_{1} , \dots , G_{k}$; it is \textbf{clean} if every move is clean, and then its \textbf{final matrix} is $M_{w} ( G ) \mathrel{:=} G_{k}$, a matrix over $A$ of size $r \cdot 2^{| I |}$ (on $T ( 0 ) = A$, $F$ acts as $0$). The final slots are indexed by $( s , D )$, $s$ a slot of $G$ and $D \subseteq I$ a dancer, as in \S{}4.3. \textbf{Lemma 10.6.} (a) For an even payment system the twist move is the elimination of Proposition 4.1, and the split move ($V$-split followed by the twist move) has the same next system as Proposition 4.2. (b) Hence the dance of $\sigma^{( \alpha )}_{c}$ on $T ( l )$ is clean and $M_{w} ( \sigma^{( \alpha )}_{c} ) = M^{( \alpha )} ( l , c )$, the matrix of Theorem 4.4; and for a unit $u \in A$, $M_{w} ( u G ) = u \cdot M_{w} ( G )$. \emph{Proof.} (a) For an even payment system $G = F + \pi ( D ) + K ( D )$ (couplings of degree $0$), $P = G^{10}$ is the identity, $B = ( \pi + K ) ( 2 D )$, $C = ( \pi + K ) ( 2 D + 1 )$ and $\mathrm{Dd} = 2 F$, so $S / 2 = F - \tfrac12 ( \pi + K ) ( 2 D ) \cdot ( \pi + K ) ( 2 D + 1 )$, which is $G'$ of Proposition 4.1 (expand the product of the two triangular matrices). So the twist move is clean: $P$ is invertible, and $S = 2 G'$ with $G'$ even (Proposition 4.1), so that the next move applies to $G'$. For the split move, Proposition 4.2 eliminates the coordinates $B_{n}$, $\mathrm{Dd}_{n}$ against the sources $A_{n}$, $C_{n}$, in the basis $( A_{n} , B_{n} , C_{n} , \mathrm{Dd}_{n} )$; the $V$-split followed by the twist move eliminates the coordinates $b_{0} \otimes b_{1} n$, $\mathrm{Dd}_{n}$ against the same sources $A_{n}$, $C_{n}$, in the basis $( A_{n} , b_{0} \otimes b_{1} n , C_{n} , \mathrm{Dd}_{n} )$. The two bases differ by $B_{n} = b_{0} \otimes b_{1} n - C_{n}$. In the matrix of $G$, this replaces the remaining column of the source $b_{0} \otimes b_{1} n$ by itself minus the pivot column of $C_{n}$, and the remaining row of the coordinate $C$ by itself plus the pivot row of the coordinate $b_{0} \otimes b_{1}$; the pivot block does not change. Neither operation changes the Schur complement: for a pivot row $p$, $M_{p , c} - M_{p , P} M_{P , P}^{- 1} M_{P , c} = 0$, and symmetrically for a pivot column. So the two next systems coincide, slot $( s , A )$ with the dancer $v = 0$ and slot $( s , C )$ with $v = 1$; and the split move is clean, because its pivot block is the one eliminated in Proposition 4.2 (triangular, with the coefficient $1$ on each eliminated vector) and $S = 2 G''$ with $G''$ even (Proposition 4.2).\\ (b) By (a) and Proposition 4.3. For the last claim, $u D d - u B ( u P )^{- 1} u C = u S$. \hfill\ensuremath{\blacksquare} \textbf{Proposition 10.7.} Let $G$ be a system of size $r$ on $T ( l )$ whose dance is clean. Then \begin{center}$\displaystyle \operatorname{coker} ( G \ \text{on}\ T ( l )^{\oplus r} ) \cong \bigoplus_{a = 1}^{k - 1} ( \mathbb{Z} / 2^{a} )^{r \cdot 2^{| I | + k - 1 - a}} \oplus \operatorname{coker} ( 2^{k} M_{w} ( G ) ) .$\end{center} \noindent In particular, two systems of the same size on $T ( l )$ with clean dances and final matrices of equal Smith form have isomorphic cokernels. \emph{Proof.} If $P$ is invertible, unimodular row and column operations turn $[ [ P , C ] , [ B , \mathrm{Dd} ] ]$ into $\operatorname{diag} ( P , S )$ and then into $\operatorname{diag} ( 1 , S )$; so $\operatorname{coker} ( 2^{h} G_{h} ) \cong ( \mathbb{Z} / 2^{h} )^{\operatorname{rank} P} \oplus \operatorname{coker} ( 2^{h} S ) = ( \mathbb{Z} / 2^{h} )^{\operatorname{rank} P} \oplus \operatorname{coker} ( 2^{h + 1} G_{h + 1} )$. Count the ranks as in Proposition 4.3. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{10.4 Rigidity: the inverse block}{10.4 Rigidity: the inverse block}} \addcontentsline{toc}{subsection}{\texorpdfstring{10.4 Rigidity: the inverse block}{10.4 Rigidity: the inverse block}} In this section $G = \Xi$ is a system of size $1$ on $T ( l )$, $l + 1 = 2^{k} + \sum_{t \in I} 2^{t}$, $K = 2^{k}$. A dancer of level $h$ is a subset $D$ of $I \cap [ 0 , h )$. \textbf{Lemma 10.8 (inverse block).} Suppose $\Xi$ is invertible on $T ( l ) \otimes \mathbb{Q}$ and every pivot met by its dance is invertible over $\mathbb{Q}_{2}$. Then for every level $h$, \[G_{h}^{- 1} = 2^{h} \cdot \operatorname{out}_{h} \circ \Xi^{- 1} \circ i n_{h} ,\] \noindent where $i n_{h}$ sends the coordinate $( D , g )$ of level $h$ (dancer $D$, level-$h$ floor $g$) to a vector of $T ( l )$ of floor $2^{h} g + o_{D}$, $\operatorname{out}_{h}$ reads the source $( D , g )$ of level $h$ off the vectors of $T ( l )$ of floor $2^{h} g + o_{D} + 2^{h} - 1$, and both are fixed by the word $w$ alone. \emph{Proof.} In the order of \S{}10.3, $G_{h} = [ [ P , C ] , [ B , \mathrm{Dd} ] ]$ with $P$ invertible; since $G_{h}$ is invertible, so is $S$, and the block of $G_{h}^{- 1}$ on (the remaining sources) \ensuremath{\times} (the remaining coordinates) is $S^{- 1}$ (the standard identity for the inverse of a block matrix). So $G_{h + 1}^{- 1} = 2 S^{- 1}$ is $2$ times a block of $G_{h}^{- 1}$; compose over the levels. The remaining coordinates of a twist move are the $b_{0}$-slots, of level-$h$ floor $2 g$, and the remaining sources the $b_{1}$-slots, of level-$h$ floor $2 g + 1$; after a $V$-split, the dancer $v$ adds $v$ to the level-$h$ floor. By induction, a coordinate of level $h$ sits at the floor $2^{h} g + o_{D}$ of $T ( l )$ and a source at $2^{h} g + o_{D} + ( 2^{h} - 1 )$: a twist move, or a split move with $v = 0$, adds $0$ to the coordinate offset and $2^{h}$ to the source offset; a split move with $v = 1$ adds $2^{h}$ and $2^{h + 1}$. \hfill\ensuremath{\blacksquare} \textbf{Corollary 10.9.} Suppose $\Xi^{- 1} = \sum_{L} y_{L} ( D ) F^{( L )}$ in $\mathfrak{B}$. Then for dancers $X , Y \subseteq I$, \[( M_{w} ( \Xi )^{- 1} )_{Y X} = 2^{k} \cdot \gamma_{Y X} \cdot y_{L} ( o_{Y} + K - 1 ) ,\quad L \mathrel{:=} o_{Y} - o_{X} + K - 1 ,\] \noindent where $\gamma_{Y X} \in \mathbb{Q}_{2}$ depends only on the word $w$, and $\gamma_{Y X} = 0$ if $L < 0$. The floors visited form the \textbf{window} $[ o_{X} , o_{Y} + K - 1 ]$, which is the window of Theorem 4.4. \emph{Proof.} $i n ( e_{X} )$ has floor $o_{X}$ and $\operatorname{out}$ reads the source $Y$ at floor $o_{Y} + K - 1$; of \[\Xi^{- 1} i n ( e_{X} ) = \sum_{L} y_{L} ( o_{X} + L ) F^{( L )} i n ( e_{X} )\] \noindent only the term $L = o_{Y} - o_{X} + K - 1$ has that floor. Put $\gamma_{Y X} \mathrel{:=} \operatorname{out}_{Y} ( F^{( L )} i n ( e_{X} ) )$. \hfill\ensuremath{\blacksquare} From now on let $\alpha \ge 2$, $c \ge 1$, $\eta \in A$ a unit, and \[\Sigma \mathrel{:=} 2^{\alpha} ( D + c ) + \eta F ,\quad \Xi \mathrel{:=} \Sigma + \sum_{m \ge 2} \zeta_{m} ( D ) F^{( m )} ,\] \noindent with integral functions $\zeta_{m}$. Put $\pi ( d ) \mathrel{:=} 2^{\alpha} ( d + c ) \ne 0$ and $\zeta_{1} \mathrel{:=} \eta$. \textbf{Lemma 10.10 (path sum).} For every $L \ge 0$ and every floor $f$, \begin{gather*}y^{\Xi}_{L} ( f ) = y^{\Sigma}_{L} ( f ) \cdot ( 1 + e_{L} ( f ) ) \quad\text{with}\quad v_{2} ( e_{L} ( f ) ) \ge \alpha - 1 ,\quad\text{and} \\ y^{\Sigma}_{L} ( f ) = ( - 1 )^{L} L ! \eta^{L} / \prod_{d = f - L}^{f} \pi ( d ) .\end{gather*} \emph{Proof.} Write $\Xi = \pi ( D ) + N$. Then $\Xi^{- 1} = \sum_{s \ge 0} ( - 1 )^{s} ( \pi ( D )^{- 1} N )^{s} \pi ( D )^{- 1}$, and the coefficient of $F^{( L )}$ at the target floor $f$ is the sum, over the compositions $L = m_{1} + \cdots + m_{s}$ (landing floors $f - L = f_{0} < f_{1} < \cdots < f_{s} = f$), of \[( - 1 )^{s} ( L ! / \prod m_{i} ! ) \cdot \prod_{i} \zeta_{m_{i}} ( f_{i} ) / \prod_{j = 0}^{s} \pi ( f_{j} ) .\] \noindent For $\Sigma$ only the composition $1 + \cdots + 1$ occurs. Any other composition, divided by that term, is $\pm \prod_{i} \zeta_{m_{i}} ( f_{i} ) \cdot \eta^{- L} / \prod_{i} m_{i} !$ times the payments of the $\sum_{i} ( m_{i} - 1 )$ floors of $[ f - L , f ]$ that it skips; its valuation is at least $\sum_{i} [ \alpha ( m_{i} - 1 ) - v_{2} ( m_{i} ! ) ] \ge ( \alpha - 1 ) \sum_{i} ( m_{i} - 1 ) \ge \alpha - 1$, since $v_{2} ( m ! ) \le m - 1$. \hfill\ensuremath{\blacksquare} The final matrix of $\Sigma$ is known. By Lemma 10.6(b), $M_{w} ( \Sigma ) = \eta \cdot M_{w} ( F + \eta^{- 1} \pi ( D ) )$, and the proof of Theorem 4.4 uses only the products of the payment over windows. So, with $\mathcal{A}$ the matrix of multiplication by $q_{k}$ in the basis $y^{D}$ ($\mathcal{A}_{D D'} = a_{k} ( D \setminus D' )$ if $D' \subseteq D$, else $0$): \begin{gather*}M_{w} ( \Sigma ) = \mathfrak{d}_{1} \cdot \mathcal{A} \cdot \mathfrak{d}_{2} ,\quad ( \mathfrak{d}_{1} )_{D} = - 2^{1 - K} \eta^{1 - K} \cdot ( 2 \eta )^{o_{D}} / \prod_{d < o_{D}} \pi ( d ) , \\ ( \mathfrak{d}_{2} )_{D'} = ( 2 \eta )^{- o_{D'}} \cdot \prod_{d \le o_{D'} + K - 1} \pi ( d ) ,\end{gather*} \noindent diagonal and invertible, and $v_{2} ( \mathcal{A}_{D D'} ) = \delta ( D \setminus D' )$ exactly (Lemma 4.5). For matrices $B$, $E$ of the same size, $B \circ ( 1 + E )$ is the matrix with entries $B_{i j} ( 1 + E_{i j} )$. \textbf{Lemma 10.11 (stability).} If $v_{2} ( E_{i j} ) \ge 1$ for all $i , j$, then $( M_{w} ( \Sigma )^{- 1} \circ ( 1 + E ) )^{- 1} = M_{w} ( \Sigma ) \circ ( 1 + E' )$ with $v_{2} ( E'_{i j} ) \ge 1$ for all $i , j$. \emph{Proof.} Diagonal scalings commute with $\circ$, so it suffices to treat $\mathcal{A}$. Its inverse $\mathcal{A}^{- 1}$ is multiplication by $q_{k}^{- 1} = \sum_{j} ( 1 - q_{k} )^{j}$ ($q_{k}$ has constant term $1$ for $k \ge 1$; for $k = 0$ everything is $1 \times 1$); its $( D , D' )$ entry is a sum over the ordered partitions of $D \setminus D'$ into non-empty blocks $B_{1} , \dots , B_{j}$ of $\pm a_{k} ( B_{1} ) \cdots a_{k} ( B_{j} )$, so by the strict subadditivity of $\delta$ (\S{}4.5) $v_{2} ( ( \mathcal{A}^{- 1} )_{D D'} ) \ge \delta ( D \setminus D' )$, and it vanishes unless $D' \subseteq D$. Put $B \mathrel{:=} \mathcal{A}^{- 1}$. Then $( B \circ ( 1 + E ) )^{- 1} = ( 1 + \mathcal{A} ( B \circ E ) )^{- 1} \mathcal{A} = \sum_{j \ge 0} ( - 1 )^{j} [ \mathcal{A} ( B \circ E ) ]^{j} \mathcal{A}$, which converges because $\mathcal{A} ( B \circ E ) \equiv 0 \ (\mathrm{mod}\ 2)$. The $( D , D' )$ entry of the $j$-th term is a sum over chains $D \supseteq E_{1} \supseteq F_{1} \supseteq \cdots \supseteq E_{j} \supseteq F_{j} \supseteq D'$ of products whose valuation is at least $\delta ( D \setminus E_{1} ) + \delta ( E_{1} \setminus F_{1} ) + 1 + \cdots + \delta ( F_{j} \setminus D' )$, which is $\ge \delta ( D \setminus D' ) + j$ by subadditivity. Since $v_{2} ( \mathcal{A}_{D D'} )$ is exactly $\delta ( D \setminus D' )$, the terms $j \ge 1$ change $\mathcal{A}_{D D'}$ by a factor $1 + E'_{D D'}$ with $v_{2} ( E'_{D D'} ) \ge 1$, and they vanish where $\mathcal{A}$ does. \hfill\ensuremath{\blacksquare} \textbf{Theorem 10.12 (rigidity).} If the dance of $\Xi$ along $w$ is clean, then \textbf{$M_{w} ( \Xi ) = M_{w} ( \Sigma ) \circ ( 1 + E' )$ with $v_{2} ( E' ) \ge 1$ entrywise}. Consequently $M_{w} ( \Xi )$ and $M_{w} ( \Sigma )$ have the same support and the same entry valuations, the same Smith form, and \textbf{$\operatorname{coker} ( \Xi \ \text{on}\ T ( l ) ) \cong \operatorname{coker} ( \Sigma \ \text{on}\ T ( l ) ) \cong X^{( \alpha )} ( l , c )$.} \emph{Proof.} The dance of $\Sigma$ is clean (Lemma 10.6). By Corollary 10.9 for $\Xi$ and for $\Sigma$, with the same $\gamma$, and Lemma 10.10, $M_{w} ( \Xi )^{- 1} = M_{w} ( \Sigma )^{- 1} \circ ( 1 + E )$ with $v_{2} ( E ) \ge \alpha - 1 \ge 1$; Lemma 10.11 inverts this. The Smith form of $M^{( \alpha )} ( l , c )$ is computed in Theorems 6.5 and 7.10 from the valuations of its entries and from its support alone: the tropical bound (Lemma 6.1) and the unique golden matching (Theorem 6.2) see nothing else. Since $M_{w} ( \Sigma ) = \eta \cdot M_{w} ( F + \eta^{- 1} \pi ( D ) )$ has the valuations and the support of $M^{( \alpha )} ( l , c )$ (Theorem D, with the payment $\eta^{- 1} \pi$), all three matrices have the same Smith form. Proposition 10.7 gives the cokernels; and $\operatorname{coker} \Sigma \cong \operatorname{coker} ( F + \pi ( D ) )$ because $\eta^{- D} ( \eta F + \pi ( D ) ) \eta^{D} = F + \pi ( D )$. \hfill\ensuremath{\blacksquare} \textbf{The case $c = 0$.} Then $\pi ( 0 ) = 0$ and $\Xi$ is not invertible. We treat it by continuity in \S{}10.6. \subsection*{\texorpdfstring{10.5 Cleanliness: the ring \ensuremath{\mathcal{K}}}{10.5 Cleanliness: the ring K}} \addcontentsline{toc}{subsection}{\texorpdfstring{10.5 Cleanliness: the ring \ensuremath{\mathcal{K}}}{10.5 Cleanliness: the ring K}} Theorem 10.12 needs the dance of $\Xi$ to be clean. This is not automatic: the payments are functions of the floor, and the moves mix floors. \textbf{Positions.} At level $h$ the dancers are the subsets $D$ of $P_{h} \mathrel{:=} I \cap [ 0 , h )$. The \textbf{position} of the dancer $D$ at the level-$h$ floor $f$ is \[y \mathrel{:=} 2^{h} f + o_{D} + c ,\] \noindent where $c$ is a fixed element of $\mathbb{Z}_{2}$ (the shift). A system $G$ of level $h$ is \textbf{covariant} if $G [ D , D' ] = 0$ unless $D' \subseteq D$, and there are functions $\Gamma_{\Delta , m}$ such that \[G [ D , D' ]_{m} ( f ) = \Gamma_{D \setminus D' , m} ( 2^{h} f + o_{D} + c )\] \noindent (the coefficient of $F^{( m )}$ at the target floor $f$ depends only on $\Delta = D \setminus D'$, $m$ and the position of the target). \textbf{The ring \ensuremath{\mathcal{K}}.} Let $\mathcal{K}$ be the set of functions $\vartheta : \mathbb{Z}_{2} \to \mathbb{Z}_{2}$ of the form \[\vartheta ( y ) = a + 2 \chi ( 2 y ) ,\quad a \in \mathbb{Z}_{2} ,\quad \chi \in X \cdot \mathbb{Z}_{2} [ [ X ] ]\] \noindent (the series converges at $X = 2 y$). \textbf{Lemma 10.13.} (a) The representation $( a , \chi )$ of $\vartheta \in \mathcal{K}$ is unique. The set $\mathcal{K}$ is a ring, it is stable under every shift $y \mapsto y - e$ ($e \in \mathbb{Z}_{2}$), and $1 / \vartheta \in \mathcal{K}$ when $a$ is odd.\\ (b) Let $\mathcal{S} \mathrel{:=} \mathbb{F}_{2} \oplus \varepsilon \cdot X \mathbb{F}_{2} [ [ X ] ]$ with $\varepsilon^{2} = 0$, a commutative ring of characteristic $2$, and $\Theta ( \vartheta ) \mathrel{:=} \bar{a} + \varepsilon \bar{\chi}$ (reductions modulo $2$). Then \textbf{$\Theta : \mathcal{K} \to \mathcal{S}$ is a ring homomorphism, $\Theta ( \vartheta ( \cdot - e ) ) = \Theta ( \vartheta )$ for every $e \in \mathbb{Z}_{2}$, and $\ker \Theta = 2 \mathcal{K}$.}\\ (c) $\vartheta ( y ) \equiv a \ (\mathrm{mod}\ 4)$ for every $y$. \emph{Proof.} (a) If $a + 2 \chi ( 2 y ) = a' + 2 \chi' ( 2 y )$ for all $y \in \mathbb{Z}_{2}$, the power series $( a - a' ) + 2 ( \chi - \chi' ) ( 2 Y )$ in $Y$ has coefficients tending to $0$ and infinitely many zeros, so it vanishes by Strassmann's theorem [Str28]. \emph{Products.} $( a + 2 \chi ) ( b + 2 \omega ) = a b + 2 ( a \omega + b \chi + 2 \chi \omega )$. \emph{Shifts.} $\chi ( X - 2 e ) = \chi ( - 2 e ) + \tilde{\chi} ( X )$ with $\tilde{\chi} \in X \mathbb{Z}_{2} [ [ X ] ]$, and $\chi ( - 2 e ) \in 2 \mathbb{Z}_{2}$. \emph{Inverses.} $( a + 2 \chi )^{- 1} = a^{- 1} \sum_{j \ge 0} ( - 2 \chi / a )^{j}$.\\ (b) The product rule in (a) reduces to $( \bar{a} + \varepsilon \bar{\chi} ) ( \bar{b} + \varepsilon \bar{\omega} )$. Modulo $2$, the coefficient $\sum_{n \ge j} c_{n} C ( n , j ) ( - 2 e )^{n - j}$ of $X^{j}$ in $\tilde{\chi}$ is $\equiv c_{j}$, and $2 \chi ( - 2 e ) \in 4 \mathbb{Z}_{2}$; so $\Theta$ is shift-invariant. Finally, $\Theta ( \vartheta ) = 0$ means $a$, $\chi$ even, $\vartheta = 2 ( a / 2 + 2 ( \chi / 2 ) ( 2 y ) )$.\\ (c) $2 \chi ( 2 y ) \in 4 \mathbb{Z}_{2}$. \hfill\ensuremath{\blacksquare} Let $\mathcal{T}_{h}$ be the set of covariant systems of level $h$ whose functions $\Gamma_{\Delta , m}$ all lie in $\mathcal{K}$, and let $R_{\mathcal{S}} \mathrel{:=} \mathcal{S} [ F^{( m )} : m \ge 1 ] [ E_{t} : t \in P_{h} ] / ( E_{t}^{2} )$, a commutative ring (divided-power multiplication in $F$). \textbf{Lemma 10.14.} (a) $\mathcal{T}_{h}$ is a ring.\\ (b) $\Theta_{h} ( G ) \mathrel{:=} \sum_{\Delta , m} \Theta ( \Gamma_{\Delta , m} ) F^{( m )} E^{\Delta}$ ($E^{\Delta} \mathrel{:=} \prod_{t \in \Delta} E_{t}$) is a ring homomorphism $\mathcal{T}_{h} \to R_{\mathcal{S}}$.\\ (c) In $R_{\mathcal{S}}$, every element $\beta$ satisfies $\beta^{2} = \beta_{0}^{2}$, where $\beta_{0}$ is its constant term. \emph{Proof.} (a) For $G , H \in \mathcal{T}_{h}$, \begin{center}$\displaystyle ( G H ) [ D , D' ]_{m} ( f ) = \sum_{D \supseteq D_{1} \supseteq D'} \sum_{a + b = m} C ( m , a ) \cdot \Gamma^{G}_{D \setminus D_{1} , a} ( y ) \cdot \Gamma^{H}_{D_{1} \setminus D' , b} ( y - a \cdot 2^{h} - o_{D \setminus D_{1}} ) ,$\end{center} \noindent because the position of $( D_{1} , f - a )$ is $y - a \cdot 2^{h} - o_{D \setminus D_{1}}$ ($o$ is additive on disjoint sets). The sum over $D_{1}$ is a sum over the decompositions $\Delta = ( D \setminus D_{1} ) \sqcup ( D_{1} \setminus D' )$, so it depends only on $\Delta$, $m$ and $y$, and lies in $\mathcal{K}$ by Lemma 10.13(a). (b) Apply $\Theta$ to this formula: by shift-invariance the shifts disappear, and the sum over decompositions of $\Delta$ is the product of the $E^{\Delta}$. (c) $R_{\mathcal{S}}$ is commutative of characteristic $2$, so $\beta^{2} = \sum_{\mu} \beta_{\mu}^{2} \mu^{2}$ over the monomials $\mu = F^{( q )} E^{\Delta}$, and $\mu^{2} = C ( 2 q , q ) F^{( 2 q )} E^{2 \Delta} = 0$ unless $\mu = 1$ ($C ( 2 q , q )$ is even for $q \ge 1$, and $E_{t}^{2} = 0$). \hfill\ensuremath{\blacksquare} \textbf{Theorem 10.15 (cleanliness).} Let $G_{h} \in \mathcal{T}_{h}$ satisfy\\ (a) the payments are $\equiv 0 \ (\mathrm{mod}\ 4)$: $\Gamma_{\emptyset , 0} ( y ) \in 4 \mathbb{Z}_{2}$ for every $y$;\\ (b) the diagonal coefficients of $F$ are odd: $\Gamma_{\emptyset , 1} ( y )$ is a unit for every $y$. Then the move of level $h$ is clean, and $G_{h + 1} \in \mathcal{T}_{h + 1}$ again satisfies (a) and (b). Consequently, \textbf{for every $\alpha \ge 2$, every $c \in \mathbb{Z}_{2}$, every unit $\eta$ and all constants $\zeta_{m} \in \mathbb{Z}_{2}$, the dance of $2^{\alpha} ( D + c ) + \eta F + \sum_{m \ge 2} \zeta_{m} F^{( m )}$ on every $T ( l )$ is clean.} \emph{Proof.} \emph{The twist move.} The level does not change the dancers. The position of $( D , f' )$ at level $h + 1$ is $y' = 2^{h + 1} f' + o_{D} + c$; the level-$h$ floors $2 f'$ and $2 f' + 1$ have the positions $y'$ and $y' + 2^{h}$. By the formulas of \S{}10.3 the blocks have the coefficient functions \[B :\quad \Gamma_{\Delta , 2 q} ( y' ) / ( 2 q - 1 ) !! ,\quad C :\quad \Gamma_{\Delta , 2 q} ( y' + 2^{h} ) / ( 2 q - 1 ) !! ,\] \[P :\quad \Gamma_{\Delta , 2 q + 1} ( y' + 2^{h} ) / ( 2 q + 1 ) !! ,\quad \mathrm{Dd} :\quad ( ( 2 q + 2 ) / ( 2 q + 1 ) !! ) \cdot \Gamma_{\Delta , 2 q + 1} ( y' )\] \noindent (the last is the coefficient of $F^{( q + 1 )}$). All four lie in $\mathcal{T}_{h + 1}$ (Lemma 10.13(a); the denominators are odd). The diagonal constant term of $P$ is $\Gamma_{\emptyset , 1} ( y' + 2^{h} )$, a unit by (b), and the other terms of $P$ raise $m$ or $\Delta$; so $P^{- 1}$ exists, is integral and lies in $\mathcal{T}_{h + 1}$ (a Neumann series in which each coefficient receives finitely many terms). So $S = \mathrm{Dd} - B P^{- 1} C \in \mathcal{T}_{h + 1}$. Apply $\Theta_{h + 1}$: $\Theta ( \mathrm{Dd} ) = 0$, because every coefficient of $\mathrm{Dd}$ is $( 2 q + 2 )$ times an element of $\mathcal{K}$; $\Theta ( B ) = \Theta ( C ) \mathrel{=:} \beta$, because the shift by $2^{h}$ is invisible to $\Theta$. In the commutative ring $R_{\mathcal{S}}$, \[\Theta ( S ) = - \beta \cdot \Theta ( P )^{- 1} \cdot \beta = - \beta^{2} \cdot \Theta ( P )^{- 1} ,\] \noindent and $\beta^{2} = \Theta ( \Gamma_{\emptyset , 0} )^{2}$ by Lemma 10.14(c). By (a) and Lemma 10.13(c) the constant $a$ of $\Gamma_{\emptyset , 0}$ is even, so $\Theta ( \Gamma_{\emptyset , 0} ) = \varepsilon \bar{\chi}$ and $\beta^{2} = \varepsilon^{2} \bar{\chi}^{2} = 0$. So every coefficient function of $S$ lies in $\ker \Theta = 2 \mathcal{K}$: the move is clean and $G_{h + 1} = S / 2 \in \mathcal{T}_{h + 1}$. For (a): the new payment is $- \Gamma_{\emptyset , 0} ( y' ) \cdot \Gamma_{\emptyset , 1} ( y' + 2^{h} )^{- 1} \cdot \Gamma_{\emptyset , 0} ( y' + 2^{h} ) / 2$ (only constant terms contribute to the constant term, and $\mathrm{Dd}$ has none), which is $\equiv 0 \ (\mathrm{mod}\ 8)$. For (b): the coefficient of $F^{( 1 )}$ on the diagonal of $S$ is $2 \Gamma_{\emptyset , 1} ( y' )$ (from $\mathrm{Dd}$) minus terms of $B P^{- 1} C$ that each contain a constant term of $B$ or of $C$, that is a payment $\equiv 0 \ (\mathrm{mod}\ 4)$; after division by $2$ it is odd. \emph{The split move.} First the $V$-split: by \S{}10.3 the dancer $D$ gives the dancers $D$ ($v = 0$) and $D \cup \{ h \}$ ($v = 1$); the position of $( D \cup \{ h \} , g )$ is $2^{h} ( g + 1 ) + o_{D} + c = 2^{h} g + o_{D \cup \{ h \}} + c$, so the diagonal blocks keep their functions $\Gamma_{\Delta , m}$, and the new coupling from $D'$ to $D \cup \{ h \}$ has $\Gamma^{\mathrm{new}}_{\Delta \cup \{ h \} , m - 1} \mathrel{:=} \Gamma_{\Delta , m}$ at the same position. The split system is covariant with functions in $\mathcal{K}$ and still satisfies (a), (b). It has couplings with an odd constant term ($\Gamma^{\mathrm{new}}_{\{ h \} , 0} = \Gamma_{\emptyset , 1}$); they are harmless, because in $R_{\mathcal{S}}$ they carry $E_{h}$ and $E_{h}^{2} = 0$, so they do not enter $\beta^{2}$. Then the twist move, as above, with the dancers of $P_{h + 1}$. \emph{The operators.} At level $0$ the only dancer is $\emptyset$, the position is $y = f + c$, and $\Gamma_{\emptyset , 0} ( y ) = 2^{\alpha} y = 2 \chi ( 2 y )$ with $\chi ( X ) = 2^{\alpha - 2} X$, which is in $\mathcal{K}$ because $\alpha \ge 2$; $\Gamma_{\emptyset , 1} = \eta$, $\Gamma_{\emptyset , m} = \zeta_{m}$. \hfill\ensuremath{\blacksquare} \textbf{Remarks.} (1) At $\alpha = 1$ the payment $2 y$ is not in $\mathcal{K}$ ($\chi$ would be $X / 2$), and the cleanliness of the dance of $\sigma^{( 1 )}_{i}$ (Lemma 10.6) comes from the fact that it is an even payment system. (2) The class $\mathcal{K}$ is sufficient, not necessary: every even payment system dances clean, whatever its payments (proof of Lemma 10.6(a), with Propositions 4.1 and 4.2). With higher divided powers some restriction is needed. We measured the dances on $T ( l )$, $l = 2 , \dots , 63$, of $p ( D ) + u ( D ) F + \sum_{m \ge 2} \zeta_{m} F^{( m )}$ with constant random integers $\zeta_{m} \in [ - 5 , 5 ]$, four for each $l$ (248 dances in each case; this is used nowhere, and the code is \texttt{gate/\allowbreak{}remark2/\allowbreak{}}, \S{}12.1): \begin{itemize} \item random payments $p ( d ) = 4 q ( d )$, $q ( d ) \in [ - 9 , 9 ]$ non-zero, and $u = 1$: three dances are not clean, all at $l = 63$; \item the payments $4 ( d + c )$, $c = 1 , \dots , 4$, and random odd $u ( d ) \in [ - 17 , 19 ]$: 79 dances are not clean, the first at $l = 32$. \end{itemize} With the coefficients $\eta_{m}$ of $\Psi_{0}$ in place of the random $\zeta_{m}$, all 496 dances are clean. \subsection*{\texorpdfstring{10.6 The odd families}{10.6 The odd families}} \addcontentsline{toc}{subsection}{\texorpdfstring{10.6 The odd families}{10.6 The odd families}} \textbf{Theorem 10.16.} Let $\alpha \ge 2$, $c \ge 0$, $\eta \in A$ a unit, $\zeta_{m} \in \mathbb{Z}_{2}$ constants and $\Xi \mathrel{:=} 2^{\alpha} ( D + c ) + \eta F + \sum_{m \ge 2} \zeta_{m} F^{( m )}$. Then for every $l \ge 0$, \textbf{$\operatorname{coker} ( \Xi \ \text{on}\ T ( l ) ) \cong X^{( \alpha )} ( l , c )$.} \emph{Proof.} For $c \ge 1$: Theorems 10.15 and 10.12. For $c = 0$, let $\Xi_{c}$ and $\Sigma'_{c} \mathrel{:=} 2^{\alpha} ( D + c ) + \eta F$ be the operators with the shift $c \in \mathbb{Z}_{2}$. By Theorem 10.15 their dances are clean for every $c \in \mathbb{Z}_{2}$, and the entries of their final matrices are continuous functions of $c$: each level is obtained from the previous one by ring operations, odd denominators, the inversion of a pivot whose diagonal constant term is a unit, and a division by $2$ that stays integral. For $c = 2^{n}$, $n \ge 0$, Theorem 10.12 gives $M_{w} ( \Xi_{c} ) - M_{w} ( \Sigma'_{c} ) = M_{w} ( \Sigma'_{c} ) \circ E'_{c}$ with $v_{2} ( E'_{c} ) \ge 1$, that is: for every entry, $v_{2} ( M_{w} ( \Xi_{c} ) - M_{w} ( \Sigma'_{c} ) ) \ge v_{2} ( M_{w} ( \Sigma'_{c} ) ) + 1$ (both sides $\infty$ if the entry of $M_{w} ( \Sigma'_{c} )$ is $0$). Let $n \to \infty$. Where $M_{w} ( \Sigma'_{0} )$ has a non-zero entry, its valuation is that of $M_{w} ( \Sigma'_{2^{n}} )$ for large $n$, and the inequality passes to the limit. Where it has a zero entry, $v_{2} ( M_{w} ( \Sigma'_{2^{n}} ) ) \to \infty$, hence $v_{2} ( M_{w} ( \Xi_{2^{n}} ) ) \to \infty$ and the entry of $M_{w} ( \Xi_{0} )$ is $0$. So $M_{w} ( \Xi_{0} )$ has the support and the entry valuations of $M_{w} ( \Sigma'_{0} )$, which are those of $M^{( \alpha )} ( l , 0 )$ (Lemma 10.6 and Theorem D). Theorem 7.10 at the shift $0$ uses only these data, so the Smith forms agree, and the cokernels follow from Proposition 10.7. \hfill\ensuremath{\blacksquare} \textbf{Corollary 10.17 (the fold law on the odd families).} For every $l \ge 0$ and every $j \ge 0$, \[\bar{X} ( 2 l + 1 , j ) \cong 2 X ( 2 l + 1 , j ) .\] \emph{Proof.} Let $c = \lceil j / 2 \rceil$. By \S{}10.2, $\Psi_{j} = 4 ( D + c ) + \eta F + \sum_{m \ge 2} \eta_{m} F^{( m )}$ with constant integral $\eta_{m}$ and $\eta = \eta_{1}$ a unit ($1$ for even $j$, $1 / 3$ for odd $j$). By Theorem 10.16 ($\alpha = 2$), $\operatorname{coker} ( \Psi_{j} \ \text{on}\ T ( l ) ) \cong X^{( 2 )} ( l , c ) = \operatorname{coker} ( \Sigma_{c} \ \text{on}\ T ( l ) )$. Lemma 10.4 identifies the two sides with $\bar{X} ( 2 l + 1 , j )$ and $2 X ( 2 l + 1 , j )$. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{10.7 The even families}{10.7 The even families}} \addcontentsline{toc}{subsection}{\texorpdfstring{10.7 The even families}{10.7 The even families}} Lemma 10.5 presents both sides of an even family as glued systems of size $2$ on $N = T ( l )$. Their arms are odd-family operators, which differ by multiples of $2$. Two facts make the glue harmless: the dance modulo $2$ sees only the operator modulo $2$ (Lemma 10.18), and gluing commutes with the dance (Lemma 10.19). Then the second side differs from the first by a unit at the bottom of the dance (Lemma 10.20). Fix the shift $c \in \mathbb{Z}_{2}$ used for the positions, and let $\mathfrak{a} : \mathcal{K} \to \mathbb{Z}_{2}$, $a + 2 \chi ( 2 y ) \mapsto a$. It is a ring homomorphism, and $\mathfrak{a} ( \vartheta ( \cdot - e ) ) = \mathfrak{a} ( \vartheta ) + 2 \chi ( - 2 e ) \equiv \mathfrak{a} ( \vartheta ) \ (\mathrm{mod}\ 4)$. So $\mathfrak{a}$ modulo $4$ is a shift-invariant ring homomorphism; exactly as in Lemma 10.14, it induces a ring homomorphism from $\mathcal{T}_{h}$ to the commutative ring $R_{\mathbb{Z} / 4} \mathrel{:=} ( \mathbb{Z} / 4 ) [ F^{( m )} ] [ E_{t} ] / ( E_{t}^{2} )$. By Lemma 10.13(c), every value $\vartheta ( y )$ is $\equiv \mathfrak{a} ( \vartheta ) \ (\mathrm{mod}\ 4)$. \textbf{Lemma 10.18 (modulo 2).} Let $G , G' \in \mathcal{T}_{0}$ both satisfy (a) and (b) of Theorem 10.15, and suppose $G \equiv G' \ (\mathrm{mod}\ 2)$ (every coefficient, at every position). Then \textbf{$G_{h} \equiv G'_{h} \ (\mathrm{mod}\ 2)$ at every level $h$.} \emph{Proof.} By induction it suffices to treat one twist move (a $V$-split does not change the congruence). By Theorem 10.15, $S \in 2 \mathcal{T}$, so $\mathfrak{a} ( G_{h + 1} ) = \mathfrak{a} ( S ) / 2$, and $G_{h + 1}$ modulo $2$ is determined by $\mathfrak{a} ( S )$ modulo $4$. In $R_{\mathbb{Z} / 4}$, \[\mathfrak{a} ( S ) \equiv \mathfrak{a} ( \mathrm{Dd} ) - \beta^{2} \pi^{- 1} ,\quad \beta \mathrel{:=} \mathfrak{a} ( B ) \equiv \mathfrak{a} ( C ) ,\quad \pi \mathrel{:=} \mathfrak{a} ( P ) ,\] \noindent because the shift $2^{h}$ between $B$ and $C$ is invisible modulo $4$. Now pass from $G_{h}$ to $G'_{h}$, whose $\mathfrak{a}$-image differs by $2 \delta$. Then $\mathfrak{a} ( \mathrm{Dd} )$ changes by a multiple of $4$ (the factor $2 q + 2$). Next, $\beta$ changes to $\beta + 2 \delta'$ and $\beta^{2}$ by $4 \beta \delta' + 4 {\delta'}^{2} \equiv 0$ (commutativity). The inverse $\pi^{- 1}$ changes by $- 2 \pi^{- 2} \delta'' \ (\mathrm{mod}\ 4)$, so $\beta^{2} \pi^{- 1}$ changes by $- 2 \beta^{2} \pi^{- 2} \delta''$, which is $\equiv 0 \ (\mathrm{mod}\ 4)$ because $\beta^{2} \equiv 0 \ (\mathrm{mod}\ 2)$: modulo $2$, $\beta^{2}$ is the square of the constant term of $\beta$, that is of a payment, which is even. So $\mathfrak{a} ( S' ) \equiv \mathfrak{a} ( S ) \ (\mathrm{mod}\ 4)$, and $G'_{h + 1} \equiv G_{h + 1} \ (\mathrm{mod}\ 2)$. \hfill\ensuremath{\blacksquare} \textbf{Lemma 10.19 (the glue).} Let $X , Y$ be systems of size $1$ on $T ( l )$ whose dances along $w$ are clean, with $X_{h} \equiv Y_{h} \ (\mathrm{mod}\ 2)$ at every level $h$. Then the dance of $\operatorname{glue} ( X , Y )$ is clean, \textbf{$\operatorname{glue} ( X , Y )_{h} = \operatorname{glue} ( X_{h} , Y_{h} )$ at every level}, and in particular $M_{w} ( \operatorname{glue} ( X , Y ) ) = \operatorname{glue} ( M_{w} ( X ) , M_{w} ( Y ) )$. \emph{Proof.} $\operatorname{glue} ( X , Y ) = L^{- 1} \operatorname{diag} ( X , Y ) L$ with the scalar matrix $L = [ [ 1 , 0 ] , [ 1 / 2 , 1 ] ]$, which acts on the outer slot. Every move acts slot by slot on the inner structure, so the move of $L^{- 1} Z L$ is $L^{- 1}$ times the move of $Z$ times $L$: the pivot, the other blocks and the Schur complement are conjugated by $L$. For $Z = \operatorname{diag} ( X , Y )$ the dance is the two dances side by side. So $\operatorname{glue} ( X , Y )_{h} = \operatorname{glue} ( X_{h} , Y_{h} )$ as rational systems. A glued system $\operatorname{glue} ( U , U' )$ is integral if and only if $U \equiv U' \ (\mathrm{mod}\ 2)$; its pivot $\operatorname{glue} ( P_{U} , P_{U'} )$ is then invertible over $\mathbb{Z}_{2}$; and its Schur complement $\operatorname{glue} ( S_{U} , S_{U'} )$ is $\equiv 0 \ (\mathrm{mod}\ 2)$ if and only if $S_{U} \equiv S_{U'} \equiv 0 \ (\mathrm{mod}\ 2)$ and $S_{U} \equiv S_{U'} \ (\mathrm{mod}\ 4)$, that is $U_{h + 1} \equiv U'_{h + 1} \ (\mathrm{mod}\ 2)$. \hfill\ensuremath{\blacksquare} \textbf{Lemma 10.20 (the bend).} Let $c \ge 1$, $\Psi \mathrel{:=} 4 ( D + c ) + \eta F + \sum_{m \ge 2} \zeta_{m} F^{( m )}$ ($\eta$ a unit, $\zeta_{m} \in \mathbb{Z}_{2}$ constants), $\Sigma \mathrel{:=} 4 ( D + c ) + \eta F$, and \[N_{\pm} \mathrel{:=} 2^{k} \cdot \operatorname{out} ( \Psi \pm 2 )^{- 1} i n ,\] \noindent with the maps $\operatorname{out} = \operatorname{out}_{k}$, $\text{in}\ = i n_{k}$ of Lemma 10.8 ($\Psi \pm 2$ is invertible: its payments $4 ( d + c ) \pm 2$ never vanish). Then \textbf{$M_{w} ( \Psi ) \cdot N_{\pm} \in 2 \cdot \mathrm{Mat} ( \mathbb{Z}_{2} )$.} \emph{Proof.} Put $w ( d ) \mathrel{:=} v_{2} ( 4 ( d + c ) ) - 1 = 1 + v_{2} ( d + c ) \ge 1$ and $W [ a , b ] \mathrel{:=} \sum_{d = a}^{b} w ( d )$. As in Corollary 10.9, $( N_{\pm} )_{Y X} = ( M_{w} ( \Sigma )^{- 1} )_{Y X} \cdot R_{Y X}$, where $R_{Y X} = y^{\Psi \pm 2}_{L} ( f ) / y^{\Sigma}_{L} ( f )$ on the window $[ o_{X} , o_{Y} + K - 1 ]$. Expand $y^{\Psi \pm 2}$ as in Lemma 10.10. A composition, divided by the main term of $y^{\Sigma}$, is \begin{gather*}\pm ( \prod_{i} \zeta_{m_{i}} \cdot \eta^{- L} / \prod_{i} m_{i} ! ) \cdot \prod_{\text{landed}} \pi ( d ) / ( \pi ( d ) \pm 2 ) \cdot \prod_{\text{skipped}} \pi ( d ) , \\ \pi ( d ) = 4 ( d + c ) .\end{gather*} \noindent Here $v_{2} ( \pi ( d ) / ( \pi ( d ) \pm 2 ) ) = w ( d )$, $v_{2} ( \pi ( d ) ) = w ( d ) + 1$, and $- \sum_{i} v_{2} ( m_{i} ! ) \ge - s'$, where $s'$ is the number of skipped floors. So $v_{2} ( R_{Y X} ) \ge W [ o_{X} , o_{Y} + K - 1 ]$. By Theorem 10.12, $M_{w} ( \Psi ) = M_{w} ( \Sigma ) \circ ( 1 + E' )$, and $M_{w} ( \Sigma ) = \mathfrak{d}_{1} \mathcal{A} \mathfrak{d}_{2}$ with $v_{2} ( ( \mathfrak{d}_{1} )_{D} ) = - W [ 0 , o_{D} - 1 ] + c_{0}$, $c_{0}$ independent of $D$ (as $v_{2} ( \pi ( d ) ) = w ( d ) + 1$). Each term of $( M_{w} ( \Psi ) N_{\pm} )_{D X} = \sum_{Y} M_{w} ( \Psi )_{D Y} ( N_{\pm} )_{Y X}$ is non-zero only for $X \subseteq Y \subseteq D$, and then has valuation at least \[v_{2} ( ( \mathfrak{d}_{1} )_{D} ) - v_{2} ( ( \mathfrak{d}_{1} )_{X} ) + \delta ( D \setminus Y ) + \delta ( Y \setminus X ) + W [ o_{X} , o_{Y} + K - 1 ]\] \[= \delta ( D \setminus Y ) + \delta ( Y \setminus X ) + W [ o_{D} , o_{Y} + K - 1 ] \ge 1 ,\] \noindent because $o_{D} - o_{Y} = o_{D \setminus Y} \le K - 1$, so the window $[ o_{D} , o_{Y} + K - 1 ]$ is non-empty and $w \ge 1$ on it. ($( \mathfrak{d}_{2} )_{Y}$ cancels, and $v_{2} ( ( \mathcal{A}^{- 1} )_{Y X} ) \ge \delta ( Y \setminus X )$, proof of Lemma 10.11.) \hfill\ensuremath{\blacksquare} \textbf{Corollary 10.21.} In Lemma 10.20, the dances of $\Psi ( \Psi \pm 2 ) / 2$ are clean, and \[M_{w} ( \Psi ( \Psi + 2 ) / 2 ) = W_{+} \cdot M_{w} ( \Psi ) ,\quad M_{w} ( \Psi ( \Psi - 2 ) / 2 ) = W_{-} \cdot M_{w} ( \Psi ) ,\quad W_{\pm} \in \pm I + 2 \cdot \mathrm{Mat} ( \mathbb{Z}_{2} ) .\] \emph{Proof.} \emph{Cleanliness.} $\Psi \in \mathcal{T}_{0}$ with (a), (b). By Lemma 10.14, $\Theta ( \Psi^{2} ) = \Theta ( \Psi )^{2} = \Theta ( 4 y )^{2} = 0$ and $\Theta ( 2 \Psi ) = 0$, so $\Psi ( \Psi \pm 2 ) \in 2 \mathcal{T}_{0}$ and $\Psi ( \Psi \pm 2 ) / 2 \in \mathcal{T}_{0}$. Its payment is $4 y ( 4 y \pm 2 ) / 2 = 4 y ( 2 y \pm 1 ) = 2 \chi ( 2 y )$ with $\chi = X^{2} \pm X$, which is $\equiv 0 \ (\mathrm{mod}\ 4)$. Its coefficient of $F$ is $( \eta \cdot 4 ( y - 1 ) + 4 y \cdot \eta \pm 2 \eta ) / 2 = \eta ( 4 y - 2 \pm 1 )$, which is odd. Theorem 10.15 applies. \emph{The identity.} By partial fractions (all operators are series in $F$ and $D$, and $\Psi$, $\Psi \pm 2$ commute), $( \Psi ( \Psi + 2 ) / 2 )^{- 1} = \Psi^{- 1} - ( \Psi + 2 )^{- 1}$ and $( \Psi ( \Psi - 2 ) / 2 )^{- 1} = ( \Psi - 2 )^{- 1} - \Psi^{- 1}$. By Lemma 10.8 applied to the clean dances of $\Psi$ and $\Psi ( \Psi \pm 2 ) / 2$ (same $\operatorname{out}$, $i n$): \[M_{w} ( \Psi ( \Psi + 2 ) / 2 )^{- 1} = M_{w} ( \Psi )^{- 1} - N_{+} = M_{w} ( \Psi )^{- 1} ( I - M_{w} ( \Psi ) N_{+} ) ,\] \noindent so $W_{+} = ( I - M_{w} ( \Psi ) N_{+} )^{- 1}$. Likewise $W_{-} = - ( I - M_{w} ( \Psi ) N_{-} )^{- 1}$. By Lemma 10.20, $W_{\pm} \equiv \pm I \ (\mathrm{mod}\ 2)$. \hfill\ensuremath{\blacksquare} \textbf{Theorem 10.22 (the fold law on the even families).} For every $l \ge 0$ and every $i \ge 0$, \[\bar{X} ( 2 l + 2 , i ) \cong 2 X ( 2 l + 2 , i ) .\] \emph{Proof.} Let $Y_{0} \mathrel{:=} 1 + ( - 1 )^{i} \mathrm{Sh}^{- 1}$, so that $\Psi_{i + 1} = \Psi_{i} + 2 Y_{0}$ (\S{}10.2). Take the positions $y = f + \lceil i / 2 \rceil$ at level $0$. In these positions both $\Psi_{i}$ and $\Psi_{i + 1}$ lie in $\mathcal{T}_{0}$ with (a) and (b): their payments are $4 y$ and $4 ( y + [ i \ \text{even} ] )$, their coefficients of $F$ are the units $1$, $1 / 3$, and their other coefficients are constants. \emph{The arms are congruent.} $\Psi_{i + 1} - \Psi_{i} = 2 Y_{0} \equiv 0 \ (\mathrm{mod}\ 2)$. For the second side put $U \mathrel{:=} \Psi_{i + 1} ( \Psi_{i + 1} - 2 ) / 2$ and $U' \mathrel{:=} \Psi_{i} ( \Psi_{i} + 2 ) / 2$, both in $\mathcal{T}_{0}$ with (a) and (b) (proof of Corollary 10.21). With $\Psi \mathrel{:=} \Psi_{i}$, \[U - U' = \Psi Y_{0} + Y_{0} \Psi - 2 \Psi + 2 Y_{0}^{2} - 2 Y_{0} \equiv [ \Psi , Y_{0} ] = 4 [ D , Y_{0} ] \equiv 0 \ (\mathrm{mod}\ 2) ,\] \noindent because $Y_{0}$ and the $F$-part of $\Psi$ are power series in $F$ with constant coefficients and commute, while $\Psi$ contains $4 D$. ($\Psi_{i}$ and $Y_{0}$ do not commute, so the product $( \Psi_{i + 1} + \Psi_{i} ) ( Y_{0} - 1 )$ is not the difference.)\\ \emph{The case $i \ge 1$.} By Lemma 10.18 the arms dance congruently modulo $2$, so by Lemma 10.19 the dances of $\operatorname{glue} ( \Psi_{i + 1} , \Psi_{i} )$ and $\operatorname{glue} ( U , U' )$ are clean, and by Corollary 10.21 (with $\Psi_{i + 1}$ and $\Psi_{i}$, whose shifts $\lceil ( i + 1 ) / 2 \rceil$, $\lceil i / 2 \rceil$ are $\ge 1$) \begin{center}$\displaystyle M_{w} ( \operatorname{glue} ( U , U' ) ) = \operatorname{glue} ( W_{-} M_{w} ( \Psi_{i + 1} ) , W_{+} M_{w} ( \Psi_{i} ) ) = \operatorname{glue} ( W_{-} , W_{+} ) \cdot M_{w} ( \operatorname{glue} ( \Psi_{i + 1} , \Psi_{i} ) ) ,$\end{center} \noindent since $\operatorname{glue} ( X , Y ) \cdot \operatorname{glue} ( X' , Y' ) = \operatorname{glue} ( X X' , Y Y' )$. Now $\operatorname{glue} ( W_{-} , W_{+} ) = [ [ W_{-} , 0 ] , [ ( W_{+} - W_{-} ) / 2 , W_{+} ] ]$ is integral ($W_{+} \equiv I$ and $W_{-} \equiv - I \ (\mathrm{mod}\ 2)$, so $W_{+} - W_{-} \in 2 \cdot \mathrm{Mat} ( \mathbb{Z}_{2} )$) and has invertible diagonal blocks, so it lies in $\mathrm{GL} ( \mathbb{Z}_{2} )$. The two final matrices are associates and have the same Smith form; Proposition 10.7 and Lemma 10.5 give $\bar{X} ( 2 l + 2 , i ) \cong 2 X ( 2 l + 2 , i )$.\\ \emph{The case $i = 0$.} Then $\Psi_{0} = 4 D + u \cdot \tanh ( u / 2 )$ is not invertible. Replace the shift by a parameter: $i = 2 c$, $c \in \mathbb{Z}_{2}$, with payments $4 ( D + c )$ for $\Psi_{i}$ and $4 ( D + c + 1 )$ for $\Psi_{i + 1}$. Every object above is continuous in $c$: the dances are clean for every $c$ (Theorem 10.15 and Lemmas 10.18 and 10.19); $N_{+}$ uses $( \Psi_{i} + 2 )^{- 1}$, whose payments $4 ( d + c ) + 2$ never vanish, and $N_{-}$ uses $( \Psi_{i + 1} - 2 )^{- 1}$, with payments $4 ( d + c + 1 ) - 2$. For $c = 2^{n}$, $n \ge 0$, we have $M_{w} ( \Psi_{i} ) N_{+} \in 2 \cdot \mathrm{Mat}$, $M_{w} ( \Psi_{i + 1} ) N_{-} \in 2 \cdot \mathrm{Mat}$, and the identity \[M_{w} ( \operatorname{glue} ( U , U' ) ) = \operatorname{glue} ( W_{-} , W_{+} ) \cdot M_{w} ( \operatorname{glue} ( \Psi_{i + 1} , \Psi_{i} ) ) ,\] \noindent with $W_{\pm} = \pm ( I - M_{w} ( \cdot ) N_{\pm} )^{- 1}$. The set $2 \cdot \mathrm{Mat} ( \mathbb{Z}_{2} )$ is closed, so at $c = 0$ the products $M_{w} ( \Psi_{0} ) N_{+}$ and $M_{w} ( \Psi_{1} ) N_{-}$ still lie in $2 \cdot \mathrm{Mat}$; then $W_{\pm}$ are defined and $\equiv \pm I \ (\mathrm{mod}\ 2)$ there, and the identity passes to the limit. So the final matrices are associates at $c = 0$ as well. \hfill\ensuremath{\blacksquare} \subsection*{\texorpdfstring{10.8 Proof of Theorem DW, and the folded cube}{10.8 Proof of Theorem DW, and the folded cube}} \addcontentsline{toc}{subsection}{\texorpdfstring{10.8 Proof of Theorem DW, and the folded cube}{10.8 Proof of Theorem DW, and the folded cube}} \emph{Proof of Theorem DW.} By Proposition 10.3 it suffices that $\bar{X} ( \lambda , i ) \cong 2 X ( \lambda , i )$ for every $\lambda \ge 1$ and every $i \ge 0$. For $\lambda = 2 l + 1$ this is Corollary 10.17, and for $\lambda = 2 l + 2$ Theorem 10.22. \hfill\ensuremath{\blacksquare} \emph{Proof of Corollary 1.4.} The $2$-part is Theorem DW: $\operatorname{Syl}_{2} \bar{K} ( n ) \cong 2 \cdot \operatorname{Syl}_{2} K ( Q_{n} )$ is $\operatorname{Syl}_{2} K ( Q_{n} )$ with every exponent lowered by one, the $a_{n}$ factors $\mathbb{Z} / 2$ disappearing (Corollary 1.5). The odd part is given by [GMMY24, Proposition 1.9]. \hfill\ensuremath{\blacksquare} \textbf{The mod-2 layer.} Let $\bar{L}$ be the Laplacian of the folded cube, a square matrix of size $2^{n - 1}$ ($n \ge 2$), with $\operatorname{coker} \bar{L} \cong \mathbb{Z} \oplus \bar{K} ( n )$. Its invariant factors divisible by $2$ are the zero one and one for each cyclic factor of $\operatorname{Syl}_{2} \bar{K} ( n )$. By Corollary 1.5, $\operatorname{Syl}_{2} K ( Q_{n} )$ has $2^{n - 1} - 1$ cyclic factors, of which $a_{n}$ are $\mathbb{Z} / 2$; by Theorem DW, $\operatorname{Syl}_{2} \bar{K} ( n )$ has $2^{n - 1} - 1 - a_{n}$. So $\operatorname{rank}_{\mathbb{F}_{2}} \bar{L} = 2^{n - 1} - ( 2^{n - 1} - a_{n} ) = a_{n}$. This is [GMMY24, Proposition 2.12] (with their $r = n - 1$). Their Remark 2.13 asks whether its coincidence with Bai's count of the factors $\mathbb{Z} / 2$ of $K ( Q_{n} )$ is a \guillemotleft{}special case of some deeper connection\guillemotright{}. Theorem DW is such a connection: the coincidence is its first layer. \textbf{Remark (what the fold sees).} The proof uses the antipode $a = x_{1} \cdots x_{n}$ through Lemma 10.1 only: $a$ is $( - 1 )^{( n - H ) / 2} \exp ( F )$, an operator built from the weight and the divided powers of $F$, so it is carried by the family decomposition of Theorem 3.6. An element such as $x_{1} x_{2}$ acts on two tensor factors only; it is not of this kind, and the quotient by it does not halve the group (we checked $3 \le n \le 12$, \S{}12). \section*{\texorpdfstring{11. Open questions}{11. Open questions}} \addcontentsline{toc}{section}{\texorpdfstring{11. Open questions}{11. Open questions}} \begin{enumerate} \item[1.] \textbf{Other quotients of the cube.} The Cayley graphs of $\mathbb{F}_{2}^{r}$ are the quotients of cubes by binary linear codes [IKKY23, Proposition 37], and those containing $\mathds{1}$ --- the \guillemotleft{}non-generic\guillemotright{} ones in the sense of [GMMY24], see also [Yue24] --- are built from the folded cube by successive quotients of codimension one [GMMY24, \S{}2.2]. Does the method of \S{}10 compute their $2$-parts? The antipode was special because it is $\pm \exp ( F )$ on every family (Lemma 10.1); a general code element acts on some tensor factors only. \item[2.] \textbf{The turned lid.} Write $C_{b} \mathrel{:=} Q_{b} / \langle \mathds{1} \rangle$ (so $C_{1}$ is a point). For $a + b = n$, the graph $Q_{a} \square C_{b}$ is the quotient of $Q_{n}$ by a translation of weight $b$. We measured, for every $n \le 12$ and every $b$, that $\operatorname{Syl}_{2} K ( Q_{a} \square C_{b} ) \cong \operatorname{Syl}_{2} K ( Q_{b} \square C_{a} )$, although the graphs are not isomorphic and the odd parts differ; and that $2 \cdot \operatorname{Syl}_{2} K ( Q_{n} ) \cong \operatorname{Syl}_{2} K ( Q_{a} \square C_{b} )$ holds only for $b = n$ (Theorem DW). Theorem DW is the degenerate end of this symmetry (the twin of $b = n$ would be the quotient by $0$). We have no proof. \item[3.] \textbf{A direct proof of the fold law.} Reiner and Tseng give an exact sequence $0 \to K ( G^{\pm} ) \to K ( Q_{n} ) \to \bar{K} ( n ) \to 0$ for the double cover $Q_{n} \to Q_{n} / \langle \mathds{1} \rangle$ ($n \ge 3$), with $K ( G^{\pm} )$ the critical group of a signed graph [RT14]. Theorem DW identifies the $2$-part of the target, abstractly, with $2 \cdot \operatorname{Syl}_{2} K ( Q_{n} )$. Is there a proof through the signed graph, without tilting modules? \item[4.] \textbf{The meaning of pooling.} The integer antitonic fit appears because the Smith form of $M ( \lambda , i )$ is governed by the cheapest matchings of a triangular cost matrix (\S{}6--\S{}7). Is there a module-theoretic reason, such as a filtration of $X ( \lambda , i )$ whose layers are the pooled blocks? \item[5.] \textbf{Other primes and other graphs.} For the Hamming graphs $H ( n , p )$, $p$ odd, the group ring $\mathbb{Z} [ ( \mathbb{Z} / p )^{n} ]$ is the $n$-th tensor power of $\mathbb{Z} [ \mathbb{Z} / p ]$, and the Laplacian is again a sum over the tensor factors. Is there a decomposition of their $p$-parts over tilting modules of a suitable group in characteristic $p$? \item[6.] \textbf{The tilting modules in Lean.} Every theorem of this paper is checked in Lean (\S{}12.3), with the dance lattices $T ( \lambda )$ of \S{}3.3 as explicit lattices. That they are the indecomposable tilting modules of $\mathrm{SL}_{2}$ in characteristic $2$ is not formalized, and the proof does not need it. Formalizing it would join the formal proof to the representation theory that guided it. \end{enumerate} \section*{\texorpdfstring{12. Computations}{12. Computations}} \addcontentsline{toc}{section}{\texorpdfstring{12. Computations}{12. Computations}} \subsection*{\texorpdfstring{12.1 The checks published with this paper}{12.1 The checks published with this paper}} \addcontentsline{toc}{subsection}{\texorpdfstring{12.1 The checks published with this paper}{12.1 The checks published with this paper}} All the checks below were run on a laptop, under a watchdog with limits on memory and time; a log counts only if it ends with the watchdog's final line. The code is in the folder \texttt{gate/\allowbreak{}} that accompanies this paper. A \textbf{control} is a deliberately wrong variant that must fail; \guillemotleft{}none\guillemotright{} means that the row has no control. {\small\begin{longtable}{>{\raggedright\arraybackslash}p{0.340\linewidth}>{\raggedright\arraybackslash}p{0.118\linewidth}>{\raggedright\arraybackslash}p{0.165\linewidth}>{\raggedright\arraybackslash}p{0.261\linewidth}} \toprule statement, and the code that checks it & range & result & control \\ \midrule \endhead Main Theorem against the direct $2$-adic Smith form of the Laplacian of $Q_{n}$; Theorem DW against that of $Q_{n} / \langle \mathds{1} \rangle$; code \texttt{gate\_\allowbreak{}direct.\allowbreak{}py} & $n = 2 , \dots , 11$ & 10/10 and 10/10 & the rule without pooling fails at $n = 6 , 10$; the rule without the term $h ( D )$ at $n = 2$ and $4 , \dots , 11$; $Q_{n} / \langle x_{1} x_{2} \rangle$ in place of the folded cube fails for every $n = 3 , \dots , 11$ \\ Theorem D: direct Smith form of $\sigma^{( \alpha )}_{i}$ on $T ( \lambda )$ against small clocks $\oplus \operatorname{coker} ( 2^{k} M )$; Theorem 4.4 against the dance; code \texttt{gate\_\allowbreak{}dance.\allowbreak{}py} & $\lambda \le 40$, $\alpha = 1 , 2$, $i \le 6$, $\dim T ( \lambda ) \le 64$ & 432/432; 0 mismatches & the closed form without the factor $2^{o ( \Delta )}$ differs from the dance in 420/420 cells, and predicts a wrong Smith form in 262 \\ Propositions 5.2 \ensuremath{\cdot} 5.3 \ensuremath{\cdot} 5.4 (5.2 against the closed form of Theorem 4.4; of 5.4, the formula for the clocks $u_{0} ( D )$, $D \ne \emptyset$); code \texttt{gate\_\allowbreak{}sections5to7.\allowbreak{}py} & $\lambda < 64$; $i = 1 , \dots , 40$ ($\alpha = 1 , 2$ for 5.2, $\alpha = 1$ for 5.3); $i = 0$, $\alpha = 1$ for 5.4 & 109 200 matrix entries \ensuremath{\cdot} 14 560 clocks \ensuremath{\cdot} 301 clocks, 0 failures & none \\ Theorem 7.10: Smith form of $M$ against the pooled clocks; code \texttt{gate\_\allowbreak{}sections5to7.\allowbreak{}py} & $\lambda < 64$, $i \le 12$, $\alpha = 1 , 2$ & 1 638 cells, 0 failures & the raw clocks, without pooling, are rejected in all 322 cells where pooling changes them \\ Theorem 7.8: the construction of $V$ and the claims of its proof, for three admissible prices $c_{F}$; code \texttt{gate\_\allowbreak{}sections5to7.\allowbreak{}py} & houses with $I \ne \emptyset$ and $k \le 6$ ($\lambda \le 126$), $\alpha \le 3$, every $\ell$ & 16 002 houses, 48 006 house-checks, 0 failures & without gold, (G) fails in 164 houses ($\lambda < 64$, $\alpha = 1$); with $c_{F} \mathrel{:=} v' ( I' )$, in 24 \\ Theorem 7.8, strict (Cut); Lemma 7.2(b) where it is applied: the penalty shifts $P_{r} , P_{c} \le 4$ and the deletion at $i = 0$; code \texttt{gate\_\allowbreak{}strict\_\allowbreak{}cut.\allowbreak{}py} & every house with $1 \le k \le 6$, $\alpha \le 3$ & 16 380 houses, 8 001 boundaries, 192 024 non-zero shifts (24 on each house with a boundary), 360 deletions, 0 failures & strictness tested one dancer after the boundary fails in 1 911 of 7 038 houses; the shift moved one dancer late breaks the integer shift in 18 606 of 192 024 \\ Lemma 7.9: the fit of $x_{H}$, of its shifts and of its deletions is integral; code \texttt{gate\_\allowbreak{}strict\_\allowbreak{}cut.\allowbreak{}py} & the same & 0 non-integral values & $x_{H}$ with $1$ added at its first dancer (not a house) has a non-integral fit in 1 942 houses \\ Lemma 7.2(b) on random sequences; code \texttt{gate\_\allowbreak{}lemma72.\allowbreak{}py} & 20 000 sequences of length $\le 9$ & 0 failures & jumps of $\delta$ at cuts that are not strict break the integer part in 189 of 2 841 trials \\ Theorem 6.2: exactly one golden bijection; code \texttt{gate\_\allowbreak{}theoremO.\allowbreak{}py} & $| I | \le 5$, every $r$ & 69 cases, 0 failures & \guillemotleft{}golden\guillemotright{} replaced by \guillemotleft{}any subset\guillemotright{} or by \guillemotleft{}any run of digits\guillemotright{}: the count is not $1$ in 42 and in 26 cases \\ Corollary 1.5 \ensuremath{\cdot} Lemma 9.7 \ensuremath{\cdot} Corollary 1.6; code \texttt{gate\_\allowbreak{}section9.\allowbreak{}py} & $n \le 200$ & 199 \ensuremath{\cdot} 199 \ensuremath{\cdot} 197 values, 0 failures & none (a counter shows that $c_{n} = G$ fails for 37 values of $n$) \\ Propositions 9.3 \ensuremath{\cdot} 9.4 \ensuremath{\cdot} 9.6; code \texttt{gate\_\allowbreak{}section9.\allowbreak{}py} & $\lambda \le 300$ & 300 \ensuremath{\cdot} 292 \ensuremath{\cdot} 22 500 cells, 0 failures & none (a counter shows that the bound $g ( n - i )$ is exceeded in 298 cells) \\ Corollary 1.7; code \texttt{gate\_\allowbreak{}section9.\allowbreak{}py} & $e = 1 , \dots , 8$ & 8/8 & none \\ the weights $\eta_{m}$, $\eta'_{m}$ of \S{}10.2: the Bernoulli formulas, and $v_{2} = 0$; code \texttt{gate\_\allowbreak{}section10.\allowbreak{}py} & $m \le 39$ & 0 failures & none \\ Lemma 10.1 on $V^{\otimes n}$; code \texttt{gate\_\allowbreak{}section10.\allowbreak{}py} & $n \le 6$ & 0 failures & none \\ Lemmas 10.4 and 10.5, both sides, and $\bar{X} ( \lambda , i ) \cong 2 X ( \lambda , i )$, on the lattices $T ( \lambda )$ of \S{}3.3; code \texttt{gate\_\allowbreak{}section10.\allowbreak{}py} & $\lambda \le 22$, $i \le 5$ & 66 + 66 + 66 + 66 and 132/132 & the sign-free fold fails in 124/132; a wrong sign in $\Psi_{j}$ fails 66/66 \\ Remark (2) of \S{}10.5 (a measurement); code \texttt{gate\_\allowbreak{}remark2.\allowbreak{}py}, in \texttt{remark2/\allowbreak{}} & $l = 2 , \dots , 63$, seed $11$ & as stated there & none \\ \bottomrule \end{longtable}} The folder \texttt{remark2/\allowbreak{}} contains three engines of the project, copied unchanged, and the driver that sets the four experiments of the remark. The direct computations of the first row also give the example of \S{}1.3: $\operatorname{Syl}_{2} K ( Q_{5} ) = \{ 1 : 6 , 3 : 4 , 4 : 1 , 6 : 4 \}$ and $\operatorname{Syl}_{2} \bar{K} ( 5 ) = \{ 2 : 4 , 3 : 1 , 5 : 4 \}$. \subsection*{\texorpdfstring{12.2 Independent re-computations}{12.2 Independent re-computations}} \addcontentsline{toc}{subsection}{\texorpdfstring{12.2 Independent re-computations}{12.2 Independent re-computations}} Six readers of the project (Appendix A) recomputed what follows, each with code of its own, never the authors'. Their code and logs are part of the project's record. As in \S{}12.1, \guillemotleft{}none\guillemotright{} means that the row has no control; \guillemotleft{}fires\guillemotright{} means that the reader's control failed, as it must. {\small\begin{longtable}{>{\raggedright\arraybackslash}p{0.221\linewidth}>{\raggedright\arraybackslash}p{0.083\linewidth}>{\raggedright\arraybackslash}p{0.162\linewidth}>{\raggedright\arraybackslash}p{0.153\linewidth}>{\raggedright\arraybackslash}p{0.239\linewidth}} \toprule statement & reader & range & result & control \\ \midrule \endhead Main Theorem against the Smith form of the Laplacian of $Q_{n}$ & 1 & $n \le 13$ & 12/12 & fires \\ Main Theorem, from the rule as printed in \S{}1; Theorem DW & 3 & $n \le 12$ & 12/12 and 12/12 & the rule without the lowest digit of $I$, $a_{n} \pm 1$, and $Q_{n} / \langle x_{1} x_{2} \rangle$ fail \\ Theorem DW, in the vertex basis & 2 & $n \le 12$ & 11/11 & $Q_{n} / \langle x_{1} x_{2} \rangle$ fails for $n = 3 , \dots , 12$ \\ Gao et al.'s Table 1 & 3 & $n = 7 , \dots , 11$ & agrees entry by entry & none \\ the recursion of \S{}1.2 against Larsen's fusion rule [Lar24, \S{}2] & 1, 3 & even $n \le 64$ & 32/32 & fires \\ Theorem 7.8 & 1 & houses with $\lambda \le 255$, $\alpha \le 4$ & 0 failures & none \\ Theorem 7.8, every claim of its proof, strict (Cut), the integer separation of adjacent level sets (Lemma 7.9 of version 2), the integer shifts & 3 & all houses with $k \le 7$ ($k = 0$ included), $\alpha = 1 , 2$, penalties $\le 6$ & 43 690 houses, 0 failures & two wrong prices of the central flat are detected in 2 550 and 2 808 of 3 979 houses \\ Theorems D and 7.10 on the lattices $T ( \lambda )$ & 3 & two runs, $\lambda \le 31$, $i \le 10$ and $\lambda \le 63$, $i \le 8$, each with $\alpha = 1 , 2$; the 43 and 372 cells whose predicted exponent is at least 60 skipped & 639 and 762 cells compared, 0 failures & the raw clocks are rejected in all 102 and 172 compared cells where pooling acts \\ Theorem 7.10 on the matrices $M$ & 3 & $\lambda \le 127$, $i \le 30$, $\alpha = 1 , 2$ & 7 874 cells, 0 failures & the raw clocks are rejected in all 1 876 cells where pooling acts \\ Theorem 7.8, strict (Cut), the integer separation of adjacent level sets (Lemma 7.9 of version 2), the penalty shifts $P_{r} , P_{c} \le 4$ and the deletion at $i = 0$ & 4 & every house with $1 \le k \le 7$, $\alpha \le 3$ & 65 532 houses, 777 240 non-zero shifts, 741 deletions, 0 failures & a price of the central flat one above or one below the interval fails in 10 374 houses each; the shift one dancer late fails in 78 070 of 721 872; strictness one dancer after the boundary fails in 7 967 of 30 078 \\ Theorem 7.10 on the matrices $M$ & 4 & $\lambda \le 127$, $i \le 30$, $\alpha = 1 , 2$ & 7 874 cells, 0 failures & the raw clocks are rejected in all 1 834 cells with $i \ge 1$ where pooling acts; the penalty one dancer late in all 1 904 \\ Lemma 7.2(b), restated, on random sequences & 4 & 50 000 sequences of length $\le 10$ & 0 failures & a jump at a cut that is not strict breaks the integer part in 736 of 9 939 trials \\ Lemma 7.9 (integrality) & 4 & every house with $1 \le k \le 7$, $\alpha \le 3$, and the 7 634 cells of its row on the matrices $M$ other than the 240 with $i = 0$ and $I \ne \emptyset$ (the 7 620 with $i \ge 1$, and the 14 with $i = 0$ and $I = \emptyset$, where $M = 0$) & no non-integral level set & none \\ Lemma 7.9; the strict (Cut); Lemma 7.2(b) at the penalty shifts; the deletion at $i = 0$ & 5 & every house with $1 \le k \le 7$, $\alpha \le 3$ (65 532); penalties $P_{r} , P_{c} \le 4$ on the 8 001 houses with $k \le 6$ that have a boundary (192 024 cells); 741 deletions & 0 failures & $x_{H}$ with $1$ added at its first dancer: non-integral in 1 942 of 16 380 houses; strictness one dancer after the boundary fails in 7 967 of 30 078 \\ \S{}1.2 (the rounding never acts); Propositions 5.3, 5.4 and Lemma 7.5; Proposition 9.6 (H) & 5 & every family $\lambda \le 255$, every shift $i \le 40$ (10 455 cells; (H) on the 10 200 with $i \ge 1$) & 0 failures & for the integrality: the raw clocks with $1$ added at the first dancer have a non-integral block mean in 2 316 of the 9 880 cells with $I \ne \emptyset$ and $i \ge 1$; none for Propositions 5.3 and 5.4, Lemma 7.5 and (H) \\ Theorem 6.2 & 3 & $| I | \le 5$ & 69/69 & \guillemotleft{}any run\guillemotright{} and \guillemotleft{}any subset\guillemotright{} fail in 26 and 42 cases \\ Corollaries 1.5, 1.6 (from the rule) and 1.7 & 3 & $n \le 300$; $e \le 8$ & 0 failures & a wrong exponent in Corollary 1.5 and a wrong constant in Corollary 1.6 fail for 149 and 65 values of $n$ \\ odd part of Corollary 1.4 & 3 & $p = 3 , 5 , 7$, $n \le 11$ & 30/30 & fires \\ $\bar{X} ( \lambda , i ) \cong 2 X ( \lambda , i )$ on explicit lattices & 2 & $\lambda \le 20$, $i \le 6$ & 140/140 & $\lambda = 0$ and the sign-free fold fail \\ $\bar{X} ( \lambda , i ) \cong 2 X ( \lambda , i )$ from the definition $T ( \lambda ) / ( \tau_{i} T ( \lambda ) + ( a - 1 ) T ( \lambda ) )$ & 3 & $\lambda \le 63$, $i \le 8$ & 513/513 & $a$ replaced by $- a$ fails 513/513 \\ the formal dance of $\Psi_{j}$: clean, with the support, the entry valuations and the Smith form of $M^{( 2 )} ( l , \lceil j / 2 \rceil )$ (Theorems 10.12, 10.15, 10.16) & 3 & $l \le 31$, $j \le 7$ & 256/256 & $\alpha = 1$, and a coefficient of $F^{( 2 )}$ depending on the parity of the floor, fail \\ Theorem 10.15: one move on random covariant systems & 2 & levels $0$--$3$, $1$--$4$ dancers & 800/800 & none \\ Lemma 10.20 & 2 & $l \le 24$, $c = 1 , \dots , 4$, three kinds of weights & 96/96 for each kind and sign & $\alpha = 1$ and $\Psi \pm 4$ fail in 95/96 and 71/72 \\ the turned lid (\S{}11, question 2) & 3 & $n = 3 , \dots , 12$, every $b$ & 0 failures (a measurement) & none \\ the cells of the rows of readers 4 and 5; Lemma 7.9 on houses and on the 10 455 cells of the fifth reader's second row & 6 & $\lambda \le 127$, $i \le 30$, $\alpha = 1 , 2$; houses with $1 \le k \le 6$, $\alpha \le 3$; $\lambda \le 255$, $i \le 40$ & 7 874 cells: 254 with $i = 0$ (240 with $I \ne \emptyset$), 7 620 with $i \ge 1$; 16 380 houses and 10 455 cells, no non-integral fit & the controls of reader 5 reproduced: 1 942 of 16 380 houses, 2 316 of 9 880 cells \\ \bottomrule \end{longtable}} \subsection*{\texorpdfstring{12.3 The Lean certificate}{12.3 The Lean certificate}} \addcontentsline{toc}{subsection}{\texorpdfstring{12.3 The Lean certificate}{12.3 The Lean certificate}} Every theorem of this paper has been checked in the proof assistant Lean 4 [dMU21], toolchain \texttt{v4.\allowbreak{}28.\allowbreak{}0}, with the Mathlib library [mC20], tag \texttt{v4.\allowbreak{}28.\allowbreak{}0}. The certificate [LC26] prints the Lean statements and every definition they use, compares them with this paper line by line, and says how the proof was obtained and how to check it. \textbf{What Lean proves.} For every $n \ge 1$: \begin{itemize} \item the Main Theorem (\texttt{MainTheorem.\allowbreak{}M1}), with the rule of \S{}1.2 written out in Lean: the recursion for the multiplicities, the binary digits of $\lambda + 1$, the raw clocks, the integer antitonic fit and the groups $X ( \lambda , i )$; \item Theorem DW (\texttt{FoldLaw.\allowbreak{}DW}) and its equivalent form (\texttt{SmallCases.\allowbreak{}DW\textquotesingle{}\_\allowbreak{}all}; for $n \ge 2$ it is \texttt{FoldLaw.\allowbreak{}DW\textquotesingle{}}); \item Corollary 1.4: the odd part (\texttt{OddParts.\allowbreak{}C5}); the $2$-part is \texttt{SmallCases.\allowbreak{}DW\textquotesingle{}\_\allowbreak{}all} read together with the Main Theorem, which Lean does not state as one theorem; \item Corollaries 1.5 (\texttt{BaiCounts.\allowbreak{}B1}, \texttt{BaiCounts.\allowbreak{}B2}), 1.6 (\texttt{PodiumCor.\allowbreak{}P1}, \texttt{PodiumCor.\allowbreak{}P2}, \texttt{PodiumCor.\allowbreak{}P3}, \texttt{PodiumCor.\allowbreak{}G1}, \texttt{PodiumCor.\allowbreak{}G2}, \texttt{PodiumCor.\allowbreak{}G3}; Gao et al.'s Theorem 4.1 for every $n \ge 2$ is \texttt{SmallCases.\allowbreak{}G1\_\allowbreak{}all}) and 1.7 (\texttt{Mirror.\allowbreak{}Y2}); \item Bai's odd part of $K ( Q_{n} )$ (\texttt{OddParts.\allowbreak{}B1}), which this paper cites [Bai03] and Lean proves; \item Theorem D (\texttt{Windows.\allowbreak{}theorem\_\allowbreak{}D\_\allowbreak{}i}), and each of the 68 numbered statements of \S{}2--\S{}10, from Lemma 2.1 to Theorem 10.22. \end{itemize} \textbf{Nothing is cited.} The statements are about a finite graph. Lean defines the Laplacian of $Q_{n}$, its cokernel and the torsion of that cokernel, and proves the theorems themselves; Kirchhoff's theorem is not used. The proof contains no \texttt{sorry}, and every theorem depends only on the three standard axioms \texttt{propext}, \texttt{Classical.\allowbreak{}choice} and \texttt{Quot.\allowbreak{}sound}. \textbf{The one point of trust} is that the Lean definitions say what this paper says. The certificate prints every definition the statements use and compares it with this paper (its \S{}1.2--\S{}1.3). That comparison is what a reader should check. \textbf{How.} The text of \S{}2--\S{}10 was cut into 68 pieces, each a short self-contained file; a 69th piece added the cases that the first 68 left out (the equivalent form of Theorem DW, the count of \S{}10.8 and the $\mathbb{F}_{2}$-rank of the folded Laplacian at $n = 1$, and Gao et al.'s Theorem 4.1 at $n = 2$). Aristotle, an AI system made by Harmonic [Har26], wrote the Lean proofs. On the author's machine each returned project was compared with the previous one, searched for forbidden constructs, and compiled module by module; the main statements of each piece were restated by hand in a check file, and their faithfulness to the paper was audited. At the end of the 68 pieces all 416 modules were compiled again from their sources, in one clean rebuild, all with exit code 0; the four modules of the 69th piece were then compiled from their sources, with the sources of the other 416 unchanged. The project has 420 Lean files (419 in its 69 folders, and the main file), 61 285 lines and 3 470 theorem and lemma declarations. \textbf{Read cold.} Before release, the certificate was read by a reader other than its writer, with the compiled project at hand. The reader re-read every definition in the statements against this paper, re-elaborated from source the files of the Main Theorem and of Theorem DW and five more of the chain, and compared the rule with Smith forms it computed from the graphs ($n \le 11$). Verdict: \guillemotleft{}holds as far as I can check\guillemotright{}; no Lean statement says something other than this paper. It found four errors in the record and none in a statement: one sentence, the description of the edges of the folded cube in \S{}1.3 of version 8 of this paper, which the certificate repeated (corrected in \S{}1.3 here and in [LC26]), and three counts of the certificate (corrected in [LC26]). The changes of version 2 of the certificate, which adds the 69th piece, were read cold in their turn before release, with the Lean of that piece. \textbf{What Lean does not state} ([LC26], \S{}1.3 and \S{}2): \begin{itemize} \item the pool-adjacent-violators algorithm (Lean has the fit it computes); \item that the dance lattices are the indecomposable tilting modules (not used); \item the numerical facts of \S{}1.2, \S{}1.3 and \S{}12. \end{itemize} The Main Theorem is an isomorphism of groups in Lean and of $\mathbb{Z}_{2}$-modules here. The two statements are equivalent, because an additive map between finitely generated $\mathbb{Z}_{2}$-modules is $\mathbb{Z}_{2}$-linear ([LC26], \S{}1.3). \textbf{Where.} The certificate [LC26] is published with the Lean project, the check files, the files of the 69 pieces, and the logs of every piece and of the clean rebuild. \section*{\texorpdfstring{13. Exact status}{13. Exact status}} \addcontentsline{toc}{section}{\texorpdfstring{13. Exact status}{13. Exact status}} \begin{itemize} \item \textbf{Proved, with the grade \guillemotleft{}pencil, audited, read cold\guillemotright{}:} the Main Theorem; Theorem D; Theorems O and F; Theorem DW and Corollary 1.4; Corollaries 1.5, 1.6 and 1.7. Their proofs were read cold as text in the first version of this text, which had one gap (Lemma 7.2(b)); the repair was read cold in its turn, and so were the changes of every later version (Appendix A). \item \textbf{Added in version 3, audited, read cold:} Lemma 7.9 in its new form (integrality of the fit), found and proved by the fourth reader, re-proved by the auditor, and re-derived by the fifth reader. \item \textbf{Numbered statements changed after the first version:} version 2 restated Lemma 7.2(b) and added the strictness of the cuts to the (Cut) of Theorem 7.8; version 3 strengthened Lemma 7.9, added the hypothesis \guillemotleft{}even\guillemotright{} to Lemma 10.6(a), and added the explicit quantifier \guillemotleft{}for every $L \ge 0$ and every floor $f$\guillemotright{} to Lemma 10.10. No other numbered statement changed in what it states; numbers, notation and typesetting changed. \item \textbf{Measured, not proved:} the turned lid (\S{}11, question 2), and the measurements of Remark (2) of \S{}10.5. \item \textbf{Checked in Lean 4 with Mathlib:} every proved result above and each numbered statement of \S{}2--\S{}10, with nothing cited; the certificate was read cold (\S{}12.3). \item \textbf{Not done:} a human referee. \end{itemize} No human expert has refereed any part of this work. The results are stated as theorems because every step has a written proof that was re-derived by readers other than its author, and because the whole proof has been checked in Lean. Neither is a substitute for refereeing. \section*{\texorpdfstring{Acknowledgements and use of AI}{Acknowledgements and use of AI}} \addcontentsline{toc}{section}{\texorpdfstring{Acknowledgements and use of AI}{Acknowledgements and use of AI}} The mathematics of this paper was developed with extensive use of Claude, an AI system made by Anthropic, working under the author's direction in separate roles: \begin{itemize} \item instances that proposed and wrote proofs, each from a written mission; \item instances that re-derived them step by step and ran their own checks; \item instances that read the chains, and then the whole text, cold, with no access to the audits (Appendix A). \end{itemize} The Lean proofs (\S{}12.3) were written by Aristotle, an AI system made by Harmonic [Har26], from pieces written from this paper. Instances of Claude wrote the pieces, audited what came back, compiled it on the author's machine, and read the certificate cold. The author directed the project and takes responsibility for the content. The work began on 2 October 2026 as a search, inside another project of the author, for open problems within reach of the same methods. The full record --- the missions, the reports, the audits, the cold readings, the engines and their logs, including the routes that failed --- is kept with the project and is available from the author. \section*{\texorpdfstring{Appendix A. How this work was done}{Appendix A. How this work was done}} \addcontentsline{toc}{section}{\texorpdfstring{Appendix A. How this work was done}{Appendix A. How this work was done}} \textbf{Writing and checking.} The proofs were found, family of statements by family of statements, by separate instances of an AI system working as \textbf{constructors}, each from a written mission and in a folder of its own (\guillemotleft{}flights\guillemotright{} 1 to 9, 3--5 October 2026). Each flight was then \textbf{audited} by a different instance, which re-derived every step in its own words, marked it CORRECT, GAP or ERROR, and ran its own engines (never the constructor's) with controls built to fail. A step went into the chain only after the audit. The chains and then the text were read by \textbf{cold readers}: further instances that never saw the audits, and wrote their own verdicts and their own code. Every computation ran under a watchdog with limits on memory and time, and every log is checked for its final line. \textbf{Readings.} \begin{itemize} \item \textbf{The Main Theorem} (flights 1--4: Theorems D, O, U, F and the integer fit). Audited flight by flight. Read cold on 4 October (cold reader 1), from the statements and the flights' reports, with no access to the audits: \textbf{\guillemotleft{}holds\guillemotright{}}, every link re-derived, with three remarks on presentation, applied in version 1. \item \textbf{Corollaries 1.5--1.7} (flights 5--6). Audited, with the auditor's own gates; read cold numerically by cold reader 1 ($n \le 64$), and as text with version 1 (below). \item \textbf{Theorem DW} (flights 6--9). Audited flight by flight. Read cold on 5 October (cold reader 2), with no access to the audits: \textbf{\guillemotleft{}holds\guillemotright{}}, with six remarks on presentation and a priority search, applied in version 1. \item \textbf{Version 1 of this text} was written by the auditor from the flights, the audits and the readings. Two parts were new in the writing: the proof of Theorem 6.2 by top bits, and the organization of \S{}10 around Theorems 10.12 and 10.15. It was read cold as a whole on 5 October 2026 (cold reader 3) by a reader with no access to the flights, the audits or the earlier readings, who re-derived every numbered statement and wrote its own code: \textbf{\guillemotleft{}holds with gaps\guillemotright{}}. It found one gap: the integer part of Lemma 7.2(b) is false as stated (the example in its proof), and it was used in Theorem 7.8 (step 1), Lemma 7.9, Theorem 7.10 and Proposition 9.6. No theorem is affected. Version 2 restates Lemma 7.2(b), adds strict (Cut) to Theorem 7.8 with its proof, and cites it at each use; this repair is the reader's, re-derived by the auditor and checked by machine (\S{}12.1). The reader also found that Remark (2) of \S{}10.5 stated more than had been measured, that the quotation of [Aky26] had been trimmed so as to change its meaning, that four entries of the verification record said more than the code did (the range of Theorem 6.2, the houses of Theorem 7.8 counted as house-checks, a control announced and not implemented in \texttt{gate\_\allowbreak{}dance.\allowbreak{}py}, and rows resting on code not printed), and about thirty points of presentation; all are corrected in version 2. \item \textbf{Version 2} repaired the gap. Its changes were read cold on 5 October 2026 (cold reader 4) by a reader with no access to the flights, the audits or the earlier readings, who re-derived every changed step, checked the repair on every house with $1 \le k \le 7$, $\alpha \le 3$ and against the Smith form of $M$ in 7 874 cells, and wrote its own code: the repair \textbf{holds}. It found one false sentence (Remark (2) of \S{}10.5 said \guillemotleft{}every payment system\guillemotright{} where Proposition 4.1 needs an even one; the author then found the same word missing in Lemma 10.6(a), harmless because its only use is for an even system), two rows of \S{}12.1 that said more than their code (zero shifts counted as shifts, and a range wider than the one run), a control that did not control the house check, and points of presentation, the main one being that the cases of the proof of Theorem 7.8 ran together in the pdf. It also found, with a two-line proof, that the fit of every house is integral, so the rounding of the integer fit never acts in this paper: the gap of version 1 was a gap of proof, never of conclusion. \item \textbf{Later versions.} Each later version made corrections asked for by the reading before it; version 4 also set the mathematics anew, and version 5 the page. No numbered statement changed in what it states after version 3 (\S{}13). The changes of each version were read cold by a new reader (cold reader 5 and each later one, from 5 October 2026), with no access to the flights or the audits, who checked every changed passage against the version before it, re-counted or re-ran with code of its own the numbers and checks it concerned, and looked at the pdf: at every page, or at the changed pages after comparing all the pages by image. None of these readings found a gap or an error in the mathematics. Between them, they found false or inexact sentences in this record and in \S{}12, points of presentation, and defects of typesetting. This summary replaces a version-by-version account; that account, the list of corrections of each version with its sources, every report and every grading are kept with the project. \end{itemize} \textbf{Formal verification.} From 6 to 10 October 2026 the proofs were checked in Lean 4 with Mathlib, in 68 pieces; a 69th piece, for the small cases, followed on 11 October 2026. The certificate was read cold on 11 October 2026, and so were the changes of its version 2, which adds the 69th piece (\S{}12.3, [LC26]). \section*{\texorpdfstring{References}{References}} \addcontentsline{toc}{section}{\texorpdfstring{References}{References}} \begingroup\small\setlist[itemize]{leftmargin=5.6em,labelwidth=5.2em,labelsep=0.4em,align=right} \begin{itemize} \item[{[ABERS55]}] M. Ayer, H. D. Brunk, G. M. Ewing, W. T. Reid, E. Silverman, An empirical distribution function for sampling with incomplete information, \emph{Ann. Math. Statist.} 26 (1955), 641--647. \item[{[Aky26]}] T. Akyar, A. Beliakov, K. Delchev, N. Kalinin, E. Lupercio, H. Serrano, M. Shkolnikov, D. Tabares, N. Terekhov, The 2-adic valuation of the order of the all-ones class in the sandpile group of a square, arXiv:2609.10625 (2026). \item[{[Bai03]}] H. Bai, On the critical group of the $n$-cube, \emph{Linear Algebra Appl.} 369 (2003), 251--261. \item[{[BBBB72]}] R. E. Barlow, D. J. Bartholomew, J. M. Bremner, H. D. Brunk, \emph{Statistical Inference under Order Restrictions}, Wiley, 1972. \item[{[Bie93]}] T. Bier, Remarks on recent formulas of Wilson and Frankl, \emph{European J. Combin.} 14 (1993), 1--8. \item[{[Big99]}] N. L. Biggs, Chip-firing and the critical group of a graph, \emph{J. Algebraic Combin.} 9 (1999), 25--45. \item[{[Cla40]}] T. Clausen, Lehrsatz aus einer Abhandlung \"uber die Bernoullischen Zahlen, \emph{Astron. Nachr.} 17 (1840), 351--352. \item[{[CSX17]}] D. B. Chandler, P. Sin, Q. Xiang, The Smith group of the hypercube graph, \emph{Des. Codes Cryptogr.} 84 (2017), 283--294; arXiv:1511.00272. \item[{[DEGJPP23]}] J. E. Ducey, L. Engelthaler, J. Gathje, B. Jones, I. Pfaff, J. Plute, Integer diagonal forms for subset intersection relations, arXiv:2310.09227 (2023). \item[{[DHS18]}] J. E. Ducey, I. Hill, P. Sin, The critical group of the Kneser graph on 2-subsets of an $n$-element set, \emph{Linear Algebra Appl.} 546 (2018), 154--168; arXiv:1707.09115. \item[{[DJ14]}] J. E. Ducey, D. M. Jalil, Integer invariants of abelian Cayley graphs, \emph{Linear Algebra Appl.} 445 (2014), 316--325; arXiv:1308.2335. \item[{[dMU21]}] L. de Moura, S. Ullrich, The Lean 4 theorem prover and programming language, in \emph{Automated Deduction --- CADE 28}, Lecture Notes in Computer Science 12699, Springer, 2021, 625--635. \item[{[Don93]}] S. Donkin, On tilting modules for algebraic groups and finite dimensional algebras, \emph{Math. Z.} 212 (1993), 39--60. \item[{[EL91]}] A. El-Amawy, S. Latifi, Properties and performance of folded hypercubes, \emph{IEEE Trans. Parallel Distrib. Syst.} 2 (1991), 31--42. \item[{[GMMY24]}] J. Gao, J. Marx-Kuo, V. McDonald, C. H. Yuen, Sandpile groups of Cayley graphs of $\mathbb{F}_{2}^{r}$, \emph{Comm. Algebra} 52 (2024), 4459--4479; arXiv:1912.06919v3 (cited by its numbering). \item[{[Har26]}] Harmonic, Aristotle, an AI system for mathematics, \url{https://aristotle.harmonic.fun} (2026). \item[{[Hum72]}] J. E. Humphreys, \emph{Introduction to Lie Algebras and Representation Theory}, Graduate Texts in Mathematics 9, Springer, 1972. \item[{[IKKY23]}] K. Iga, C. Klivans, J. Kostiuk, C. H. Yuen, Eigenvalues and critical groups of Adinkras, \emph{Adv. in Appl. Math.} 143 (2023), Paper No. 102450; arXiv:2202.02821. \item[{[Jan03]}] J. C. Jantzen, \emph{Representations of Algebraic Groups}, 2nd ed., Mathematical Surveys and Monographs 107, AMS, 2003. \item[{[Kli18]}] C. J. Klivans, \emph{The Mathematics of Chip-Firing}, CRC Press, 2018. \item[{[Kos66]}] B. Kostant, Groups over $\mathbb{Z}$, in \emph{Algebraic Groups and Discontinuous Subgroups}, Proc. Sympos. Pure Math. 9, AMS, 1966, 90--98. \item[{[Kum52]}] E. E. Kummer, \"Uber die Erg\"anzungss\"atze zu den allgemeinen Reciprocit\"atsgesetzen, \emph{J. Reine Angew. Math.} 44 (1852), 93--146. \item[{[Lar24]}] M. Larsen, Bounds for $\mathrm{SL}_{2}$-indecomposables in tensor powers of the natural representation in characteristic 2, arXiv:2405.16015 (2024). \item[{[LC26]}] R. Amichis Luengo, \emph{The Dancing Sand Theorem --- Lean certificate}, version 2, Zenodo (2026), DOI 10.5281/zenodo.23298436; all versions, concept DOI 10.5281/zenodo.23296707. \item[{[Lor91]}] D. J. Lorenzini, A finite group attached to the Laplacian of a graph, \emph{Discrete Math.} 91 (1991), 277--282. \item[{[LZ22]}] Y. Len, D. Zakharov, Kirchhoff's theorem for Prym varieties, with an appendix by S. Casalaina-Martin, \emph{Forum Math. Sigma} 10 (2022), Paper No. e11; arXiv:2012.15235. \item[{[mC20]}] The mathlib Community, The Lean mathematical library, in \emph{Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020)}, ACM, 2020, 367--381. \item[{[MGM19]}] J. Marx-Kuo, J. Gao, V. McDonald, The sandpile group of Cayley graphs, poster, Joint Mathematics Meetings, Baltimore, January 2019. \item[{[OEIS]}] The On-Line Encyclopedia of Integer Sequences, sequence A193134, accessed 5 October 2026. \item[{[RT14]}] V. Reiner, D. Tseng, Critical groups of covering, voltage and signed graphs, \emph{Discrete Math.} 318 (2014), 10--40; arXiv:1301.2977. \item[{[Str28]}] R. Strassmann, \"Uber den Wertevorrat von Potenzreihen im Gebiet der $p$-adischen Zahlen, \emph{J. Reine Angew. Math.} 159 (1928), 13--28. \item[{[TW21]}] D. Tubbenhauer, P. Wedrich, Quivers for $\mathrm{SL}_{2}$ tilting modules, \emph{Represent. Theory} 25 (2021), 440--480. \item[{[vSt40]}] K. G. C. von Staudt, Beweis eines Lehrsatzes, die Bernoullischen Zahlen betreffend, \emph{J. Reine Angew. Math.} 21 (1840), 372--374. \item[{[VZ24]}] M. Vetluzhskikh, D. Zakharov, Critical groups in harmonic abelian quotients, arXiv:2409.04629 (2024). \item[{[Wil90]}] R. M. Wilson, A diagonal form for the incidence matrices of $t$-subsets vs. $k$-subsets, \emph{European J. Combin.} 11 (1990), 609--615. \item[{[Yue24]}] C. H. Yuen, The critical groups of Adinkras up to 2-rank of Cayley graphs, \emph{Electron. J. Combin.} 31 (2024), Paper No. P1.38; arXiv:2301.02517. \end{itemize} \endgroup \end{document}