Polyhedra, Moduli,
and Quantum Geometry

Web working edition

On this page
  1. 30.1 The normalized all-point discrepancy and the logarithmic loss
  2. 30.2 A rational-polygon comparison
  3. 30.3 An exact test independent of the leading coefficient
  4. 30.4 A quantitative row-crossing formula
  5. 30.5 Model flatness profiles and what they do not determine
  6. 30.6 An exact row diagnostic and its precision requirements
  7. 30.7 A trace diagnostic: historical report and new full campaign
  8. 30.8 A recent qualification of irrational flatness

30 Diagnosing the sharp remainder without fitting its main term

The alternatives for the sharp primitive remainder are not exhausted by LL and Llog⁡LL\log L. Strict convexity already gives the qualitative improvement o(Llog⁡L)o(L\log L), proved below, but supplies no effective intermediate rate. A normalized Möbius formula identifies a sufficient criterion for O(L)O(L). An exact dyadic inversion removes the leading area constant from the numerical test, and an inverse-flatness formula measures the contribution of a particular supporting row. Finally we describe the dyadic diagnostic using hyperbolic trace recursion on two tori. A new full campaign reproduces the supplied draft’s counts and rounded block values through length 81928192, with its own precision and provenance records; the historical implementation remains unrecovered. The proofs and the exploratory numerical observations are stated separately.

30.1 The normalized all-point discrepancy and the logarithmic loss

Let BB be a fixed convex body containing the origin in its interior. Rescale its gauge so that the shortest nonzero integer vector has gauge one; central symmetry is not needed in this subsection. Write a=Area⁡(B)a=\operatorname{Area}(B), A0(u)=#(uB∩(ℤ2\{0})),DB(u)=A0(u)−au2,A_0(u)=\#(uB\cap(\mathbb Z^2\setminus\{0\})),\qquad D_B(u)=A_0(u)-a u^2, and let PB(L)P_B(L) count primitive vectors. For M=⌊L⌋M=\lfloor L\rfloor, Möbius inversion gives the exact identity PB(L)−aL2/ζ(2)L=∑d≤Mμ(d)dDB(L/d)L/d−aL∑d>Mμ(d)d2.\frac{P_B(L)-aL^2/\zeta(2)}{L} =\sum_{d\le M}\frac{\mu(d)}d\, \frac{D_B(L/d)}{L/d} -aL\sum_{d>M}\frac{\mu(d)}{d^2}.(30.1) The cutoff is exact because A0(u)=0A_0(u)=0 for u<1u<1; boundary points at u=1u=1 are included. Moreover L∑d>Md−2≤L/M≤2L\sum_{d>M}d^{-2}\le L/M\le2 for L≥2L\ge2, so the final term is bounded uniformly. Thus the linear remainder problem is precisely a boundedness problem for the displayed Möbius-weighted harmonic sum. The prime number theorem alone does not bound it: the geometric weight DB(L/d)/(L/d)D_B(L/d)/(L/d) varies with both LL and dd.

For a convenient sufficient condition, put ωB(u)=supv≥u|DB(v)|v,u≥1.\omega_B(u)=\sup_{v\ge u}\frac{|D_B(v)|}{v},\qquad u\ge1. The elementary boundary estimate makes ωB\omega_B bounded, and it is nonincreasing. Absolute values in (30.1) give |PB(L)−aL2/ζ(2)|≤CBL(1+∫1LωB(u)duu).|P_B(L)-aL^2/\zeta(2)| \le C_B L\left(1+\int_1^L\omega_B(u)\,\frac{du}{u}\right).(30.2) Indeed, for d≤Md\le M, ∫L/(d+1)L/dωB(u)duu≥ωB(L/d)log⁡(1+1/d)≥ωB(L/d)2d,\int_{L/(d+1)}^{L/d}\omega_B(u)\frac{du}{u} \ge\omega_B(L/d)\log(1+1/d) \ge\frac{\omega_B(L/d)}{2d}, with the harmless interval below 11 treated separately. Consequently the Dini condition ∫1∞ωB(u)duu<∞\int_1^\infty\omega_B(u)\,\frac{du}{u}<\infty implies an OB(L)O_B(L) primitive remainder without any Möbius cancellation. With the prime number theorem, this improves to oB(L)o_B(L); see (31.4) below. In particular any all-point power saving DB(u)=OB(u1−η)D_B(u)=O_B(u^{1-\eta}), η>0\eta>0, suffices. Infinite graph-flatness does not logically exclude this route: for example a bound uexp⁡(−log⁡u)u\exp(-\sqrt{\log u}) has no fixed power saving but has an integrable normalized modulus.

