Reverse-Engineering Alpöge's Toy System
Most immediate responses to Levent Alpöge and Claude's November 20, 2026 Lean 4 proof of the Generalized Riemann Hypothesis work downward from the finished integer archive. Verification teams like leanprover-community/riemann-hypothesis refactor module boundaries to speed up builds while keeping the original structure intact; Anthropic's rewrite (lsernau/grh-lean) strips out 99,000 files of abelian varieties and Harder–Narasimhan slopes to compact the codebase down to ~300,000 readable lines and a ~76,000-line core. Independent expositors reading those archives similarly begin inside characteristic zero to reconstruct the final number-field proof.
Yet in the four-page note accompanying his announcement (remark.pdf), Alpöge turns away from the full automorphic apparatus toward a miniature model over finite fields.
"I had us on the line of combining two quite different ideas present in a toy setting, one of which was already new and shocking, making very simple one of the shadows of Riemann over which we mathematicians felt most triumph." —
remark.pdf, p. 1.
The released Lean archive itself (riemann-hypothesis-original) omits this prototype code and jumps straight to the number-field proof. In the public record, the finite-field seed survives in a single dense footnote on page 3 (fn. 3). That footnote states one double-sum identity, $qN = M^k + R$, over a path quadric $x_1 x_2 + \dots + x_{k-1} x_k$, paired with iterated Parseval energy bounds and opposite cohomological signs. Together, those components block eigenvalue cancellation without heavy curve geometry.
Blocking eigenvalue cancellation closes the central loophole in finite-field trace sums. Two large conjugate eigenvalues can pull in opposite directions, canceling down to a small total that masks massive terms underneath. Forcing every eigenvalue onto the same side of zero eliminates cancellation altogether; bounding the total immediately bounds every term. Classical proofs buy such sign alignment from algebraic varieties over $\mathbb{F}_q$ intersecting inside higher-dimensional ambient spaces. Since the ordinary integers $\mathbb{Z}$ offer no analogous spatial architecture, an integer proof has to run on elementary signs and Fourier bounds alone.
Inside remark.pdf, Alpöge's timeline opens on October 6, when he recognized a Stepanov-style determinant inside OpenAI's October paper on Landau–Siegel zeros. OpenAI's argument constrains values at target points only to order one, without forcing higher derivatives to vanish. Seeing that determinant extract prime factors even at multiplicity one pushed Alpöge to look for an automorphic substitute capable of high multiplicity over the integers.
Before stepping into the full proof over $\mathbb{Z}$, we assemble a finite-field testbed (AlpogeToy in ryanncode/tensor-sieve for Lean 4, and alpoge_toy in ryanncode/krein for Rust). Since remark.pdf states the finite-field seed in compact prose, building runnable solvers bridges the gap between the sketch and executable arithmetic. The workbench tests footnote 3's reduction from complete graphs to path quadrics alongside a finite $O(2, \mathbb{F}_p)$ Gram model and Stepanov multiplicity routines. Over $\mathbb{F}_q$, cyclic modular arithmetic supplies finite Fourier transforms and well-behaved algebraic derivatives. Stepping off $\mathbb{F}_q$ onto $\mathbb{Z}$ breaks both mechanisms; running the workbench in $\mathbb{F}_q$ lets us isolate the exact algebraic properties that an integer proof must rebuild.
1. Weil and Deligne Without Curve Geometry: $q^n N_{k,n} = M_n^k + R_{k,n}$
On page 2 of remark.pdf, Alpöge remarks that it became clear GRH would fall "when I had the $qN = M^k + R$ sign-only proof of Weil and Deligne." Footnote 3 on page 3 supplies the formula.
Alpöge invokes André Weil and Pierre Deligne because his double sum extracts their cohomological sign structure while discarding their curve geometry. In 1948, Weil proved the Riemann Hypothesis for curves by intersecting cycles on product surfaces ($C \times C$) and passing to Jacobians; a year later he formulated the Weil conjectures for varieties of every dimension over $\mathbb{F}_q$. In 1974, Deligne proved the decisive conjecture in "La conjecture de Weil. I" (Weil I), pinning down the alternating signs and weights in $\ell$-adic étale cohomology. Both frameworks depend natively on algebraic varieties over $\mathbb{F}_q$ and refuse transport onto the integers. Stripping the bound down to cohomological signs and Fourier sums leaves analytic components flexible enough to rebuild automorphically over $\mathbb{Z}$.
Begin at ground level with $p = 13$, counting pairs $(x, y) \bmod 13$ on the elliptic curve $y^2 = x^3 + x + 1$. Its unit coefficients carry no hidden complex-multiplication symmetries, and mod $13$ the curve stays nonsingular ($4a^3 + 27b^2 = 31 \not\equiv 0 \pmod{13}$). Feed in any $x$ from $0$ to $12$, and the right-hand side yields two square roots mod $13$ ($t(x) = +1$, two points), none ($t(x) = -1$, zero points), or a single root ($t(x) = 0$, one point when the right-hand side vanishes). If squares behaved like coin flips (two points half the time, zero the other half), you would average one finite point per $x$ plus one point at infinity, totaling $p + 1$. Summing $t(x)$ measures the curve's excess over random chance, its Frobenius trace:
$$M = \sum_{x \in \mathbb{F}_p} t(x) = N_p - (p + 1).$$
At $p = 13$, the curve has $18$ projective points against an expectation of $14$, leaving $M = +4$. Stepping up through extensions $\mathbb{F}_{q^n}$ starting at $q = p$, spectral theory assigns two conjugate eigenvalues $\alpha_1, \alpha_2$ to the curve with $M_n = -(\alpha_1^n + \alpha_2^n)$. The Riemann Hypothesis for this curve places both eigenvalues on the circle $|\alpha_i| = \sqrt{q}$, capping $|M_n|$ at $2\sqrt{q^n}$.
Pinning $|\alpha_i| \le \sqrt{q}$ with only signs and elementary Fourier sums requires transitioning from the single-variable trace $M_n$ to a $k$-variable quadratic coupling across all extension degrees $n \ge 1$. String $k \ge 2$ variables $x_1, \dots, x_k$ along a linear chain where each coordinate multiplies only its neighbors, forming the path quadric,
$$Q_k(x_1, \dots, x_k) = x_1 x_2 + x_2 x_3 + \dots + x_{k-1} x_k.$$
On Gauss-sum reciprocity covers of $\mathrm{GL}2$ (cited in footnote 3), pairwise couplings form the all-to-all complete graph $K_k(x) = \sum{i < j} x_i x_j$. Pruning all non-adjacent cross-edges leaves $Q_k$, letting Fourier transforms decouple one variable at each step. Evaluating both $K_3$ and $Q_3$ on $y^2 = x^3 + x + 1 \pmod{13}$ verifies that normalized Gauss sums remain unimodular ($|y_1| = 1.0$) while trimming the quadratic form collapses an exponential $q^k$ table into $k q^2$ chained single-variable transforms.
Over any extension $F = \mathbb{F}_{q^n}$ ($n \ge 1$) of size $q_n = q^n$, write $t$ for the weight $t_n$ at that level and $e(z)$ for the canonical additive character on $F$ (the complex exponential $e^{2\pi i z / p}$ when $F = \mathbb{F}_p$). Alpöge's finite-field proof evaluates one finite double sum in two opposite orders:
$$S_{k,n} = \sum_{h \in F} \sum_{x_1, \dots, x_k \in F} t(x_1)\cdots t(x_k), e!\bigl(h,Q_k(x_1,\dots,x_k)\bigr).$$
1.1. Summation Order 1 (Geometric): Sum Over Frequency $h$ First
Summing over the frequency $h \in F$ first turns the character $e(h \cdot z)$ into an indicator sieve. Whenever $z = 0$, every frequency contributes $+1$, totaling $q_n$; whenever $z \neq 0$, the phases cancel uniformly around the unit circle to zero. Every tuple with $Q_k(x_1, \dots, x_k) \neq 0$ drops out. What survives inside $k$-dimensional affine space $\mathbb{A}^k$ is the $(k-1)$-dimensional hypersurface $Q_k(x) = 0$, weighted at each point by $t(x_1)\cdots t(x_k)$. That leaves $S_{k,n} = q_n N_{k,n}$, where $N_{k,n}$ is the trace-weighted point count on the hypersurface.
The alternating sign $(-1)^{k-1}$ originates in cohomological degree accounting. Algebraic topology decomposes a $d$-dimensional space into homology or cohomology classes by degree: connected components in $r = 0$, loops in $r = 1$, cavities in $r = 2$, up to $r = 2d$. In Grothendieck and Deligne's $\ell$-adic trace formula, point counts sum Frobenius eigenvalues across every degree $r$, assigning each degree the alternating sign $(-1)^r$. To accommodate arithmetic weights $t(x_1)\cdots t(x_k)$ beyond bare point counts, Nicholas Katz and Ofer Gabber extended that alternating trace formula to $\ell$-adic trace sheaves.
Deligne isolates the single degree $r = k - 1$ using Lefschetz-pencil and Bertini theory. Viewing $\mathbb{A}^k$ with product weight $t(x_1)\cdots t(x_k)$ as a solid ambient space, sweeping a generic one-parameter pencil of hyperplanes $Q_k(x) = c$ guarantees by Bertini's theorem that fibers miss aligned singularities, leaving at worst isolated critical points. Comparing any slice against the ambient space $\mathbb{A}^k$ eliminates rigid terms: the weak Lefschetz theorem locks degrees below $k - 1$ to the rigid cohomology of $\mathbb{A}^k$, and Poincaré duality mirrors those rigid terms above $k - 1$. Background terms cancel, squeezing the hypersurface's own curved eigenvalues $\beta_j$ into middle degree $r = k - 1$. Every genuine hypersurface eigenvalue inside $N_{k,n}$ therefore carries the uniform sign $(-1)^{k-1}$.
Geometric slicing fixes the sign of the hypersurface eigenvalues in $q_n N_{k,n}$ while leaving their size unmeasured. Bounding magnitudes requires reversing the summation order.
1.2. Summation Order 2 (Harmonic): Separate $h = 0$ From $h \neq 0$
Reversing the order and summing the spatial coordinates first for each fixed frequency $h$ splits the sum in two: one constant mode where $h = 0$, and $q_n - 1$ oscillating modes where $h \neq 0$.
1.2.1. The Zero Mode ($h = 0$)
At $h = 0$, every phase $e(0 \cdot Q_k)$ freezes at $1$. Without a wave tying neighbors together, the $k$ variables decouple into $k$ independent copies of $\sum_{x \in F} t(x) = M_n$, yielding
$$T_{k,n}(0) = \left(\sum_{x \in F} t(x)\right)^k = M_n^k = (-1)^k \left(\sum_i \alpha_in\right)k.$$
1.2.2. The Oscillating Modes ($h \neq 0$): Iterated Parseval Bounds
Now fix any $h \neq 0$. An all-to-all coupling like $K_k$ would entangle all $k$ coordinates at once; because the path quadric connects only neighbors along a chain, the phase factors link by link:
$$e!\bigl(h, Q_k(x_1,\dots,x_k)\bigr) = e(h x_1 x_2), e(h x_2 x_3) \cdots e(h x_{k-1} x_k).$$
At $k = 3$, $x_1$ touches only $x_2$, and $x_3$ touches only $x_2$. That lets us evaluate the sum sequentially from left to right using one linear transfer operator $L_h$ acting on vectors $f \in \mathbb{C}^F$. Each step applies a finite Fourier transform $\mathcal{F}_h$ and then multiplies entry by entry by the curve weight $t$:
$$(L_h f)(y) = t(y), (\mathcal{F}_h f)(y), \qquad (\mathcal{F}h f)(y) = \sum{x \in F} f(x), e(h x y).$$
Measure a vector's size by its Euclidean $\ell^2$ norm, $|f|2 = \bigl(\sum{x \in F} |f(x)|2\bigr){1/2}$. Because $h \neq 0$, the rows of $\mathcal{F}_h$ are mutually orthogonal waves spanning $\mathbb{C}^F$. Parseval's identity scales Euclidean length by $\sqrt{q_n}$, giving $|\mathcal{F}_h f|_2 = \sqrt{q_n},|f|_2$. Multiplying pointwise by $t(y)$ cannot inflate the norm either, since $|t(y)| \le 1$. Every application of $L_h$ therefore scales $|f|_2$ by at most $\sqrt{q_n}$:
$$|L_h f|_2 \le \sqrt{q_n}, |f|_2.$$
Starting from the vector $t$ itself (whose $q_n$ entries sit within $\pm 1$, keeping $|t|_2 \le \sqrt{q_n}$) and iterating $L_h$ across all $k - 1$ links gives $|L_h^{k-1} t|_2 \le q_n^{k/2}$. At the final coordinate no coupling factor remains, so summing out $x_k$ pairs the last vector against the all-ones vector $\mathbf{1}$:
$$T_{k,n}(h) = \sum_{x_k \in F} (L_h^{k-1} t)(x_k) = \langle \mathbf{1}, L_h^{k-1} t \rangle.$$
Since $|\mathbf{1}|_2 = \sqrt{q_n}$, the Cauchy–Schwarz inequality ($|\langle u, v \rangle| \le |u|_2 |v|_2$) clamps every oscillating mode inside
$$|T_{k,n}(h)| \le q_n^{1/2} \cdot q_n^{k/2} = q_n^{(k+1)/2}.$$
Summing those $q_n - 1$ modes traps the remainder $R_{k,n} = \sum_{h \neq 0} T_{k,n}(h)$ inside $|R_{k,n}| \le q_n^{(k+3)/2}$. Every bound comes from linear algebra over $\mathbb{C}^F$ (Parseval conservation and Cauchy–Schwarz) without geometry. Equating both summation orders and restoring $q_n = q^n$ yields Alpöge's identity,
$$q^n N_{k,n} = M_n^k + R_{k,n}.$$
/-- Alpöge's finite-field identity `N * N_{k+1} = M^(k+1) + R_{k+1}`. -/
theorem alpoge_path_quadric_identity (t : ZMod N → ℂ) (k : ℕ) :
(N : ℂ) * quadricCount t k = (zeroMode t) ^ (k + 1) + remainderSum t k
This marks the first epistemic boundary in the workbench: PathQuadricParseval.lean machine-checks the double-sum identity, the Parseval discrepancy bound, and an interval-averaging lemma under Lean's standard axioms, while the cohomological sign $(-1)^{k-1}$ enters as an external geometric hypothesis.
Those two halves interlock:
- Summation Order 1 (Geometry) assigns a single cohomological sign $(-1)^{k-1}$ to every hypersurface eigenvalue inside $q^n N_{k,n}$, leaving magnitudes unbounded.
- Summation Order 2 (Fourier linear algebra) bounds the oscillatory remainder $|R_{k,n}| \le q_n^{(k+3)/2}$ via Parseval's identity and Cauchy–Schwarz, without curve geometry.
Combined in one equation, neither method carries the proof alone.
1.3. Why Matching Signs Block Cancellation, and Why One Field Is Not Enough
Move $M_n^k$ to the left-hand side,
$$q^n N_{k,n} - M_n^k = R_{k,n}.$$
Here the sign trick locks shut. Since $M_n^k$ carries degree-$k$ sign $(-1)^k$, moving it across the equals sign flips its polarity to $(-1)^{k-1}$, matching the middle-degree sign $(-1)^{k-1}$ inside $q^n N_{k,n}$. Bundling every extension level $n = 1, 2, 3, \dots$ into a generating power series gives
$$\sum_{n \ge 1} \bigl(q^n N_{k,n} - M_n^k\bigr), T^n = \sum_{n \ge 1} R_{k,n}, T^n.$$
In this generating series, every geometric term $\lambda^n$ stamps a pole on the complex plane at radius $T = 1/\lambda$. Opposite signs would allow a curve pole to hide behind a hypersurface pole and cancel out. Because every $k$-fold product $\alpha_{i_1}\cdots\alpha_{i_k}$ and every hypersurface term $q\beta_j$ carries the same sign, cancellation is impossible. Since the right-hand side converges for $|T| < q^{-(k+3)/2}$, no pole can lie inside that disk, forcing $|\alpha_i|^k \le q^{(k+3)/2}$. Taking $k$-th roots and sending the chain length $k$ to infinity pins every eigenvalue onto the circle:
$$|\alpha_i| \le q^{\frac{1}{2} + \frac{3}{2k}} \xrightarrow{k \to \infty} \sqrt{q}.$$
Running concrete curves in toy_field_oracle.py exposes why any single-field test ($n = 1$) fails to detect violations of fn. 3. Watch two observables across the table below: first, whether the prime trace $|M|$ exceeds the single-eigenvalue radius $\sqrt{p}$ (it has room up to the Hasse bound $2\sqrt{p}$); second, whether $pN_8$ matches $M^8$ in sign while $|R_8|$ stays far below its Parseval ceiling.
| Curve | $p$ | $M$ | $\sqrt{p}$ | $pN_8$ | $M^8$ | $\lvert R_8 \rvert$ Share |
|---|---|---|---|---|---|---|
| $y^2 = x^3 + x + 1$ | 13 | +4 | 3.61 | 162,253 | 65,536 | 7.8% |
| $y^2 = x^3 - x$ | 17 | -2 | 4.12 | 44,200 | 256 | 0.8% |
| $y^2 = x^3 + 2x + 1$ | 19 | +7 | 4.36 | 7,653,219 | 5,764,801 | 18.5% |
| $y^2 = x^3 + x + 1$ | 29 | +6 | 5.39 | -4,595,427 | 1,679,616 | 5.9% |
At $p = 19$ on $y^2 = x^3 + 2x + 1$, the single-field trace $M = +7$ exceeds $\sqrt{19} \approx 4.36$ well inside the two-eigenvalue allowance $2\sqrt{19} \approx 8.72$, and the same overshoot appears at $p = 13$ and $p = 29$. On $p = 19$ at $k = 8$, both $pN_8$ and $M^8$ stay positive while $R_8$ absorbs only $18.5%$ of its Parseval bound; on $p = 29$, $pN_8$ flips negative. Single-$n$ snapshots never isolate $|\alpha_i| \le \sqrt{p}$. Only non-cancellation across the full extension tower $n = 1, 2, 3, \dots$ locks every eigenvalue onto $\sqrt{p}$.
Over finite fields, $q^n N_{k,n} = M_n^k + R_{k,n}$ replaces curve intersection theory with cohomological signs and Fourier bounds, provided an infinite tower of extensions $\mathbb{F}_{q^n}$ prevents poles from canceling. Because the integers $\mathbb{Z}$ possess no analogous extension tower, Alpöge needed a second mechanism capable of extracting strong divisibility at high multiplicity.
2. Raising Multiplicity: From OpenAI Family 003 ($m = 1$) to Stepanov ($m \ge p$)
While $qN = M^k + R$ supplied the harmonic machinery, OpenAI's October 2026 mathematics release (openai/math, Result Family 003) prompted the search for high-multiplicity vanishing, as Alpöge notes on page 2 of remark.pdf.
"Similarly, their quiet inclusion of the Siegel argument, whose result was strictly dominated by the $(2, 3, 6)$-triangle group trick, again showed great taste; though I did not comment so publicly, I immediately recognized it as Stepanov without multiplicity..." —
remark.pdf, p. 2.
Most October commentary focused on the other preprint in Result Family 003, The Quasi-Riemann Hypothesis: A Zero-Free Half-Plane $\Re(s) > 7/8$, which uses cubic theta functions and analytic large sieves. Inspecting its companion manuscript, Uniform exclusion of Landau–Siegel zeros (SiegelZeros/Main.lean), explains why it sparked Alpöge's October 6 entries (Stepanov determinant, Bost slope inequality, and W(1_S) ≥ 0 via a determinant).
OpenAI's determinant argument operates inside a biquadratic number field. Suppose an anomalous real zero $\beta$ (a Landau–Siegel zero) lies close to $1$ for a quadratic Dirichlet character $\chi$ attached to an imaginary quadratic field $\mathbb{Q}(\sqrt{d})$. Analytic bounds then force nearly every small prime $p$ to satisfy $\chi(p) = -1$. Adjoining $\sqrt{2}$ steps up into the four-dimensional field $K = \mathbb{Q}(\sqrt{d}, \sqrt{2})$, governed by two sign-flipping automorphisms: $\sigma$ reverses $\sqrt{d}$, and $\tau$ reverses $\sqrt{2}$.
Pick integer coordinates $\mathbf{a} = (a_1, a_2, a_3, a_4)$ inside a box and form the algebraic integer $\theta_{\mathbf{a}} = a_1 + a_2\sqrt{d} + a_3\sqrt{2} + a_4\sqrt{2d}$. Whenever $\chi(p) = -1$, raising $\theta_{\mathbf{a}}$ to the $p$-th power mod $p$ erases cross terms and flips both square roots simultaneously, matching the Galois conjugate $g_p(\theta_{\mathbf{a}}) = \sigma\tau(\theta_{\mathbf{a}})$. At $d = -7$, $p = 13$, and $\mathbf{a} = (1,1,1,1)$, expanding $(1 + \sqrt{-7} + \sqrt{2} + \sqrt{-14})^{13} \bmod 13$ returns $1 - \sqrt{-7} - \sqrt{2} + \sqrt{-14}$.
OpenAI's proof packs rows of powers $\theta_{\mathbf{a}}{\alpha_1}\sigma(\theta_{\mathbf{a}}){\alpha_2}\sigma\tau(\theta_{\mathbf{a}})^{\alpha_3}$ into a large determinant $\Delta$, weighting exponents heavily toward $\alpha_1$. Replacing $\theta_{\mathbf{a}}^p$ with $g_p(\theta_{\mathbf{a}})$ subtracts only lower-weight rows, leaving $\Delta$ unchanged while extracting factors of $p^{\lfloor \alpha_1 / p \rfloor}$ at every prime with $\chi(p) = -1$. Balancing accumulated prime divisibility against Hadamard's bound on box volume forces $1 \le \frac{13}{16} + \frac{1}{16} = \frac{7}{8}$, establishing a contradiction distinct from the $\Re(s) > 7/8$ theorem.
That determinant stops at order one. Every row evaluates monomials at target points once, enforcing $\theta_{\mathbf{a}}^p - g_p(\theta_{\mathbf{a}}) \equiv 0 \pmod p$ without forcing an auxiliary polynomial and its first $m - 1$ derivatives to vanish at each point. In Stepanov's finite-field method, requiring multiplicity $m$ lets each point count $m$ times against the degree budget, scaling leverage $m$-fold. We adopt Wolfgang Schmidt's formulation using Hasse hyperderivatives (alongside Enrico Bombieri's $\mathbb{F}_{p^2}$ shortcut) specifically to track vanishing orders past $m = p$. Track the vanishing order $m$ across the three regimes below as it bridges OpenAI's order-one congruence to the characteristic-zero proof:
- Order $1$ ($m = 1$): $\mathbb{Z}[\sqrt{d}, \sqrt{2}]$ (OpenAI
003Siegel zeros)- Mechanism: Biquadratic evaluation determinant + Frobenius $\theta_{\mathbf{a}}^p \equiv g_p(\theta_{\mathbf{a}}) \pmod p$.
- Multiplicity: Extracts $\lfloor \alpha_1 / p \rfloor$ at order $1$; no high-order vanishing.
- Finite-field curve ($m \approx \sqrt{q}$): $\mathbb{F}_q$ curves (
AlpogeToy)- Mechanism: Auxiliary polynomial $\Phi$ vanishing to order $m$ via Hasse hyperderivatives.
- Multiplicity: Classical $1/k!$ breaks at $m = p$; Hasse hyperderivatives (via Lucas's theorem) hold for $m \ge p$.
- Integer CM tower ($m \sim \sqrt{X}$): CM towers over $\mathbb{Z}$ (Alpöge 2026)
- Mechanism: Chained unitary theta lifts $U(X_0) \to \dots \to U(X_m)$ + Bost slopes.
- Multiplicity: Simulates order-$m$ vanishing without differentiating integers.
2.1. Running Stepanov at Multiplicity $m \ge p$ in AlpogeToy
Stepanov's 1969 breakthrough clarifies what order-one determinants leave unused. 21 years after Weil proved the Riemann Hypothesis for curves via surface intersection theory, Sergei Stepanov constructed an elementary proof using a single auxiliary polynomial $\Phi(X, Y)$ forced to vanish to order $m \approx \sqrt{q}$ at curve points; weighing those forced zeros against the degree of $\Phi$ immediately traps the point count. Over a prime field $\mathbb{F}p$, $\sqrt{p}$ stays below $p$, permitting ordinary derivatives. Over extension fields $\mathbb{F}{p^n}$ where $\sqrt{q}$ overtakes $p$, ordinary differentiation fails. Enrico Bombieri condensed the proof over quadratic extensions $\mathbb{F}{p^{2a}}$ in a 1973 Bourbaki lecture using a Frobenius shortcut. Three years later, Wolfgang Schmidt (1976) handled general finite fields $\mathbb{F}{q}$ via Hasse hyperderivatives, the division-free algebraic Taylor operators formulated in 1937 by Helmut Hasse, Friedrich Karl Schmidt, and Oswald Teichmüller.
OpenAI's Landau–Siegel argument executes only the opening move of Stepanov's game (evaluating monomials in a determinant to force order-$1$ congruences) without forcing high-order vanishing. Pushing from $m = 1$ past $m = p$ exposes the modular calculus obstruction solved in 1937. Consider the $k$-th Taylor coefficient of $f(X) = X^5$ over $\mathbb{F}_5$: ordinary calculus divides the $k$-th derivative by $k!$, turning $5! = 120 \equiv 0 \pmod 5$ into division by zero. Taking $p$ ordinary derivatives kills every polynomial mod $p$, because any product of $p$ consecutive integers $n(n-1)\cdots(n-p+1)$ is divisible by $p$. Plain differentiation cannot distinguish a simple root from a $p$-fold root.
Hasse hyperderivatives ${D^{(k)}}_{k \ge 0}$ bypass repeated differentiation by defining $D^{(k)} f$ as the coefficient of $T^k$ in the polynomial shift by $T$:
$$f(X + T) = \sum_{k \ge 0} \bigl(D^{(k)} f\bigr)(X), T^k.$$
On monomials, $D{(k)}(Xn) = \binom{n}{k} X^{n-k}$, evaluating the binomial coefficient over the integers first (via Pascal's identity or Lucas's theorem) and reducing $\bmod p$ afterward; $D{(5)}(X5) = \binom{5}{5} X^0 = 1$ crosses $k = p$ without dividing by zero. More than isolated combinatorics, the ring homomorphism $X \mapsto X + T$ forms a complete calculus obeying a division-free Leibniz rule,
$$D^{(k)}(f g) = \sum_{i+j=k} D^{(i)}(f), D^{(j)}(g),$$
which handles implicit differentiation along curve equations such as $y^2 = x^3 + x + 1$. Crucially, vanishing of $D^{(0)}f(a), \dots, D^{(m-1)}f(a)$ matches $(X - a)^m \mid f$ identically for every multiplicity $m$, including $m \ge p$.
Here numerical search separates from proof checking. Inside multiplicity_solver.rs, two Rust solvers construct explicit finite-field witnesses: HasseHyperderivativeEngine operates algebraically on Weierstrass relations without scanning rational points, while FrobeniusWronskianEngine runs linear rank-nullity over the target subset $S_+$. Lean 4 then kernel-verifies those concrete witness certificates by decide inside CertificateSchema.lean.
- At $p = 29$ on $y^2 = x^3 + x + 1$ ($N_{29} = 36, |S_+| = 17$), combining degree-25 polynomials in $x$ with four Frobenius powers $1, x^{29}, x^{29\cdot 2}, x^{29\cdot 3}$ (whose lower derivatives vanish mod $29$) and requiring multiplicity $m = 6$ produces a $198 \times 200$ constraint matrix of rank $174$. Any vector in its 26-dimensional nullspace generates a degree-$138$ polynomial vanishing $6$-fold on $S_+$. That caps $|S_+| \le \lfloor 138/6 \rfloor = 23$ and recovers the Stepanov upper bound $N_{29} \le 50 < 59$;
ecP29_stepanov_bound_from_phiverifies the exact polynomial vanishing check viadecide +kerneland proves6 * |S_+| ≤ deg Φ ≤ 138withoutnative_decideor trusting boolean certificate flags. - Over the quadratic extension $\mathbb{F}{5^2}$ ($q = 25, p = 5$), the optimal vanishing order climbs to $m = 7 \ge p = 5$, yielding $|S+| = 13$, $\deg \Phi = 143$, and $N_{25} = 27 \le 44$. At $k = 5$,
HasseHyperderivative.leanproves the general vanishing of $k! \bmod p$ alongside the division-free Hasse Leibniz rule inside Lean 4. - In Anthropic's compressed archive (
grh/), Stepanov's polynomial zero-count (RootLemma.lean) shifts from elliptic curves to twisted-Hecke elementary divisors over finite local rings. InsideFrobeniusWronskian.lean, a companion Lean lemma formalizes that counting inequality over commutative rings under residue separation ($E \cdot |\text{ResidueField } W| \le \deg \Phi$), linking the $\mathbb{F}_q$ testbed to the local-ring step in the full proof.
Both finite-field methods are now in place. Path-quadric Fourier summation trades curve geometry for Parseval energy bounds and uniform signs, while Hasse hyperderivatives push vanishing multiplicity past $m \ge p$ once factorial denominators disappear. Yet both depend on polynomial rings over finite fields. Over $\mathbb{Q}$, polynomial differentiation disappears, forcing the integer proof to replace both tools using Weil representations and seesaw dual pairs.
3. Finite Weil Seesaw Duality and What Changes Over $\mathbb{Z}$
The third pillar behind remark.pdf rests on unitary representation theory. In a landmark 1964 Acta Mathematica paper ("Sur certains groupes d'opérateurs unitaires"), Weil showed how equipping a vector space with a quadratic form $Q_V$ induces a unitary representation (acting via Fourier-like transforms and quadratic phase shifts on $\mathbb{C}[V]$) over any local field, noting in footnote 2 that the construction carries over to finite abelian groups. During the 1970s, Roger Howe organized those constructions into reductive dual pairs $(G, H)$, pairs of symmetry groups acting inside one shared space whose representations mirror each other across a theta kernel $K$. In 1983, Stephen Kudla showed that nesting two dual pairs produces a seesaw identity: $\langle \Theta_\phi(f_1'), f_2 \rangle = \langle f_1', \Theta_\phi(f_2) \rangle$, swapping summation order so lifting forward with $K$ matches pulling back with its adjoint $K^*$.
Over finite fields $\mathbb{F}_q$, dual-pair symmetry acts on finite-dimensional vector spaces $\mathbb{C}[V(\mathbb{F}_q)]$ free of analytic convergence issues. Numerically, finite_theta.rs normalizes finite Weil Fourier and chirp matrices in Rust, checking unitarity to $< 10^{-11}$ and chained seesaw adjointness across multi-step lifts. Formally, FiniteWeilTheta.lean proves the algebraic single-step and two-step adjoint identities in Lean 4, establishes that Section 1's Parseval transfer step $\mathcal{F}_h$ matches a 1D finite Weil Fourier operator up to $\sqrt{p}$ scaling, and guarantees that finite Gram matrices $K^* K$ are positive semidefinite.
Testing the finite dual pair $O(2, \mathbb{F}_5) \times \mathrm{SL}_2(\mathbb{F}_5)$ inside finite_theta.rs verifies equivariance across all eight orthogonal isometries, computes a positive Gram determinant $\det(\Theta \Theta^*)$, and evaluates a discrete two-scale positivity window. At the same time, it demonstrates concretely why finite-field orthogonal lifts supply rank and energy bounds without producing $p$-adic congruence divisibility on their own.
Comparing what runs in AlpogeToy against the characteristic-zero Lean proofs (Alpöge's November 20 archive riemann-hypothesis-original and Anthropic's compressed editions) exposes three sharp breaks when moving onto $\mathbb{Z}$.
-
No finite-field extension tower $\mathbb{F}_{q^n}/\mathbb{F}_q$. Over $\mathbb{Z}$, Step 19 of
remark.pdfreplaces $\mathbb{F}_{q^n}/\mathbb{F}_q$ with an infinite cyclotomic $\mathbb{Z}_2$-tower calibrated by Behrend arithmetic-progression-free sets. -
No polynomial differentiation over $\mathbb{Q}$. Over the integers, no polynomial shift $X \mapsto X + T$ exists, eliminating Hasse hyperderivatives alongside ordinary calculus; the proof turns to elliptic curves endowed with complex multiplication (CM). In Nicholas Katz's $p$-adic theory (
Katz 1973, §2.0), Frobenius acts on translation-invariant curve derivations via $p$-fold iteration, sending $D \mapsto D^p = A(E,\omega) D$, where $A$ is the Hasse invariant. On ordinary curves ($A = 1$), iteration returns $D^p = D$. At an inert CM prime $p$, the curve's reduction mod $p$ becomes supersingular ($A = 0$), making its derivation $p$-nilpotent: $D^p \equiv 0 \pmod p$. Iterating $a$ times builds up prime divisibility $p^{\lfloor a/p \rfloor + \lfloor a/p^3 \rfloor + \dots}$ (checked numerically at $p = 7$ and $a = 100$, giving exponent $14$, insidefinite_theta.rs).To measure the effective degree of these non-polynomial lifts, Arakelov height-versus-divisibility bounds (Harder–Narasimhan and Bost slopes in the November 20 archive, tightened to a Gram-determinant product formula
OneDeterminantciting Bost 2001 in Anthropic's rewrite) weigh accumulated prime divisibility against complex lattice volume, letting $m \approx \sqrt{X}$ chained theta lifts act like order-$m$ derivatives. -
Differences between
remark.pdfand the compiled archives. Comparing the formalizations againstremark.pdfseparates the prose summary from the verified characteristic-zero route and clarifies what stays outside the finite-field toy.- Windowed positivity replaces explicit formulas. Page 3 of
remark.pdfcites Guinand–Weil (#5), yet the Lean archives contain zero Guinand references and rely on finite windowed Landau nonnegativity (landauWindow.leanin the November 20 archive, and a 26-lineIsPolarwindow bound in Anthropic's compact edition that bypasses the Prime Number Theorem), dispensing with opposite cohomological signs. - No sixfold $\mathrm{GL}_5$ cover. Mentioned in
remark.pdf(#3,#16), absent from the compiled Lean route. - Indefinite-to-definite stepping. Page 3 of
remark.pdfdescribes lifts "between totally definite unitary groups." In fact,Params.lean(andgrh-compact's signature chain) steps a mixed indefinite signature down to a positive-definite terminal form whose terminal rank sits one dimension above its dual partner (ranks $98$ and $97$ for parameters $(10, 4, 21)$, matching the signature-step identity proved inFiniteWeilTheta.lean). - Early October threads beyond the finite-field toy. Claude's reconstructed timeline in
remark.pdfstampsqN = M^k + Rat October 19 (following October 6's Stepanov and Bost entries), while footnote 3 traces $Q_k$ back to Gauss-sum reciprocity and page 3 credits a "multiplicity 2 on $O(2, n)$" determinant mirroringqN = M^k + R. Finite models inAlpogeToytest complete-graph path reduction alongside $O(2, \mathbb{F}_5)$ Gram determinants; bridging those components into CM $p$-adic congruence lifts belongs to characteristic zero beyond $\mathbb{F}_q$.
- Windowed positivity replaces explicit formulas. Page 3 of
4. Looking Upward From Finite Fields to the Full Proof
Working through the finite-field seed first clarifies the structure of the integer proofs before opening a single Lean file over $\mathbb{Z}$. Inside AlpogeToy, nothing rests on unproved spectral conjectures or higher set-theoretic universes: curve certificates reduce to decidable finite arithmetic over $\mathbb{Z}/p\mathbb{Z}$, and the double sums operate on finite-dimensional vectors. Two ways of slicing one finite sum ($q^n N_{k,n}$ versus $M_n^k + R_{k,n}$) lock together because finite geometry and unitary Fourier waves inhabit the same finite ambient space.
Step onto $\mathbb{Z}$, and $+1$ addition and prime factorization pull apart. After Anthropic's 154× compression removed 99,000 files of scaffolding on abelian varieties and resolutions from the November 20 release, every surviving subsystem in the 76,000-line compact proof still pays that characteristic-zero price: cyclotomic towers, congruences at inert CM primes, Arakelov determinant heights, $\sqrt{X}$ iterated theta lifts, and windowed positivity.
Together, those five pieces supply what Chebyshev's classical bound lacked. Using $n!$ to bound primes discards fractional parts at every prime division, leaving an error larger than the square-root scale required by the Riemann Hypothesis. Replacing factorials with linear maps between lattices sharpens that bound enough for Landau's positivity argument to exclude off-line zeros. Congruences on inert CM curves pack prime powers into those lattices, while chaining roughly $\sqrt{X}$ theta lifts keeps their volume tightly bounded.
For decades, establishing technical soundness was demanding enough that opaque prose passed as an acceptable tradeoff. Once formal verifiers externalize logical validity and AI-assisted systems synthesize machine proofs at scale (with Anthropic noting that even its compressed editions have "passed machine checks only" and "no mathematician has read it through, and no paper comes with it"), machine-checked syntax and transparent mathematical exposition serve complementary roles. Formal proofs lock down logical correctness; executable prototypes and human-scale derivations make the underlying structure intelligible.
5. Exploring the Code and Sources
Everything discussed above lives across two public repositories: ryanncode/tensor-sieve (Lean 4 formalizations including AlpogeToy, alongside Python diagnostics) and ryanncode/krein (Rust finite-field solvers and the interactive WebAssembly app).
Running It Yourself
For a zero-setup numerical walkthrough, run the Python oracle inside tensor-sieve to print curve counts, $qN_8 = M^8 + R_8$ tables, and $m \ge p$ threshold checks:
python3 scripts/toy_field_oracle.py
To compile and verify the full Lean 4 modules and Rust solver suite:
# In tensor-sieve
lake build
lake test
# In krein
cargo test
Module Index
Each topic pairs the machine-checked Lean 4 modules with executable Rust and Python diagnostics:
- Path quadric ($q^n N_{k,n} = M_n^k + R_{k,n}$) and Parseval bounds
- Lean 4:
PathQuadricParseval.lean - Rust / Python:
path_quadric.rs,toy_field_oracle.py
- Lean 4:
- Stepanov vanishing ($m \ge p$), Hasse hyperderivatives, and checked witnesses
- Finite Weil seesaw duality, inert CM exponents, and $O(2, \mathbb{F}_5)$ checks
- Lean 4:
FiniteWeilTheta.lean - Rust:
finite_theta.rs
- Lean 4:
Sources and Further Reading
- Levent Alpöge, Remark (
remark.pdf, Nov 20, 2026) and the unmodified Lean release (riemann-hypothesis-original) - Community cleanup repository (
leanprover-community/riemann-hypothesis) and Anthropic's Nov 25 compressed rewrite (lsernau/grh-lean:grh/andgrh-compact/) - OpenAI Result Family
003(lean/docs/003.md), including Uniform exclusion of Landau–Siegel zeros (SiegelZeros) and The Quasi-Riemann Hypothesis - Enrico Bombieri, "Counting points on curves over finite fields (d'après S. A. Stepanov)" (Séminaire Bourbaki Exp. 430, 1974), the shortest overview of Stepanov's method, running 9 pages and pairing the Frobenius-power shortcut over $\mathbb{F}_{p^{2a}}$ with Stepanov's original idea
- Wolfgang M. Schmidt, Equations over Finite Fields: An Elementary Approach (Lecture Notes in Math. 536, 1976, Chapter I), a full elementary finite-field proof without schemes that works out Hasse hyperderivatives and Stepanov's degree-multiplicity balance from scratch
- Rainer Schulze-Pillot, "Periods, Dual Reductive Pairs, and Seesaw Identities", surveying theta lifts, seesaw duality, Kudla's seesaw diagram, and the integration-swap identity in 13 pages, with its finite-abelian ancestor in André Weil's "Sur certains groupes d'opérateurs unitaires" (Acta Math. 111, 1964), where footnote 2 already flags the finite-group case