# Appendix E. Simultaneous Frobenius tests at the two type primes

Keep the fitted host and row of §1 and the lattice $M_n$ of Paper III (27b), with generic fibre $U\oplus W_n$ after the finite type projection and the length-$t$ removal. Set

$$
Y_0=(k_{\rm row}\exp(x^\varepsilon))^8,\quad Z=\log Y_0,\quad
D=\left\lfloor\frac{\sqrt Z}{\log(2Z)}\right\rfloor,\quad
T=\lceil x^{401}\rceil,\quad J=[E:\mathbb Q]T,\quad S=\lfloor Y_0^{1/4}\rfloor .
$$

Here $t\le T$, $\log(2J)=O_\varepsilon(\log(2Z))$, and $\log N=o(\sqrt Z)$, uniformly on the late windows with fixed $\varepsilon>0$. All products below range over rational primes $P\le S$. They are fixed before either type prime. The common split probe $Q=q_0$ of III and VI satisfies $Q\le N^{C}<Y_0^{1/4}$ eventually. It can be fixed using only the host and deformation primes. Both type characteristics differ from $Q$. The results use the all-element residual and split unramified comparisons on this same lattice. [Paper III, reading edition][III] · [Paper VI][VI] · [Canonical probe and level data][probe] · [Fitted local exclusions][local]

## E.1. Integral roots and small-discriminant fields

At any eligible unramified host place $v\mid P$ of degree $u$, suppose a marked part has distinct residual constituents $\bar\epsilon^{-s}$ for exponents $0\le s\le H$, where $1\le H\le T$. A matched place means the chosen $p$-adic coefficient place, extended to split the Frobenius polynomial and then restricted to the field of the particular root. With geometric Frobenius, the cyclotomic value is $P^{-u}$, so the reduced roots are $P^{us}$. Assume the roots are algebraic integers and every complex conjugate has modulus $P^{uH/2}$. These hypotheses hold with the fitted pure compatible system when the probe is unramified away from $P$ and its spherical crystalline comparison above $P$ has effective labelled jumps. Stable lattices give integrality away from $P$, and nonnegative crystalline slopes give integrality at the remaining coefficient places. [Polarized compatible systems and local comparison][BLGGT] · [Normalized fitted comparison][III]

For each $1\le d\le D$ put $X_d=\exp(2Z/[d(d+1)])$. At each $P$, $1\le h\le J$ and $0\le j\le J$, take the product of

$$
 \left|N_{\mathbb Q(\alpha)/\mathbb Q}(P^j-\alpha)\right|
 \tag{E.1}
$$

over distinct integral numbers $\alpha$ of complex modulus $P^{h/2}$ at every embedding, of degree $d\le D$ and absolute field discriminant at most $X_d$. Omit zero factors and take empty products to be one.

For a field of degree $d$ and absolute discriminant at most $X$, the product of real intervals and complex disks in the maximum embedding norm has volume $2^{r_1}\pi^{r_2}$. The integer lattice has covolume $2^{-r_2}\sqrt{\Delta}$ and first minimum at least one by the field norm. Minkowski's second theorem therefore bounds its last minimum by $\sqrt X$. Take $d$ independent integers of that size. To find a primitive element, use coefficient grid $\{0,\ldots,\binom d2\}^d$. Equality of any two embedding values cuts out a proper linear equation and excludes at most one slice's worth of grid points. The union occupies strictly less than the grid. The chosen element has embedding norm at most $d^3\sqrt X$. Counting the coefficients of its monic polynomial gives $\exp(O(d^2\log(2d)))X^{d(d+1)/4}$ fields up to isomorphism, with an absolute constant.