Proposition 30.1 (A qualitative strict-convexity improvement). For every fixed strictly convex compact body B⊂ℝ2B\subset\mathbb R^2 containing the origin in its interior, DB(L)=oB(L),PB(L)−aζ(2)L2=oB(Llog⁡L).D_B(L)=o_B(L),\qquad P_B(L)-\frac{a}{\zeta(2)}L^2=o_B(L\log L). These statements supply no quantitative rate of little-oh convergence.

Proof. Fix a unit vector ν\nu and let wν(s)w_\nu(s) be the length of the chord B∩{x:x⋅ν=s}B\cap\{x:x\cdot\nu=s\}. Its support is an interval [aν,bν][a_\nu,b_\nu]. Convexity makes wνw_\nu concave, and strict convexity makes both extreme supporting chords singletons, so wν(aν)=wν(bν)=0w_\nu(a_\nu)=w_\nu(b_\nu)=0. A finite continuous concave function on a compact interval is absolutely continuous. Indeed, it is locally absolutely continuous, is monotone on either side of a maximum, and the integral of the absolute value of its monotone one-sided derivative on exhausting interior intervals tends to its total variation. Continuity at the endpoints then extends the fundamental theorem there. The zero extension therefore belongs to W1,1(ℝ)W^{1,1}(\mathbb R). Moreover ∥wν′∥1=2maxswν(s)≤2diam⁡(B).\|w_\nu'\|_1=2\max_s w_\nu(s)\le2\operatorname{diam}(B). Fubini and integration by parts give 𝟏B̂(rν)=ŵν(r),r𝟏B̂(rν)=12πiwν′̂(r)→0\widehat{\mathbf1_B}(r\nu)=\widehat w_\nu(r),\qquad r\widehat{\mathbf1_B}(r\nu) =\frac1{2\pi i}\widehat{w_\nu'}(r)\longrightarrow0 by the Riemann–Lebesgue lemma. The same formula gives the uniform bound |𝟏B̂(ξ)|≤CB/|ξ||\widehat{\mathbf1_B}(\xi)|\le C_B/|\xi|.

Fix a nonnegative smooth function ρϵ\rho_\epsilon of integral one, supported in the Euclidean disk of radius ϵ\epsilon. Choose r0>0r_0>0 with r0𝔻⊂Br_0\mathbb D\subset B, and put δ=ϵ/r0\delta=\epsilon/r_0. Convexity gives the pointwise sandwich 𝟏(L−δ)B*ρϵ≤𝟏LB≤𝟏(L+δ)B*ρϵ.\mathbf1_{(L-\delta)B}*\rho_\epsilon \le\mathbf1_{LB} \le\mathbf1_{(L+\delta)B}*\rho_\epsilon. For this fixed ϵ\epsilon, Poisson summation shows that either smoothed lattice count equals its area plus oB,ϵ(L)o_{B,\epsilon}(L): after division by LL, each nonzero-frequency term tends to zero, and the summable majorant is a constant times |m|−1|ρ̂ϵ(m)||m|^{-1}|\widehat\rho_\epsilon(m)|. The two areas differ from aL2aL^2 by OB(ϵL)+OB(ϵ2)O_B(\epsilon L)+O_B(\epsilon^2). Thus limsupL→∞|DB(L)|/L≤CBϵ.\limsup_{L\to\infty}|D_B(L)|/L\le C_B\epsilon. Letting ϵ↓0\epsilon\downarrow0 proves the first claim. It implies ωB(u)→0\omega_B(u)\to0, and logarithmic Cesàro averaging in (30.2) proves the second. ◻

The qualitative improvement excludes a fixed positive multiple of Llog⁡LL\log L along a subsequence, but still allows Llog⁡log⁡LL\log\log L, L(log⁡L)0.9L(\log L)^{0.9}, and many other intermediate scales. Quantitative control of ωB\omega_B, or signed cancellation between its Möbius blocks, is needed to reach OB(L)O_B(L).

30.2 A rational-polygon comparison

The intermediate scales cannot be dismissed merely because the O(Llog⁡L)O(L\log L) proof takes absolute values. For a rational polygon 𝒜\mathcal A that is star-shaped about the origin, Bárány, Martin, Naslund, and Robins prove E𝒜(L)=Ω±(Llog⁡log⁡L),E_{\mathcal A}(L) =\Omega_\pm\bigl(L\sqrt{\log\log L}\bigr), while their upper bound for every rational polygon is E𝒜(L)=O𝒜(L(log⁡L)2/3(log⁡log⁡L)4/3).E_{\mathcal A}(L) =O_{\mathcal A}\bigl(L(\log L)^{2/3} (\log\log L)^{4/3}\bigr). These are Theorems 1.4 and 1.2, respectively, on page 2 of the 31 July 2019 version (arXiv:1509.02201v2) of Primitive points in rational polygons [111]. The polygons have genuine straight sides. These results do not transfer to a strictly convex McShane–Rivin norm ball; they show why an unspecified arithmetic cancellation is not a proof of a linear error. Even the elementary square illustrates the relevant arithmetic: at integer N≥1N\ge1, #([−N,N]2∩ℤprim2)=8∑n=1Nφ(n).\#([-N,N]^2\cap\mathbb Z^2_{\mathrm{prim}}) =8\sum_{n=1}^N\varphi(n). There is also a numerical warning. Freezing a rational polygonal approximation to a strictly convex ball can introduce the polygon’s own totient fluctuations. A fixed area error δa\delta a contributes δaL2\delta a L^2; resolving a linear remainder requires area accuracy o(L−1)o(L^{-1}), together with control of points near the two boundaries. The trace enumeration below avoids replacing the norm ball by a polygon.

30.3 An exact test independent of the leading coefficient

Suppose N(L)/L2→cN(L)/L^2\to c, put E(L)=N(L)−cL2E(L)=N(L)-cL^2, and define Δ2N(L)=N(2L)−4N(L)=E(2L)−4E(L).\Delta_2N(L)=N(2L)-4N(L)=E(2L)-4E(L). Iterating the latter equality and using E(L)=o(L2)E(L)=o(L^2) gives E(L)=−∑j=0∞4−j−1Δ2N(2jL).E(L)=-\sum_{j=0}^\infty4^{-j-1}\Delta_2N(2^jL).(30.3) The series is understood as the limit of its telescoping partial sums; it is absolutely convergent under any of the bounds below. Consequently E(L)=O(L)⇔Δ2N(L)=O(L),E(L)=O(L)\quad\Longleftrightarrow\quad \Delta_2N(L)=O(L), and likewise E(L)=O(Llog⁡L)⇔Δ2N(L)=O(Llog⁡L).E(L)=O(L\log L)\quad\Longleftrightarrow\quad \Delta_2N(L)=O(L\log L). For example, if |Δ2N(u)|≤Cu|\Delta_2N(u)|\le Cu for every u≥Lu\ge L, then |E(L)|≤CL4∑j≥02−j=CL2.|E(L)|\le\frac{CL}{4}\sum_{j\ge0}2^{-j}=\frac{CL}{2}. These are asymptotic equivalences, not finite-computation certificates. They eliminate contamination by an inaccurately estimated value of cc.

If an estimated coefficient c̃=c+δc\widetilde c=c+\delta c is subtracted instead, then N(L)−c̃L2L=E(L)L−δcL.\frac{N(L)-\widetilde cL^2}{L} =\frac{E(L)}L-\delta cL. Thus a small coefficient error creates a growing normalized drift. The dyadic statistic removes this source of error exactly. It does not remove the possibility of rare large excursions beyond the computed range. For measurements over a block define M(T)=supT≤L≤2T|Δ2N(L)|L,Q(T)=(1T∫T2T|Δ2N(L)L|2dL)1/2.(30.4)\begin{aligned} M(T)&=\sup_{T\le L\le2T}\frac{|\Delta_2N(L)|}{L},\\ Q(T)&=\left(\frac1T\int_T^{2T} \left|\frac{\Delta_2N(L)}L\right|^2\mathop{}\!\mathrm dL\right)^{1/2}. \end{aligned} The first detects the largest computed excursions, while the second measures their contribution over the whole block. Between events at L=ℓγL=\ell_\gamma and L=ℓγ/2L=\ell_\gamma/2, Δ2N(L)\Delta_2N(L) is constant. Hence its normalized absolute value decreases between events, and the block supremum is determined by both one-sided event limits and the block endpoints. All events at the same location must be applied together; an arbitrary order of simultaneous positive and negative jumps can create spurious intermediate values. The left limit at the initial endpoint TT lies outside the block and is excluded. Its squared integral over such an interval [a,b][a,b] is exactly D2(1/a−1/b)D^2(1/a-1/b). A coarse integer mesh can miss narrow excursions.

30.4 A quantitative row-crossing formula