For a fixed field $\mathbb Q(\alpha)$, the element $P^h/\alpha=\bar\alpha$ is integral. Hence $(\alpha)$ divides $(P)^h$, giving at most $(dh+1)^d$ ideals. Two possible generators of one ideal at the same weight differ by a unit of absolute value one at every embedding. Its powers have bounded degree and bounded monic polynomial coefficients, so it is a root of unity. The number of roots of unity is at most $2d^2$, by $\varphi(w)\le d$ and $\varphi(w)^2/w\ge1/2$ for their group order $w$. Allow at most $d$ embeddings per field. The logarithm of each factor in (E.1) is at most $d\log(2P^J)$. At $X=X_d$ the field count is $Y_0^{1/2+o(1)}$, uniformly since $D^2\log(2D)=o(Z)$. All factors in the count and logarithmic size beyond the field count and the number of prime bases cost $Y_0^{o(1)}$. Thus the log of the product is at most $Y_0^{3/4+o(1)}$. [Minkowski's second theorem][Cassels]

At a matched place, a root of $P$-weight $h=uH$ reducing to $P^j=P^{us}$ within both field bounds forces the norm factor to be divisible by $p$ if nonzero. This argument allows $p$ to ramify in the root field. At either prime chosen below, the factor must therefore be zero, so $\alpha=P^{us}$ and purity gives $2s=H$. As the powers with exponents in $[0,J]$ have distinct residues by (E.4) below, the rational middle root has multiplicity at most one in the indicated part. In particular a root reducing to $1$ has degree $d>D$ or field discriminant with $\log\Delta>2Z/[d(d+1)]$. This test concerns the discriminant of the ring of integers of the individual root field.

## E.2. A height test on every label of the original exterior space

At $Q=q_0$ and either type characteristic, choose an exterior Hecke label of $W_n$. The original normalized arithmetic polynomial of Frobenius has the row's roots divided by the designated character $\chi_1$. The normalized residual representation contains the single trivial cyclotomic factor, also if the rank-$r$ factor contributes another Frobenius eigenvalue one. There is therefore at least one root $\beta$ reducing to $1$. Every root with this reduction can be tested. The all-embedding purity comparison in (27c) gives the modulus $Q^{(d-t)/2-i}$ for copy $0\le i<d$ of a part of length $d$. A part of length $d\ge2$ uses only the $t$ string factors by residual multiplicity, so $d\le t$. The length-$t$ removal defining $W_n$ gives $d<t$. Write $a=t-d+2i$, so $1\le a\le2t-3$ and

$$
 |\sigma(\beta)|=Q^{-a/2},\qquad
 \gamma=Q^a\beta^2,\qquad |\sigma(\gamma)|=1,\qquad
 \gamma\equiv Q^a\ \text{at the matched place}.
 \tag{E.2}
$$

The bound $a\le J$ uses $[E:\mathbb Q]\ge2$. The arithmetic root is a unit at the matched place. Possible denominators at the probe are allowed. These comparisons take place before the determinant, missing-weight and slope projections. [Paper III, (27b)–(27c) and the common split probe][III]

For any algebraic $\gamma$ with all complex moduli one, write $f(X)$ for its primitive irreducible polynomial of degree $d_\gamma$ and positive leading coefficient $A$. Its absolute logarithmic Weil height satisfies $\log A=d_\gamma h(\gamma)$ by the polynomial height formula. If $d_\gamma\le D$ and $d_\gamma(d_\gamma+1)h(\gamma)\le Z/2$, then $A\le\exp(Z/[2(d_\gamma+1)])$. Each coefficient has absolute value at most $2^{d_\gamma}A$ by the elementary symmetric formulas. Counting the $d_\gamma+1$ coefficients gives at most $\exp(Z/2+O(D^2+\log(2D)))$ polynomials across these degrees. [Polynomial Mahler measure and height][BG]

Take a second positive integer by multiplying the nonzero absolute values

$$
 |f(P^j)|\quad(0\le j\le J),\qquad
 |f^*(P^j)|\quad(1\le j\le J),\qquad f^*(X)=X^{d_\gamma}f(1/X)
 \tag{E.3}
$$

over these polynomials and all the prime bases. The logarithm of each value is bounded by $\log(d_\gamma+1)+d_\gamma\log 2+\log A+d_\gamma J\log P$. Thus the product also has logarithm at most $Y_0^{3/4+o(1)}$. A unit reduction $\gamma\equiv P^j$, $|j|\le J$, gives divisibility of the corresponding integer evaluation. This holds even when $p\mid A$, since the coefficients are integral and $P$ is a unit at $p$. Outside the divisors of the product the evaluation is zero, giving $\gamma=P^j$ in characteristic zero. Its complex modulus then forces $j=0$ and $\gamma=1$. In (E.2) one has $j=a>0$. Consequently **every** root reducing to one on every such exterior label satisfies

$$
 d_\gamma>D\quad\text{or}\quad d_\gamma(d_\gamma+1)h(\gamma)>Z/2 .
$$

For comparison, a normalized geometric root $\alpha$ reducing to $P^{us}$ gives $\gamma=\alpha^2/P^{uH}$ and $j=u(2s-H)$. Here a zero evaluation with $j=0$ yields $\alpha=\pm P^{us}$, and the residue at odd $p$ selects the positive sign. This second product needs no global integrality of $\alpha$.

For the height-zero case use a third integer

$$
 \prod_{P\le S,\ P\ {\rm prime}}\ \prod_{b=1}^{JS}(P^b-1).
 \tag{E.4}
$$

Its logarithm is $O(J^2 S^3\log(2S))=Y_0^{3/4+o(1)}$. At a selected prime this gives distinct powers up to $J$ and, for $0<|j|\le J$, order greater than $S$ for $P^j\bmod p$. Indeed an order $e\le S$ would give a divisor of $P^{|j|e}-1$. When $h(\gamma)=0$, $\gamma$ is a root of unity, by the product formula, integrality and the bounded powers argument. Reduction preserves its prime-to-$p$ order, since roots of order prime to $p$ have distinct reductions and the $p$-power part reduces to one. Thus for (E.2) the prime-to-$p$ order of $\gamma$ exceeds $Y_0^{1/4}$, without a degree hypothesis. In the geometric comparison with $j=0$, the order is one or a positive power of $p$.

For (E.2), let $L=\mathbb Q(\beta)$, write $n_w=[L_w:\mathbb Q_\ell]$ and use $v_w(\ell)=1$ at $w\mid\ell$. All archimedean contributions of $\gamma$ vanish. By the product formula its height is half the weighted sum of absolute finite logarithms, which gives

$$
 h(\gamma)=\log Q\sum_{w\mid Q}\frac{n_w}{[L:\mathbb Q]}
        |v_w(\beta)+a/2|
 +\sum_{\ell\ne Q}\log\ell\sum_{w\mid\ell}\frac{n_w}{[L:\mathbb Q]}
        |v_w(\beta)|.
 \tag{E.5}
$$

When $\beta$ is a unit away from $Q$, only the mean absolute deviation of the slopes over $Q$ contributes. Centered slopes over $Q$ alone leave the second term to be checked.

## E.3. The matched prime and complex conjugation

For any odd $M$ prime to $N$ with $\log M=o(\sqrt Z)$ uniformly, choose both type primes with $p\equiv1\bmod N$ and $p\equiv-1\bmod M$. In
 $F_M=\mathbb Q(\zeta_N)^+\mathbb Q(\zeta_M)$ their Frobenius is complex conjugation $c$. By the Chinese remainder theorem this is exactly the fixed field in $\mathbb Q(\zeta_{NM})$ of $c^{-1}\mathrm{Frob}_p=(-1,1)$. Thus $c$ preserves every prime over $p$ of $F_M$ and of its subfields. For a uniform example take the maximal divisor prime to $N$ of the least common multiple of $1,\ldots,\lfloor\sqrt Z/\log^2(2Z)\rfloor$. The factorial bound gives $\log M=O(\sqrt Z/\log(2Z))$.

More generally, the field of any pure root of modulus $P^{m/2}$ admits $c$ because $c(\alpha)=P^m/\alpha$. If $c$ preserves the restriction of the matched prime to this field, a residue in $\mathbb F_p$ is unchanged under its induced action. For the geometric root with residue $P^{us}$ one gets $P^{u(2s-H)}\equiv1\bmod p$, forcing $2s=H$ by (E.4). This controls the residue exponent. The equality of the root to the rational middle root in E.1 uses additional hypotheses. For (E.2), $c$ fixing the matched prime would give $1=\operatorname{red}(\beta c(\beta))=Q^{-a}$ in the residue field, impossible by (E.4). Hence $\mathbb Q(\beta)$ cannot be contained in $F_M$, and at its matched prime complex conjugation must exchange primes even if the root field ramifies there. In an unramified Galois field the test follows when $c$ is in the cyclic Frobenius subgroup. At a ramified prime the full decomposition group is relevant. The test concerns the restricted valuation on the root field, even when a larger coefficient field has different decomposition behavior.

## E.4. The ray class and both type-prime choices

Let $K=\mathbb Q(\sqrt{-d_{\rm h}})$ be VI's imaginary quadratic field for the norm-prime selection. Set $m=NM$. As the ramified primes of $K$ divide $N$, each factor of $M$ is split or unramified quadratic. The norm on local units is onto in either case. For the unramified quadratic case use surjectivity on residue units and then the residue trace at each higher unit step. The Chinese remainder theorem gives $z\in\mathcal O_K$ congruent to $1\bmod N\mathcal O_K$ with norm congruent to $-1\bmod M$. Its ideal defines a ray class $C$ modulo $m\mathcal O_K$. A prime ideal in $C$ has generator $zv$ for $v\equiv1$ locally at this modulus, and the generator is integral since its ideal is integral. The inverse ray class works using $z^{-1}$, with the same norm congruence. At degree one the generator has norm $p$ and meets VI's original norm-one congruence modulo $N$. [Released norm-one condition][norm] · [Type-prime selection][type]

Put $B_{\rm ray}=4d_{\rm h}m^2$ and let $h_m$ be the degree of the ray class extension over $K$. The ray exact sequence gives $h_m\le h_Km^2\ll B_{\rm ray}$ by Minkowski's imaginary-quadratic class bound. In Thorner–Zaman's Theorem 1.4 the abelian subgroup is the full group, and the conductor parameter is bounded by $B_{\rm ray}$ since the ray characters have conductor dividing $m\mathcal O_K$. With $X=Y_0$ and $X\le y\le2X$ the relative estimate has main term $h_m^{-1}F_C(y)$ and relative error $O(e^{-c_1\sqrt{\log X}})$, since $\log B_{\rm ray}=o(\sqrt{\log X})$. In the exceptional case $F_C(y)=\mathrm{Li}(y)-\chi(C)\mathrm{Li}(y^\theta)$ for the exceptional real character $\chi$ and zero $\theta$. The sign $+1$ of $\chi(C)$ gives the smallest derivative, including for the trivial character. Theorem 3.3 gives $(1-\theta)\log B_{\rm ray}\gg B_{\rm ray}^{-2}$, so $1-y^{\theta-1}\gg B_{\rm ray}^{-2}$ and $F_C'(y)\gg B_{\rm ray}^{-2}/\log X$. With no exceptional zero the same lower bound holds. The main increment $\gg X/(B_{\rm ray}^2\log X)$ absorbs the endpoint errors before division by $h_m$, since $F_C(y)\ll X/\log X$. Removing degree-two ideals and primes over the modulus and discriminant costs $O(\sqrt X+\log B_{\rm ray})$. Dividing by at most two ideals per rational prime leaves $\gg X/(B_{\rm ray}^3\log X)\ge Y_0^{9/10}$ candidates eventually. [Thorner–Zaman, Theorems 1.4 and 3.3][TZ]

Multiply the integers of (E.1), (E.3) and (E.4) with the descent integer of Appendix D. All factors depend only on the preselection data. The total logarithm is at most $Y_0^{3/4+o(1)}$, so among these candidates the number of prime divisors to delete is at most that logarithm divided by $Z$. Keep VI's excluded set $\mathcal B_r(g)=\{g\}\cup\{\ell:\ell^{4v_\ell(g^j-1)}>g^j\text{ for some }1\le j\le r\}$, with $\ell$ prime. It has at most $3r+1$ elements. For a fixed first choice and $\ell$ in its set, the $j$-th partner obstruction lies in at most $2j$ residue classes, modulo the least $\ell$-power greater than $Y_0^{j/4}$. Each class contains at most $1+Y_0^{3/4}$ candidates by the interval length. Including $g=\ell$, the partner count is at most $(3r+1)(1+2r^2(1+Y_0^{3/4}))$. The sum of the two deletions is less than $Y_0^{9/10}$ eventually since $r\le x^5$. This gives $g_0,g_1$ with disjoint excluded sets in the new class. The later level prime still uses the identity ray class modulo $N(g_0g_1)^2\mathcal O_K$ and VI's original short interval. The strengthened choice preserves the norm condition and complete splitting in $E$ for each type prime. [Paper VI][VI] · [Pinned partner count][partner] · [Descent integer](bounded-degree-descents.md#d3-one-integer-and-the-simultaneous-choice)

## E.5. Exact example and scope

Take $Q=13$, $a=1$, and $\beta=(-9-46i)/169$. Its complex norm is $1/13$, and at the prime over $5$ with $i=2$ it reduces to one. Its conjugate there reduces to $2=13^{-1}\bmod5$, because conjugation exchanges the two primes. The normalized $\gamma=13\beta^2$ has primitive polynomial $2197X^2+4070X+2197$. Thus $h(\gamma)=\tfrac12\log2197$ and the evaluation at $13$ is $426400$, divisible by $5$. The example illustrates the polynomial test on a nonintegral root and the need to restrict the matched prime. It is an arithmetic example independent of automorphic occurrence.

These simultaneous restrictions apply to roots on the actual fitted lattice, with further probe and integrality conditions where stated. They leave open upper bounds for surviving congruence depths and multiplicities in the weighted period index. No bound for that remaining index or proof of the Riemann hypothesis follows.

[III]: https://rstation.ai/r/riemann_hypothesis/posts/105#comment-5AXq2UtHIONSuCA-
[VI]: https://rstation.ai/problems/riemann_hypothesis/papers/198/v1
[probe]: https://github.com/Deicyde/riemann-hypothesis/blob/e7c8972c701d3396947808ab20cc16dc14623d33/src/Development/AutomorphicArithmetic/ShortNorms/levelData.lean#L36-L77
[local]: https://github.com/Deicyde/riemann-hypothesis/blob/e7c8972c701d3396947808ab20cc16dc14623d33/src/Formalism/SharpRestriction/LevelLetterCocycles/DataN.lean#L137-L150
[BLGGT]: https://arxiv.org/pdf/1010.2561v4#page=33
[Cassels]: https://doi.org/10.1007/978-3-642-62035-5
[BG]: https://doi.org/10.1017/CBO9780511542879
[norm]: https://github.com/Deicyde/riemann-hypothesis/blob/e7c8972c701d3396947808ab20cc16dc14623d33/src/Development/AbelianVarietyTheory/Definitions/Foundations/RayPrimes.lean#L40-L46
[type]: https://github.com/Deicyde/riemann-hypothesis/blob/e7c8972c701d3396947808ab20cc16dc14623d33/src/Development/AutomorphicArithmetic/ShortNorms/typePrimesN.lean#L78-L125
[TZ]: https://doi.org/10.2140/ant.2019.13.1039
[partner]: https://github.com/Deicyde/riemann-hypothesis/blob/e7c8972c701d3396947808ab20cc16dc14623d33/src/Development/AbelianVarietyTheory/Proofs/FoundationProofs/DivLeRpowThreeQuarters.lean#L142-L221