The exponent-one obstruction does not specify the slowly varying factor in the discrepancy. The local graph itself gives a more precise statement. Let B⊂ℝ2B\subset\mathbb R^2 be strictly convex, compact, and contain the origin in its interior. After an integral unimodular change of coordinates, suppose its unique top point is p=(α,h)p=(\alpha,h), with h>0h>0 and α/h∉ℚ\alpha/h\notin\mathbb Q. Assume that the upper boundary is a two-sided graph over an open interval about α\alpha, and write it as y=h−f(x−α),f(0)=0.y=h-f(x-\alpha),\qquad f(0)=0. For sufficiently small u≥0u\geq0, define the one-sided inverse widths ρ+(u)=sup⁡{s≥0:f(s)≤u},ρ−(u)=sup⁡{s≥0:f(−s)≤u},W(u)=ρ+(u)+ρ−(u),\begin{gathered} \rho_+(u)=\sup\{s\geq0:f(s)\leq u\},\qquad \rho_-(u)=\sup\{s\geq0:f(-s)\leq u\},\\ W(u)=\rho_+(u)+\rho_-(u), \end{gathered} where the suprema are restricted to the local graph interval. Strict convexity implies W(u)→0W(u)\to0 as u↓0u\downarrow0. The functions ρ±\rho_\pm, and hence WW, are concave on a sufficiently small interval: they are inverses of increasing convex functions vanishing at zero. No symmetry between the two sides of the graph is assumed.

Let PB(L)=#(LB∩ℤprim2),cB=Area⁡(B)ζ(2),EB(L)=PB(L)−cBL2.P_B(L)=\#(LB\cap\mathbb Z^2_{\mathrm{prim}}),\qquad c_B=\frac{\operatorname{Area}(B)}{\zeta(2)},\qquad E_B(L)=P_B(L)-c_BL^2.

Proposition 30.2 (Inverse flatness controls a primitive-row burst). Let nn tend to infinity through primes, put L=n/hL=n/h, and let δ=δ(L)>0\delta=\delta(L)>0 satisfy δ=o(L)\delta=o(L). Set T=L+δT=L+\delta. For all sufficiently large nn, the intersection of TBTB with the row y=ny=n is the interval with endpoints aT=Tα−Tρ−(hδT),bT=Tα+Tρ+(hδT).a_T=T\alpha-T\rho_-\!\left(\frac{h\delta}{T}\right),\qquad b_T=T\alpha+T\rho_+\!\left(\frac{h\delta}{T}\right). Its width is wn(δ)=TW(hδT).w_n(\delta)=T W\!\left(\frac{h\delta}{T}\right).(30.5) The number of primitive lattice points on this row is wn(δ)+O(1)w_n(\delta)+O(1), with an absolute rounding constant, and max⁡{|EB(L)|,|EB(L+δ)|}≥12[wn(δ)−cB(2Lδ+δ2)−2].\max\{|E_B(L)|,|E_B(L+\delta)|\} \geq\frac12\left[ w_n(\delta)-c_B(2L\delta+\delta^2)-2\right].(30.6) In particular, with δ=L−1\delta=L^{-1}, max⁡{|EB(L)|,|EB(L+L−1)|}≥L2W(h/L2)−OB(1).\max\{|E_B(L)|,|E_B(L+L^{-1})|\} \geq\frac L2W(h/L^2)-O_B(1).(30.7)

Proof. At scale L=n/hL=n/h, the row touches LBLB only at (Lα,n)(L\alpha,n). The first coordinate is irrational, so there is no lattice point there. At scale TT, the normalized row has height n/Tn/T and thus depth h−nT=hδTh-\frac nT=\frac{h\delta}{T} below the supporting line. Inverting the two sides of the graph gives the displayed endpoints. Since δ/T→0\delta/T\to0 and W(u)→0W(u)\to0, wn(δ)n=ThLW(hδT)→0.\frac{w_n(\delta)}n=\frac{T}{hL} W\!\left(\frac{h\delta}{T}\right)\longrightarrow0. Eventually wn(δ)<nw_n(\delta)<n. The number of integers in a closed interval of width ww differs from ww by at most one. Such an interval contains at most one multiple of the prime nn. Every other integer kk gives a primitive pair (k,n)(k,n). Therefore the row contains at least w−2w-2 and at most w+1w+1 primitive lattice points.

Since LB⊂TBLB\subset TB, all these points are new, while points elsewhere cannot disappear. Thus EB(T)−EB(L)≥wn(δ)−2−cB(T2−L2),E_B(T)-E_B(L) \geq w_n(\delta)-2-c_B(T^2-L^2), which implies (30.6).

For δ=L−1\delta=L^{-1}, set u0=h/L2u_0=h/L^2. Concavity and W(0)=0W(0)=0 give W(hL2+1)≥L2L2+1W(u0).W\!\left(\frac h{L^2+1}\right) \geq\frac{L^2}{L^2+1}W(u_0). Multiplying by T=(L2+1)/LT=(L^2+1)/L yields wn(L−1)≥LW(h/L2)w_n(L^{-1})\geq LW(h/L^2). The change in the quadratic main term is cB(2+L−2)c_B(2+L^{-2}), proving (30.7). ◻

The theorem remains useful without a model formula for ff. It measures the width of the graph at depth L−2L^{-2} and converts that width into a lower bound for the discrepancy. Infinite flatness implies, for every NN, a lower bound W(u)≫Nu1/NW(u)\gg_N u^{1/N} and recovers Proposition 29.1. A specified modulus yields a specified slowly varying factor. Figure 9 illustrates the passage from this local width to the new primitive points on a supporting row.

A flat supporting cap and a primitive-row burst
Figure 9. How a supporting cap becomes a primitive-row contribution. At the contact scale L=n/hL=n/h, the hypothesis α/h∉ℚ\alpha/h\notin\mathbb Q leaves the row empty. Increasing the scale to T=L+δT=L+\delta cuts an interval of width TW(hδ/T)TW(h\delta/T) from that row. When nn is prime and the width is smaller than nn, all but at most one of its integer points are primitive. The local profile and row spacing are schematic; the displayed width relation is exact.

30.5 Model flatness profiles and what they do not determine

For illustration, suppose the two-sided local graph satisfies f(s)≤Cexp⁡(−a|s|β),a,β>0,f(s)\leq C\exp\!\left(-\frac a{|s|^\beta}\right), \qquad a,\beta>0, for sufficiently small nonzero ss. Then W(u)≥2(alog⁡(C/u))1/β,W(u)\geq 2\left(\frac a{\log(C/u)}\right)^{1/\beta}, and (30.7) gives, along arbitrarily large prime-row contact scales, max⁡{|EB(L)|,|EB(L+L−1)|}≫B,a,βL(log⁡L)1/β.\max\{|E_B(L)|,|E_B(L+L^{-1})|\} \gg_{B,a,\beta}\frac L{(\log L)^{1/\beta}}.(30.8) If the graph has matching upper and lower estimates of this form, the row width itself has this order. This does not prove that the full discrepancy has exactly this order; other rows and other supporting directions can contribute.

Other infinitely flat local profiles give different slowly varying factors. For example, the symmetric model f(s)=exp⁡[−exp⁡(|s|−β)]f(s)=\exp[-\exp(|s|^{-\beta})] gives a row width of order L/(log⁡log⁡L)1/βL/(\log\log L)^{1/\beta}. The model f(s)=exp⁡[−(log⁡(1/|s|))γ],γ>1,f(s)=\exp[-(\log(1/|s|))^\gamma],\qquad\gamma>1, gives a width of order Lexp⁡[−(2log⁡L)1/γ].L\exp[-(2\log L)^{1/\gamma}]. These are convex for sufficiently small |s||s| and illustrate local possibilities. They are not asserted here to be the precise profiles of a hyperbolic torus norm ball.

For a strictly convex body, W(u)→0W(u)\to0. Consequently the single-row argument with a microscopic scale increment yields a quantity o(L)o(L), although it can exceed every fixed power L1−εL^{1-\varepsilon}. It neither proves a literal Ω(L)\Omega(L) lower bound nor distinguishes an O(L)O(L) global remainder from an O(Llog⁡L)O(L\log L) remainder. Its role is to quantify one geometric obstruction, rather than to identify the entire sharp remainder.

30.6 An exact row diagnostic and its precision requirements

For an arbitrary positive integer nn and a row interval [a,b][a,b], the primitive count is exactly #{k∈ℤ∩[a,b]:gcd⁡(k,n)=1}=∑d∣nμ(d)(⌊bd⌋−⌈ad⌉+1).\#\{k\in\mathbb Z\cap[a,b]:\gcd(k,n)=1\} =\sum_{d\mid n}\mu(d) \left(\left\lfloor\frac bd\right\rfloor -\left\lceil\frac ad\right\rceil+1\right).(30.9) In particular, it equals (b−a)φ(n)n+O(2ω(n)).(b-a)\frac{\varphi(n)}n+O(2^{\omega(n)}). The formula includes endpoints exactly. For prime nn and b−a<nb-a<n, the simpler absolute-error comparison with b−ab-a used above applies.

One can therefore record the local statistic Jn=PB,n(n/h+h/n),PB,n(T)=#{k∈ℤ:gcd⁡(k,n)=1,(k,n)∈TB},J_n=P_{B,n}(n/h+h/n),\qquad P_{B,n}(T)=\#\{k\in\mathbb Z:\gcd(k,n)=1,\ (k,n)\in TB\}, at prime nn. Since L=n/hL=n/h and h/n=L−1h/n=L^{-1}, the proposition gives Jn=(L+L−1)W(hL2+1)+O(1).J_n=(L+L^{-1})W\!\left(\frac h{L^2+1}\right)+O(1). This statistic needs no estimate of Area⁡(B)\operatorname{Area}(B); it tests the local flatness mechanism directly. It does require a verified lattice-rational supporting normal at an irrational radial point. Finding such a direction is a separate geometric step and is not automatic for an arbitrary fixed surface.

The height hh must also be known accurately. If h̃=h+e\widetilde h=h+e and |e|≤h/2|e|\le h/2, then the exact contact-scale error satisfies |nh̃−nh|=L|e||h+e|≤2L|e|h.\left|\frac n{\widetilde h}-\frac nh\right| =\frac{L|e|}{|h+e|}\le\frac{2L|e|}{h}. Resolving the window of width L−1L^{-1} therefore requires a height error small compared with hL−2hL^{-2}. Using a larger window relaxes this requirement but changes the depth sampled by (30.5) and increases the background main-term increment. The local statistic is consequently complementary to a global main-term-free discrepancy diagnostic; it does not replace one. In an implemented row count, the floor and ceiling operations in (30.9) also require certified endpoint comparisons with the relevant integers, or an explicit range of possible counts when those comparisons are unresolved. Agreement at two working precisions does not certify a transcendental height or endpoint.

30.7 A trace diagnostic: historical report and new full campaign

The count here is NX(L)N_X(L) for unoriented essential simple closed geodesics on a once-punctured torus, with the convention NX(L)=#{γ:ℓγ≤L}N_X(L)=\#\{\gamma:\ell_\gamma\le L\}. Each primitive pair (p,q)∈ℤ2(p,q)\in\mathbb Z^2 is identified with (−p,−q)(-p,-q), so this is half the signed primitive-vector count for the corresponding norm ball. A positive trace triple satisfies x2+y2+z2=xyz,x,y,z>2,x^2+y^2+z^2=xyz,\qquad x,y,z>2, and a Farey edge replaces zz by xy−zxy-z. The identification of Farey regions with simple curves and this edge relation are described in [112, Sections 1–2]. For the experiment take the reduced triples (x,y,z)=(3,3,3),(x,y,z)=(52,10−112,4).(x,y,z)=(3,3,3),\qquad (x,y,z)=\left(\frac52,\frac{10-\sqrt{11}}2,4\right).(30.10) The first is the modular torus; the second is an asymmetric example. Both satisfy 2<x≤y≤z≤xy/22<x\le y\le z\le xy/2.

Assign the root curves the slopes (1,0)(1,0), (0,1)(0,1), and (1,1)(1,1), respectively. The three open sectors between these roots enumerate every other unoriented primitive slope once by Farey mediants. In the negative-slope sector use the signed endpoints (1,0),(0,−1)(1,0),(0,-1); the other two sectors have endpoints (1,0),(1,1)(1,0),(1,1) and (0,1),(1,1)(0,1),(1,1). Canonical representatives have q>0q>0, with (1,0)(1,0) as the only representative at infinity. Sector endpoints are counted only as roots. After introducing an outward trace c≥max⁡(a,b)>2c\ge\max(a,b)>2, the two new traces are ac−bac-b and bc−abc-a, both strictly larger than cc. Therefore pruning a sector when its new curve exceeds the cutoff does not omit shorter descendants. Equal traces are retained with their curve multiplicities; they are not deduplicated. The hyperbolic length associated with trace xx is 2arcosh⁡(x/2)2\mathop{\mathrm{arcosh}}(x/2).

To avoid overflow the computation uses logarithmic traces. If ua=log⁡au_a=\log a, ub=log⁡bu_b=\log b, and uc=log⁡cu_c=\log c, then log⁡(ab−c)=ua+ub+log⁡(1−exp⁡(uc−ua−ub)).\log(ab-c)=u_a+u_b+ \log\bigl(1-\exp(u_c-u_a-u_b)\bigr). On the chosen outward edges the subtracted ratio is at most 1/21/2, so this computation avoids catastrophic cancellation. The supplied draft describes extended-precision arithmetic for this recursion and double precision for sorting the resulting lengths. That reported implementation was not included in the supplied materials. Both maintained replacement calculations below use binary64 logarithmic recursion, with separate multiprecision trace checks. Neither provides an interval certificate of every event location.

Historical report and reproduced printed values.

The supplied draft reports enumeration through hyperbolic length 81928192, obtaining 1819150818\,191\,508 curves for the modular torus and 1848611618\,486\,116 for the asymmetric torus. Such a cutoff permits evaluating the dyadic block statistics through T=2048T=2048, because the largest count used in a block is NX(4T)N_X(4T). The following selected values are retained verbatim from that report. The new full campaign below matches both integer counts and every displayed entry at four decimal places.

Modular torus Asymmetric torus
TT M(T)M(T) Q(T)Q(T) M(T)M(T) Q(T)Q(T)
32 2.1686 0.6015 0.8134 0.2734
128 1.1130 0.3501 0.5285 0.1494
512 0.7415 0.1697 0.3756 0.0950
2048 0.4342 0.0950 0.2492 0.0612

According to the supplied draft, the reported maxima use all computed length events, including the half-length events, rather than an integer mesh. It reports that an independent direct-trace computation at 100100 decimal digits reproduces all lengths through 6464 within 3.6×10−153.6\times10^{-15}, and thirty selected long recursion paths reaching lengths near 81928192 agree within 7.5×10−137.5\times10^{-13}. The latter include long repeated-twist paths. The same report states that every dyadic cutoff used for the integer counts is separated from the computed spectrum by at least 8.3×10−58.3\times10^{-5}.

It also describes a separate sensitivity calculation treating nearby events as having an unknown internal order and allows errors up to 10−610^{-6} in each event position. Over all blocks the resulting lower and upper bounds for M(T)M(T) differ by less than 7.1×10−77.1\times10^{-7}. This is a conditional sensitivity check, not a proof that every computed length has that error bound. The advertised source, full block table, precision report, and sensitivity tables were not found in the supplied archive or repositories. The new campaign reproduces the counts and rounded table entries, but does not recover that implementation, its selected precision comparisons, or its sensitivity construction. Those historical precision and sensitivity claims remain unverified historical reports. This edition does not claim that the original diagnostic archive accompanies the book.

The displayed finite-range normalized excursions decrease overall; they do not establish an asymptotic linear or sublinear bound. The modular torus was already singled out as a candidate for exceptional behavior in [16, Conjecture 4.3]. Neither example is asserted to have a verified lattice-rational supporting normal at an infinitely flat irrational point. Sparse resonances can occur beyond the tested range. The historical stability claims remain distinct from the new evidence.

A new full campaign through length 81928192.

The maintained recipe experiments/torus_campaign/run.py gives new counts 1819150818\,191\,508 and 1848611618\,486\,116 for the two ordered trace triples. It records every dyadic count and all ten blocks T=4,8,…,2048T=4,8,\ldots,2048 for each surface, including the full/half event sweep, both relevant one-sided limits and simultaneous multiplicities. The compact result artifacts/torus_campaign/result.json retains all twenty block rows, selected paths, residuals, conditional sensitivity rows and source/input identities. The recipe describes the separately hashed slope and sorted-length streams and their regeneration. The checkpoint docs/execution/counting-mixing-review-2026-11-01/ records independent review and final source/generation identities.

The full campaign is supported by a complete exact-trace comparison through length 6464, an independent direct-trace traversal and membership probes through 512512, and selected long-path references. The latter use 100100 and 140140 decimal digits on 151151 modular and 126126 asymmetric samples, including 3636 distinct curves near length 81928192 on each surface. The largest observed difference from binary64 is below 1.2×10−91.2\times10^{-9}; this is a sampled residual, not a bound at every node. Independent review additionally checked long samples by matrix words at 100100 and 160160 digits and recomputed every dyadic primitive and signed all-point count from the full stored length streams. Exact arithmetic on stored binary64 values does not certify membership or ordering for the true transcendental lengths.

The new sensitivity calculation gives exact rational envelopes for M(T)M(T) conditional on an error at most 10−610^{-6} in each listed length. Its maximum envelope widths across all ten blocks are below 1.232×10−61.232\times10^{-6} and 5.613×10−75.613\times10^{-7}, respectively. These conservative bounds differ from the historical reported construction and must not be substituted for its claimed width. Application to the complete true spectrum also requires completeness and exclusion of entry by omitted curves under perturbation. The sampled precision checks certify neither hypothesis. The result also records signed all-point counts and their dyadic differences, in hyperbolic length units, as used at the end of Section 31.

The frozen length-6464 predecessor.

The earlier recipe experiments/section30/run.py records a frozen calculation through length 6464 for the same two exact trace triples. It finds 11041104 modular and 11271127 asymmetric curves. This was the first bounded replacement experiment; its code, README and result retain their earlier bytes. Its complete slope list, exact traces, numerical lengths, and block statistics are recorded in artifacts/section30/result.json, with that run’s source identity and precision settings. Its block values are

Modular torus Asymmetric torus
TT M(T)M(T) Q(T)Q(T) M(T)M(T) Q(T)Q(T)
4 3.3289 1.4538 1.4983 0.7563
8 3.2433 1.2476 1.2352 0.4951
16 2.0238 0.8521 1.2246 0.3942

The check uses two enumerations. The first traverses the three sectors with logarithmic traces. The second evaluates exact trace polynomials for all primitive slopes in the box |p|≤160|p|\le160, 0≤q≤1600\le q\le160, using Euclidean Farey parents, without length-based pruning. This box suffices for these two fixtures: put v=log⁡(tr⁡/2)v=\log(\operatorname{tr}/2). The outward subtraction bound gives vc≥va+vbv_c\ge v_a+v_b, and each root has v≥log⁡(5/4)>1/5v\ge\log(5/4)>1/5. The corresponding sector weight is F=|p|+qF=|p|+q for p<0p<0, F=pF=p for p≥q≥0p\ge q\ge0, and F=qF=q for q≥p≥0q\ge p\ge0. Thus F≥max⁡(|p|,q)F\ge\max(|p|,q) and ℓ=2arcosh⁡(ev)>2v≥25F.\ell=2\mathop{\mathrm{arcosh}}(e^v)>2v\ge\frac25F. Every curve of length at most 6464 therefore lies in the stated box. There are 3122431\,224 primitive unoriented slopes in that box, including (1,0)(1,0). Equal traces retain all their distinct slopes.

The oracle uses rational arithmetic in ℚ(11)\mathbb Q(\sqrt{11}) for traces and evaluates lengths at 100100 and 140140 decimal digits. Opposite-signed algebraic coefficients are evaluated through the exact norm and the conjugate denominator to avoid subtractive cancellation. Both precisions select the same slopes as the logarithmic traversal; the length comparisons differ by less than 1.1×10−981.1\times10^{-98} between the two decimal precisions and by less than 1.1×10−131.1\times10^{-13} from the binary64 logarithmic calculation. These are observed residuals, not rigorous error enclosures.

The displayed metrics use the oracle lengths rounded to binary64. An event sweep is compared with direct counts on every event interval, including one-sided limits and simultaneous jumps. Comparing metrics from the logarithmic and exact-trace length calculations gives differences below 2.7×10−152.7\times10^{-15} for MM and 3.2×10−153.2\times10^{-15} for QQ. The recipe also supplies conservative rational bounds for MM, conditional on each stored length having error at most 10−1010^{-10}; it does not certify that error hypothesis. These bounds concern the fixed supplied curve list; application to the complete spectrum also assumes that no omitted curve can enter a block threshold under the perturbation. The full derivation and run instructions are in experiments/section30/README.md. This bounded check provides no long-range sensitivity bound and no asymptotic remainder theorem. The analytic arguments in this section have their own hypotheses and claim ledger; their validity does not follow from this finite computation.

30.8 A recent qualification of irrational flatness

Doan–Li–Nguyen’s preprint [113], version 3 dated 9 October 2026, states a Diophantine refinement of the irrational flatness statement. Its Theorem 4.7 on page 23 states that infinite graph-flatness holds precisely when the exponential rational-approximation exponent vanishes; superexponentially approximable irrational directions can have graph-flatness order only one. In slope coordinates the relevant vanishing criterion is limsup⁡j(log⁡qj+1)/qj=0\limsup_j(\log q_{j+1})/q_j=0, where qjq_j are continued-fraction denominators; Lemma 4.8 on pages 25–26 specifies the slope-coordinate normalization. The proposed local convexity mechanism is that a nearby rational corner can remain visible at a much smaller spatial scale than its exponentially small angle.

We have checked these statements against that pinned version, but have not independently audited its flatness proof or its global counting assertions. None is used as a proved input above. In particular, Propositions 29.1 and 30.2 retain their explicit flat-point hypotheses, and Proposition 30.1 uses only strict convexity. The preprint also continues to list the McShane–Rivin OX(Llog⁡L)O_X(L\log L) bound as the cumulative counting benchmark; its multiplicity estimate concerns exact length levels, a different question.