betaFeedback

WorksMathematics

Simultaneous quadratic probes: reconstruction thresholds and marked Poisson limits

Abstract

We observe a uniformly chosen integer in [X,2X)[X,2X) through the four Legendre symbols of n,n+1,3n+1,3n+2n,n+1,3n+1,3n+2 at each of kk randomly chosen distinct primes congruent to 33 modulo 88. Our main arithmetic estimate compares simultaneous collision probabilities with those of independent uniform words, in absolute mean at the critical scale. It includes tuples with deficient square-class rank and permits arbitrary deterministic binary labels fixed before the primes are sampled. We deduce a threshold at k=log⁡16Xk=\log_{16}X: below it by a diverging additive amount, optimal identification tends to zero uniformly over panels. In probability over the panel, the observation becomes independent of the label below the threshold, and the proportion of origins with a unique observation tends to one above it by a diverging additive amount. If X/16k→ρX/16^k\to\rho and the positive-label proportion tends to α\alpha, the empirical marked occupancy law converges in probability to independent Poisson laws of means ρα\rho\alpha and ρ(1−α)\rho(1-\alpha). Classical occupancy calculations then give explicit identification and prediction limits. For primes in (Y/2,Y](Y/2,Y] we treat log⁡log⁡X=o(log⁡Y)\log\log X=o(\log Y), log⁡Y=o(log⁡X)\log Y=o(\log X) by the quadratic large sieve, and Y=(log⁡X)AY=(\log X)^A, for each fixed A>2A>2, by a prime-character estimate under the generalized Riemann hypothesis for Dirichlet LL-functions. The independently checked zero theorem announced by Alpöge supplies this last hypothesis. The proof combines square-class separation, the quadratic large sieve and averaged exponentiation of prime-character estimates. For the quartic Liouville label, an existing bound on ordinary averages and fixed-ratio isotopy constrain its mark density outside a set of scales of logarithmic density zero.

What four quadratic observations determine

Fix a large integer XX. An unknown integer nn lies in

IX=[X,2X)∩N,∣IX∣=X.I_X=[X,2X)\cap\mathbb{N},\qquad|I_X|=X.

At a prime pp, we observe four quadratic residues or non-residues:

L1(n)=n,L2(n)=n+1,L3(n)=3n+1,L4(n)=3n+2.(1)L_1(n)=n,\qquad L_2(n)=n+1,\qquad L_3(n)=3n+1,\qquad L_4(n)=3n+2. \tag*{(1)}

If none of these values is divisible by pp, the observation is a word in Γ={−1,+1}4\Gamma=\{-1,+1\}^{4}, an alphabet with sixteen letters. A natural first guess is that kk such observations divide the XX candidate integers among 16k16^k possible words. This predicts a threshold near log⁡16X\log_{16}X observations.

The letters are not independent random bits. They are quadratic characters of four values attached to the same integer, and different integers can satisfy square-class relations. The question is whether these arithmetic dependences alter the predicted threshold or the occupancy law at that threshold. We prove that they do not, for the prime ranges specified below. The proof must control rare tuples with unusually large collision probabilities, as well as typical tuples.

We also attach a deterministic binary label fX(n)f_X(n) to each origin. The label is fixed before the observing primes are sampled; it may depend arbitrarily on nn and on XX. One example is

C(n)=∏i=14λ(Li(n)),λ(m)=(−1)Ω(m).(2)C(n)=\prod_{i=1}^{4}\lambda(L_i(n)),\qquad\lambda(m)=(-1)^{\Omega(m)}. \tag*{(2)}

Here Ω(m)\Omega(m) counts prime factors with multiplicity. Identifying an origin determines its label. Predicting a label can be easier: several origins with the same observed word may all have the same label. The critical law distinguishes these tasks.

The experiment and the two prime ranges

Let

PY={p:Y/2<p≤Y, p≡3(mod8)},M=∣PY∣.(3)\mathcal{P}_Y=\{p:Y/2<p\le Y,\ p\equiv3\pmod{8}\},\qquad M=|\mathcal{P}_Y|. \tag*{(3)}

Choose an ordered panel Π=(p1,…,pk)\Pi=(p_1,\ldots,p_k) uniformly without replacement from this set, independently of the unknown origin. The panel itself is known to the observer. Its order is only a convenient way of recording the observations. At a prime dividing at least one of the four forms, use a single erasure letter ∗* for the entire row. Thus

BΠ(n)j={((L1(n)pj),…,(L4(n)pj)),pj∤∏iLi(n),∗,pj∣∏iLi(n).(4)B_{\Pi}(n)_j= \begin{cases} \left(\left(\frac{L_1(n)}{p_j}\right),\ldots,\left(\frac{L_4(n)}{p_j}\right)\right), & p_j\nmid\prod_i L_i(n),\\ *, & p_j\mid\prod_i L_i(n). \end{cases} \tag*{(4)}

All decoders may use the full dictionary {(n,BΠ(n),fX(n)):n∈IX}\{(n,B_{\Pi}(n),f_X(n)):n\in I_X\}. No running-time restriction is imposed.

Throughout the paper one of the following assumptions holds:

(U) Unconditional range: log⁡log⁡X=o(log⁡Y)\log\log X=o(\log Y) and log⁡Y=o(log⁡X)\log Y=o(\log X).

(G) Polylogarithmic range under GRH: Y=(log⁡X)AY=(\log X)^A for a fixed A>2A>2, and the generalized Riemann hypothesis holds for Dirichlet LL-functions.

The two hypotheses identify the arithmetic input to each proof. For (G), the only zero statement used is that zeros in the open critical strip of Dirichlet LL-functions lie on its critical line. The Lean development announced on 20 November 2026 by Alpöge [1] includes this statement for every modulus and every Dirichlet character, as well as its primitive-character specialization. Sutherland [29 statements 3–5] and Rubinstein [28] document independent checks of the formal development. Invoking this external theorem gives the conclusions below throughout the stated polylogarithmic range. We keep its use explicit in Lemma 4.1. For example, Y=exp⁡((log⁡log⁡X)2)Y=\exp((\log\log X)^2) satisfies (U). The prime number theorem in the fixed residue class gives M∼Y/(8log⁡Y)M\sim Y/(8\log Y) in either range. All logarithms without a subscript are natural. On a discrete space we use dTV(μ,ν)=12∑x∣μ{x}−ν{x}∣d_{\mathrm{TV}}(\mu,\nu)=\frac{1}{2}\sum_x|\mu\{x\}-\nu\{x\}|. Write

k∗(X)=log⁡16X=log⁡2X4,αX=X−1∣{n∈IX:fX(n)=+1}∣.(5)k_*(X)=\log_{16}X=\frac{\log_2 X}{4},\qquad\alpha_X=X^{-1}|\{n\in I_X:f_X(n)=+1\}|. \tag*{(5)}

Convergence in probability below always refers to the choice of the panel. The origin is uniform on IXI_X when a conditional observation law or a success probability is defined.

Threshold and critical law

Theorem 1.1 (Reconstruction threshold). Assume (U) or (G), and let 0<k≤M0<k\le M be integers. For every deterministic sequence of labels fX:IX→{−1,+1}f_X:I_X\to\{-1,+1\} chosen before the panel, the following statements hold.

  1. If k−k∗(X)→−∞k-k_{*}(X)\to-\infty, then

dTV(LΠ(fX(n),BΠ(n)),L(fX(n))⊗LΠ(BΠ(n)))→P0.(6)d_{\mathrm{TV}}\left(\mathcal{L}_{\Pi}(f_X(n),B_{\Pi}(n)),\mathcal{L}(f_X(n))\otimes\mathcal{L}_{\Pi}(B_{\Pi}(n))\right)\xrightarrow{\mathbb{P}}0. \tag*{(6)}

Consequently the optimal label-prediction success probability is max⁡(αX,1−αX)+oP(1)\max(\alpha_X,1-\alpha_X)+o_{\mathbb{P}}(1). In addition, both the optimal identification success probability and the proportion of origins with a unique word tend to zero uniformly over all admissible panels.

  1. If k−k∗(X)→+∞k-k_{*}(X)\to+\infty, the proportion of origins whose observed word has exactly one preimage tends to 11 in probability. In particular, the optimal identification and label-prediction success probabilities tend to 11.

Here LΠ\mathcal{L}_{\Pi} means the law for a uniform origin conditional on the known panel.

In particular the two conclusions hold at any fixed relative distance below or above k∗k_{*}. The statement is for every label fixed in advance; it does not allow the label to be selected after inspecting the panel. The reconstruction statement concerns a uniform origin: above the threshold, the proportion of origins sharing their word with another candidate tends to zero in probability. Global injectivity would require distinct words for every pair of different origins in the catalogue, a stronger conclusion that is not asserted here.

For the Liouville label, the subcritical success probability is

1+∣C‾X∣2+oP(1),C‾X=1X∑n∈IXC(n).(7)\frac{1+\left|\overline{C}_X\right|}{2}+o_{\mathbb{P}}(1),\qquad\overline{C}_X=\frac{1}{X}\sum_{n\in I_X}C(n). \tag*{(7)}

No cancellation of this dyadic mean is assumed. § 9.1 bounds it on a set of scales of logarithmic density one.

For a word w∈Γkw\in\Gamma^k, let

NΠ,+(w)=∣{n∈IX:BΠ(n)=w, fX(n)=+1}∣,N_{\Pi,+}(w)=\left|\left\{n\in I_X:B_{\Pi}(n)=w,\ f_X(n)=+1\right\}\right|,
NΠ,−(w)=∣{n∈IX:BΠ(n)=w, fX(n)=−1}∣.N_{\Pi,-}(w)=\left|\left\{n\in I_X:B_{\Pi}(n)=w,\ f_X(n)=-1\right\}\right|.

Words with an erasure are not in Γk\Gamma^k. The probability measure

νΠ,X=116k∑w∈Γkδ(NΠ,+(w),NΠ,−(w))(8)\nu_{\Pi,X}=\frac{1}{16^k}\sum_{w\in\Gamma^k}\delta\left(N_{\Pi,+}(w),N_{\Pi,-}(w)\right) \tag*{(8)}

describes the occupancies of a word drawn uniformly from all non-erased words, including the unoccupied words.

Theorem 1.2 (Marked critical law). Assume (U) or (G). Along any sequence on which

ρX=X16k⟶ρ∈(0,∞),αX⟶α∈[0,1],(9)\rho_X=\frac{X}{16^k}\longrightarrow\rho\in(0,\infty),\qquad\alpha_X\longrightarrow\alpha\in[0,1], \tag*{(9)}

the empirical measure (8) converges in probability to the law of two independent random variables

Z+∼Pois⁡(ρα),Z−∼Pois⁡(ρ(1−α)).Z_+\sim\operatorname{Pois}(\rho\alpha),\qquad Z_-\sim\operatorname{Pois}(\rho(1-\alpha)).

The convergence holds in total variation on N02\mathbb{N}_0^2. For a uniform origin, let Uniq⁡Π,X\operatorname{Uniq}_{\Pi,X} be the probability that its word is unique, Id⁡Π,X\operatorname{Id}_{\Pi,X} the optimal probability of identifying the origin, and Pred⁡Π,X\operatorname{Pred}_{\Pi,X} the optimal probability of predicting its label. Then

Uniq⁡Π,X→Pe−ρ,(10)\operatorname{Uniq}_{\Pi,X}\xrightarrow{\mathbb{P}}e^{-\rho}, \tag*{(10)}
Id⁡Π,X→P1−e−ρρ,(11)\operatorname{Id}_{\Pi,X}\xrightarrow{\mathbb{P}}\frac{1-e^{-\rho}}{\rho}, \tag*{(11)}
Pred⁡Π,X→P12+12ρE∣Z+−Z−∣.(12)\operatorname{Pred}_{\Pi,X}\xrightarrow{\mathbb{P}}\frac{1}{2}+\frac{1}{2\rho}\mathbb{E}|Z_+-Z_-|. \tag*{(12)}

The choice of a uniform word in (1.8) and that of a uniform origin in (1.10)–(1.12) give different laws. An origin visits a word in proportion to its occupancy. This is why unique reconstruction and optimal identification have different limits. At ρ=1\rho= 1 they are approximately 0.367879 and 0.632121, respectively. If the label is balanced, the optimal prediction limit is approximately 0.836835. We derive these numbers in § 8. The integer-valued number of probes makes subsequences natural in (1.9).

Relation to earlier work

Prescribed quadratic-character signatures at several small primes have long been studied. Lehmer, Lehmer and Shanks [18] investigated integers with prescribed quadratic characters; pseudosquares provide a particularly well-studied signature. Pomerance and Shparlinski [20] obtained distribution results for pseudosquares and pseudopowers. Hanson, Vaughan and Zhang [11] studied least integers realizing prescribed Legendre-symbol vectors and their relation to binary quadratic forms. These works concern simultaneous observations at several primes, but do not study the empirical marked occupancy of a fixed dyadic catalogue under a randomly sampled panel.

A second relevant line obtains Poisson statistics by combining local conditions through the Chinese remainder theorem. Kurlberg and Rudnick [17] treated spacings between quadratic residues; Granville and Kurlberg [10] developed general criteria for Poisson spacing statistics; and Kurlberg [16] studied value sets of polynomials, including exceptional configurations in local correlations. These are antecedents for both the Poisson mechanism and the need to control failures of generic independence. The statistic and scale here require an additional comparison. At criticality, the panel modulus QΠ=∏j=1kpjQ_{\Pi} = \prod_{j=1}^{k} p_j satisfies

log⁡QΠlog⁡X∼log⁡Ylog⁡16⟶∞,\frac{\log Q_{\Pi}}{\log X} \sim\frac{\log Y}{\log16} \longrightarrow\infty,

so our fixed catalogue has length QΠo(1)Q_{\Pi}^{o(1)}. Averaging over a complete period modulo QΠQ_{\Pi} therefore does not describe this catalogue directly.

Nor does a uniform local factorization hold for every nonzero shift. For example, let Ωp+\Omega_p^+ consist of residues at which all four symbols equal +1+1. Character expansion and Weil’s bound give ∣Ωp+∣/p=2−4+O(p−1/2)|\Omega_p^+|/p = 2^{-4} + O(p^{-1/2}). The conditions for nn and n+1n+1 involve seven distinct affine factors, since L2(n)=L1(n+1)L_2(n) = L_1(n+1). Hence

1p#{n mod p:n,n+1∈Ωp+}=2−7+O(p−1/2),\frac{1}{p}\#\{n \bmod p : n,n+1 \in\Omega_p^+\} = 2^{-7} + O(p^{-1/2}),

whereas the product of the two densities has main term 2−82^{-8}. Thus the uniform local-correlation hypothesis in [10 Theorem 1] cannot be invoked directly for these four-form sets. Our collision argument treats the relevant arithmetic exceptions with their increased collision weights.

The limiting occupancy calculation is classical; see Barbour, Holst and Janson [2 Chapter 6, Section 6.2], and Boucheron, Gamboa and Léonard [6 Proposition 2.3] for an empirical occupancy law. The language of random maps on fixed inputs also connects the problem to universal hashing [7]. Pairwise universality alone does not imply a critical Poisson occupancy law: over Fq\mathbb{F}_q, the maps x↦ax+bx \mapsto ax+b with independent uniform a,ba,b have independent uniform outputs at any two distinct inputs, yet with probability 1−1/q1-1/q they permute the full catalogue Fq\mathbb{F}_q. As q→∞q \to\infty, its empirical occupancy law converges in probability to δ1\delta_1, rather than Pois⁡(1)\operatorname{Pois}(1). Higher simultaneous collisions are essential here. The subcritical independence from a fixed label is also related to privacy amplification [5] and the hashing lemma of Hástad, Impagliazzo, Levin and Luby [12 Lemma 4.8]. Those general principles do not themselves establish the required collision bounds for these Legendre panels.

The uniform square-class fibre bounds used below have direct antecedents in de la Bretèche, Wang and Xu [8 Lemmas 3.2–3.3], with the earlier inputs of Vaughan–Wooley and Evertse–Silverman specified alongside Lemma 3.2. We retain a proof adapted to the four forms. Pylaiev’s recent preprint [26 Theorem 1.5] gives fixed-order estimates for square products with squarefree polynomial values. Its squarefree-value condition does not apply directly to our raw product D(n)=n(n+1)(3n+1)(3n+2)D(n) = n(n + 1)(3n + 1)(3n + 2), which is always divisible by 4.

Other Poisson laws involving quadratic non-residues have a different source of randomness. Basak, Nath and Zaharescu [4 Theorem 1] study chains of small non-residues modulo a single large prime; Basak, Berndt and Zaharescu [3] study related distributions and partitions. The random multiplicative models in [21, 25] instead randomize signs at primes and count rare patterns. Here the candidate integers and their labels are fixed, and the panel is random. In particular, the marked limit for (1.2) preserves the actual label density and does not establish α=1/2\alpha= 1/2 or a new cancellation estimate for CC. In the prime-factor observation experiment of Pouly [23], the origin has harmonic weight and supplies the sampled prime factors. Here the origin has uniform weight and the panel is drawn independently of it. These different sampling laws lead to different decision limits.

The arithmetic contribution is the absolute averaged comparison of simultaneous collisions in Proposition 2.2. It is at the critical weighted scale, covers every fixed partition of origins into collision groups, and permits arbitrary prescribed labels. The treatment of deficient square-class rank in Proposition 5.1 and the averaged exponentiation in Lemma 6.1 supply the two main steps beyond the generic one-prime estimate. Neither the alphabet count 16k16^k nor the Poisson and decision formulas are claimed as new probabilistic mechanisms. The analytic inputs are Heath-Brown’s quadratic large sieve [13 Corollary 2], the GRH prime-character estimate in Montgomery–Vaughan [19 Theorem 13.7], and Weil’s finite-field character bound [31].

Section 2 isolates the collision estimate; Sections 3–6 prove it. Section 7 passes to the empirical marked law, and Section 8 derives the decisions and the full additive threshold.

The collision estimate behind the limit

It is convenient to work temporarily with binary observations even at primes dividing a form. Replace each zero Legendre symbol by +1+1, separately in the four columns, and write B~Π\widetilde B_\Pi for the resulting word in Γk\Gamma^k. This is an auxiliary convention. We first bound its effect and the effect of sampling with replacement.

Lemma 2.1 (Two reductions). For k=O(log⁡X)k = O(\log X), uniformly in every distinct panel, the number of origins at which BΠB_\Pi and B~Π\widetilde B_\Pi differ is

RΠ≪k(X/Y+1)=o(X).(13)R_\Pi\ll k(X/Y + 1) = o(X). \tag*{(13)}

An ordered independent sample of kk primes from PY\mathcal P_Y has a repetition with probability O(k2/M)=o(1)O(k^2/M) = o(1).

Proof. For p>3p > 3, each affine form has one zero modulo pp. A union bound over the four forms and the panel gives RΠ≪∑j≤k(X/pj+1)R_\Pi\ll\sum_{j \le k}(X/p_j + 1). Both prime ranges imply k/Y=o(1)k/Y = o(1) and k/X=o(1)k/X = o(1). The repetition bound is the union bound over pairs of sampled positions; M≍Y/log⁡YM \asymp Y/\log Y and (log⁡X)2/M=o(1)(\log X)^2/M = o(1). Conditional on having no repetition, an independent ordered sample has exactly the required panel law. □

Until Section 7, primes are sampled with replacement and the auxiliary binary convention is used. Fix v≥1v \ge1 and a partition G\mathcal G of {1,…,v}\{1,\ldots,v\} into b≥1b \ge1 nonempty groups. For an ordered tuple n=(n1,…,nv)\boldsymbol n = (n_1,\ldots,n_v), let qG(n)q_{\mathcal G}(\boldsymbol n) be the probability that a single random prime makes the four-bit observations agree within each group. No equality or inequality is imposed between different groups. Independence of the sampled primes makes the corresponding panel collision probability qG(n)kq_{\mathcal G}(n)^k.

If all four bits at all origins were independent and fair, this single-prime probability would be

q0=16−(v−b).(14)q_0 = 16^{-(v-b)}. \tag*{(14)}

The following averaged comparison is the central estimate. It is stronger than an unweighted assertion that most tuples have no square-class relation.

Proposition 2.2 (Averaged simultaneous collisions). Under (U) or (G), for every fixed partition G\mathcal G as above and every sequence k=log⁡16X+O(1)k = \log_{16} X + O(1),

∑n1,…,nv∈IXpairwise distinct∣qG(n)k−16−k(v−b)∣=o(Xb).(15)\sum_{\substack{n_1,\ldots,n_v \in I_X\\ \text{pairwise distinct}}} \left|q_{\mathcal G}(n)^k - 16^{-k(v-b)}\right| = o(X^b). \tag*{(15)}

All constants and errors may depend on the fixed partition, a fixed bound for ∣k−log⁡16X∣|k-\log_{16}X|, and, in (G), on AA. In (U) the error is understood along the chosen admissible function Y(X)Y(X). No error depends on the labels.

For two origins in one group, this compares pair collisions to 16−k16^{-k}. Higher occupancies require the same comparison for more origins. Concentration of the empirical occupancy law requires two groups. Keeping the absolute value in (15) permits arbitrary restrictions on the labels afterwards.

The scale of the right side matters. There are about XvX^v tuples, and at the critical scale a typical one has collision probability of order X−(v−b)X^{-(v-b)}. Their total contribution is therefore of order XbX^b. An exceptional family of size o(Xv)o(X^v) is not automatically negligible at this scale: its members may collide much more often. We control this weighted exceptional contribution in Section 5.

Square classes on a dyadic interval

For a positive integer mm, write sf⁡(m)\operatorname{sf}(m) for the unique squarefree positive integer such that m/sf⁡(m)m/\operatorname{sf}(m) is a square. Equivalently, sf⁡(m)\operatorname{sf}(m) represents the class of mm in Q>0/(Q>0)2\mathbb{Q}_{>0}/(\mathbb{Q}_{>0})^2. We need both an injectivity fact and a bound for less restrictive fibres.

Lemma 3.1 (Separation of two kernels). Each of the maps

n⟼sf⁡(n(n+1)),n⟼sf⁡(D(n)),D(n)=∏i=14Li(n),n \longmapsto\operatorname{sf}(n(n+1)), \qquad n \longmapsto\operatorname{sf}(D(n)), \qquad D(n)=\prod_{i=1}^{4}L_i(n),

is injective on IXI_X.

Proof. Suppose n(n+1)=dan2n(n+1)=d a_n^2. The class d=1d=1 is impossible for n≥1n\ge1, since n2<n(n+1)<(n+1)2n^2<n(n+1)<(n+1)^2. The number

βn=2n+1+2and\beta_n = 2n+1+2a_n\sqrt{d}

is a norm-one unit in Z[d]\mathbb{Z}[\sqrt{d}]. If m>nm>n has the same class, βm/βn=u+vd>1\beta_m/\beta_n=u+v\sqrt{d}>1 is another integral norm-one unit. Its rational part uu is odd and strictly greater than 1, so βm/βn≥3+22\beta_m/\beta_n\ge3+2\sqrt{2}. On the other hand,

βnn=(1+1+1n)2(16)\frac{\beta_n}{n}=\left(1+\sqrt{1+\frac{1}{n}}\right)^2 \tag*{(16)}

decreases with nn. Thus βm/βn<m/n<2\beta_m/\beta_n < m/n < 2 for two origins in the same dyadic interval, a contradiction.

For the second map, put xn=9n(n+1)+1x_n = 9n(n + 1) + 1. A direct identity gives

xn2−9D(n)=1.(17)x_n^2 - 9D(n) = 1. \tag*{(17)}

If D(n)=dan2D(n) = da_n^2, use the units xn+3andx_n + 3a_n\sqrt{d}. The case d=1d = 1 would give (xn−3an)(xn+3an)=1(x_n - 3a_n)(x_n + 3a_n) = 1, impossible for n≥1n \ge1. For two origins m>nm > n with the same class, the rational part of the quotient of their units is an integer u≡1(mod9)u \equiv1 \pmod{9}, and u>1u > 1. Hence u≥10u \ge10. The irrational part is positive, so multiplying back gives xm>10xnx_m > 10x_n. But m<2nm < 2n implies xm<4xnx_m < 4x_n.

The first assertion already implies that prescribing all four individual square classes specifies at most one origin in IXI_X. For the second map, Pouly [24 Lemma 3.1] proves a stronger separation: if m>nm > n and sf⁡(D(m))=sf⁡(D(n))\operatorname{sf}(D(m)) = \operatorname{sf}(D(n)), then m>6nm > 6n. Its proof uses the quotient of the associated units modulo 18. The quartic assertion also explains why the squarefree kernel of the full product is itself a rich observable; it is not the same observation as a fixed number of its quadratic signs.

Lemma 3.2 (Uniform kernel fibres). For every nonempty S⊆{1,2,3,4}S \subseteq\{1,2,3,4\}, set FS(n)=∏i∈SLi(n)F_S(n) = \prod_{i \in S} L_i(n). Uniformly over squarefree dd,

∣{n∈IX:sf⁡(FS(n))=d}∣{≪X1/2,∣S∣=1,≤Xo(1),∣S∣≥2.(18)\left|\{n \in I_X : \operatorname{sf}(F_S(n)) = d\}\right| \begin{cases} \ll X^{1/2}, & |S| = 1, \\ \le X^{o(1)}, & |S| \ge2. \end{cases} \tag*{(18)}

In the second line, for every ε>0\varepsilon> 0 there is a constant depending on $\varepsilon and the fixed forms, but not on dd, which bounds the fibre by that constant times XεX^\varepsilon.

For ∣S∣≥2|S| \ge2, these estimates are special cases of known uniform bounds for square classes of polynomial values. In the notation of de la Bretèche–Wang–Xu [8 Lemmas 3.2–3.3], take P=FSP = F_S, whose roots are distinct. For ∣S∣=2|S| = 2, their Lemma 3.2 with N=2XN = 2X gives OFS,ε(Xε)O_{F_S,\varepsilon}(X^\varepsilon) uniformly in dd. For ∣S∣≥3|S| \ge3, their Lemma 3.3 bounds the number of integral points on FS(x)=dy2F_S(x) = dy^2 by 2OFS(1+ω(d))2^{O_{F_S}(1+\omega(d))}. A nonempty fibre has d≪X4d \ll X^4, and then ω(d)≪log⁡X/log⁡log⁡X\omega(d) \ll\log X/\log\log X, so this is Xo(1)X^{o(1)}, uniformly in dd. The quadratic estimate is obtained there from Vaughan–Wooley [30 Lemma 3.5]; the higher-degree estimate follows from Evertse–Silverman [9 Theorem 1(b)]. We retain a proof adapted to the four affine forms, making explicit the fixed norm equations and the uniformity in the prescribed classes.

Proof. The first bound follows by writing Li(n)=du2L_i(n) = du^2. For the second, any prime greater than 3 divides at most one of the four values at a fixed origin: the determinants of two of the affine forms are nonzero and have no prime factor greater than 3. A prescribed class dd therefore allows at most

284ω(d)=Xo(1)2^8 4^{\omega(d)} = X^{o(1)}

assignments of the individual classes di=sf⁡(Li(n))d_i = \operatorname{sf}(L_i(n)), i∈Si \in S. The factor 282^8 bounds the parity choices at 2 and 3. For a nonempty fibre, d≪X4d \ll X^4, which makes this estimate uniform.

Fix one such assignment and two distinct indices i,j∈Si,j \in S. Write Li=ain+biL_i = a_i n+b_i, Lj=ajn+bjL_j = a_j n+b_j, and Li=diu2L_i = d_i u^2, Lj=djv2L_j = d_j v^2. Then

(aiLj+ajLi)2−4aiajdidj(uv)2=(aibj−ajbi)2=:cij>0.(19)(a_iL_j + a_jL_i)^2 - 4a_i a_j d_i d_j(uv)^2 = (a_i b_j - a_j b_i)^2 =: c_{ij} > 0. \tag*{(19)}

Here cij∈{1,4,9}c_{ij} \in\{1,4,9\} is fixed. If aiajdidja_i a_j d_i d_j is a square, integer factorization of (19) gives O(1)O(1) possibilities. Otherwise consider the algebraic integer

z=aiLj+ajLi+2uvaiajdidjz = a_iL_j + a_jL_i + 2uv\sqrt{a_i a_j d_i d_j}

in the associated real quadratic field. It has norm cijc_{ij}, so its principal ideal divides (cij)(c_{ij}). The number of such ideal divisors is bounded independently of the field: each of the finitely many rational primes dividing cijc_{ij} has at most two prime ideals above it, with bounded exponents. For a fixed principal ideal its generators differ by units. The two real embeddings relevant here lie between c/Xc/X and CXCX. Every real quadratic unit whose absolute value exceeds 1 has that absolute value at least (1+5)/2(1+\sqrt{5})/2: its trace is an integer, and its norm is +1+1 or −1-1. There are consequently O(log⁡(2X))O(\log(2X)) possible generators. The rational part of zz is an affine function of nn with nonzero slope, so each generator specifies at most one origin. Multiplying by the number of class assignments proves the claim.

Prime-character estimates in the two ranges

Put H=log⁡XH=\log X, and, for squarefree d≥1d\geq1, define

bY(d)=1M∑p∈PY(dp).(20)b_Y(d)=\frac{1}{M}\sum_{p\in\mathcal{P}_Y}\left(\frac{d}{p}\right). \tag*{(20)}

The classes 1 and 2 must be retained separately: bY(1)=1b_Y(1)=1 and bY(2)=−1b_Y(2)=-1. In (G), all other classes of polynomial size have small averages. In (U), the large sieve leaves a set of exceptional classes of subpolynomial cardinality.

Lemma 4.1 (Uniform estimate under GRH). In range (G), for every fixed C>0C>0, uniformly for squarefree d≤XCd\leq X^C with d∉{1,2}d\notin\{1,2\},

∣bY(d)∣≪CHlog⁡YY.(21)|b_Y(d)|\ll_C\frac{H\log Y}{\sqrt{Y}}. \tag*{(21)}

In particular one may fix s\in(0,1)\), *depending on*A$, such that the right side is OC(H−s)O_C(H^{-s}).

Proof. The symbol (d/p)(d/p) is the value at pp of the real primitive character with fundamental discriminant dd or 4d4d. Expand the condition p≡3(mod8)p\equiv3\pmod{8} in the four characters modulo 8. None of the resulting products is principal unless d=1d=1 or 2. Their moduli are O(XC)O(X^C). Under Dirichlet GRH, [19 Theorem 13.7, equation (13.21)] gives, for a nonprincipal character modulo qq,

∑p≤yχ(p)≪ylog⁡(qy).\sum_{p\leq y}\chi(p)\ll\sqrt{y}\log(qy).

The statement includes imprimitive characters. Apply it at YY and Y/2Y/2 to each product character and divide by M≍Y/log⁡YM\asymp Y/\log Y. Since log⁡Y=o(H)\log Y=o(H), this proves (21). Any fixed 0<s<min⁡(1,A/2−1)0<s<\min(1,A/2-1) is admissible after increasing XX.

Lemma 4.2 (Few exceptional classes without GRH). In range (U), for every fixed C>0C>0, the set

EC={d≤XC:d squarefree, ∣bY(d)∣>H−2}∪{1,2}(22)\mathcal{E}_C=\{d\leq X^C:d\ \text{squarefree},\ |b_Y(d)|>H^{-2}\}\cup\{1,2\} \tag*{(22)}

has cardinality Xo(1)X^{o(1)}.

Proof. We use the version of the quadratic large sieve that permits non-squarefree coefficients. If S(Q)\mathcal{S}(Q) is the set of real primitive characters of conductor at most QQ, then Heath-Brown [13 Corollary 2, p. 238] proves

∑χ∈S(Q)∣∑m≤Namχ(m)∣2≪ε(QN)ε(Q+N)∑m1,m2≤Nm1m2 a square∣am1am2∣.(23)\sum_{\chi\in\mathcal{S}(Q)} \left|\sum_{m\leq N}a_m\chi(m)\right|^2 \ll_{\varepsilon}(QN)^\varepsilon(Q+N) \sum_{\substack{m_1,m_2\leq N\\m_1m_2\ \text{a square}}}|a_{m_1}a_{m_2}|. \tag*{(23)}

The form of the last sum is essential because prime factors will repeat. Set t=⌈CH/log⁡Y⌉t = \lceil CH / \log Y \rceil, and expand (∑p∈PYχ(p))t\left(\sum_{p\in\mathcal{P}_Y} \chi(p)\right)^t as a Dirichlet polynomial of length N=⌊Yt⌋N = \lfloor Y^t \rfloor. Its coefficient at mm counts ordered tt-tuples of primes with product mm. The square-product sum in (23) counts 2t2t prime positions in which every prime occurs an even number of times. Pairing equal occurrences bounds it by (2t−1)!! Mt≤(2t)tMt(2t-1)!!\,M^t \le(2t)^t M^t. Different positive squarefree dd induce different real primitive characters of conductor at most 4XC4X^C. Markov’s inequality and (23) yield

∣EC∣≪ε,C(XCYt)ε(XC+Yt)(2tH4M)t+2.(24)|\mathcal{E}_C| \ll_{\varepsilon,C} (X^C Y^t)^\varepsilon(X^C+Y^t)\left(\frac{2tH^4}{M}\right)^t+2. \tag*{(24)}

Now XC≤Yt≤XCYX^C \le Y^t \le X^C Y and M≍Y/log⁡YM \asymp Y/\log Y. The factor YtY^t in XC+YtX^C+Y^t is cancelled by the corresponding factor in MtM^t. The remaining logarithm, apart from the ε\varepsilon-factor, is at most

OC(tlog⁡(2tH4log⁡Y))=o(H).O_C\bigl(t\log(2tH^4\log Y)\bigr)=o(H).

Indeed, log⁡H=o(log⁡Y)\log H=o(\log Y) and log⁡Y=o(H)\log Y=o(H). Thus (24) is at most X2Cε+o(1)+2X^{2C\varepsilon+o(1)}+2. Taking ε>0\varepsilon>0 arbitrarily small proves the result; no estimate with an XX-dependent ε\varepsilon is used.

For a fixed number vv of origins we take C>4vC>4v. In (G) set E={1,2}\mathcal{E}=\{1,2\} and use the exponent ss of Lemma 4.1; in (U) set E=EC\mathcal{E}=\mathcal{E}_C and s=2s=2. In both cases

∣E∣=Xo(1),∣bY(d)∣≪vH−s(d∉E, d≪vX4v).(25)|\mathcal{E}|=X^{o(1)},\qquad|b_Y(d)|\ll_v H^{-s}\quad(d\notin\mathcal{E},\ d\ll_v X^{4v}). \tag*{(25)}

The estimate H−sH^{-s} tends to zero, but under (G) it need not be o(H−1)o(H^{-1}). § 6 addresses exactly this loss when a collision probability is raised to k≍Hk\asymp H.

Controlling tuples with square-class relations

Fix the partition G\mathcal{G} from Proposition 2.2 and put h=v−bh=v-b. For each group and each of the four forms, equality of its bits is imposed by comparing all its origins to one chosen origin. The products of these 4h4h comparisons form a vector space VV over F2\mathbb{F}_2 of dimension 4h4h. More explicitly, a vector ξ∈V\xi\in V selects some of the 4v4v form values so that, in each group, each form index is selected an even number of times. Its evaluated square class is

dn(ξ)=sf⁡(∏(j,i)selected by ξLi(nj)).d_n(\xi)=\operatorname{sf}\left(\prod_{\substack{(j,i)\\\text{selected by }\xi}} L_i(n_j)\right).

All such classes are ≪vX4v\ll_v X^{4v}.

Away from primes dividing any form value, Fourier expansion of the equality indicators on the sign cube gives

qG(n)=2−4h∑ξ∈VbY(dn(ξ))+Ov(H/Y).(26)q_{\mathcal{G}}(n)=2^{-4h}\sum_{\xi\in V} b_Y(d_n(\xi))+O_v(H/Y). \tag*{(26)}

There are Ov(H/log⁡Y)O_v(H/\log Y) excluded primes in PY\mathcal{P}_Y, since their product divides a fixed product of polynomial size in XX. Dividing by M≍Y/log⁡YM\asymp Y/\log Y justifies the error, including the auxiliary treatment of zero symbols.

Let U=U(n)⊆VU=U(n)\subseteq V be the subspace spanned by the nonzero vectors ξ\xi with dn(ξ)∈Ed_n(\xi)\in\mathcal{E}. Put

r=4h−dim⁡U.r=4h-\dim U.

For vectors outside UU, (25) applies. For vectors in UU, use ∣bY∣≤1|b_Y| \le1. Consequently, at k=log⁡16X+O(1)k = \log_{16} X + O(1),

qG(n)≤2−r+Ov(H−s+H/Y),qG(n)k≤X−r/4+o(1).(27)q_G(n) \le2^{-r} + O_v(H^{-s} + H/Y), \qquad q_G(n)^k \le X^{-r/4+o(1)}. \tag*{(27)}

The second estimate is uniform over tuples for fixed vv. Its subpolynomial factor is permitted in the exceptional count below. It would be insufficient by itself for the main contribution.

Proposition 5.1 (Negligible weighted exceptional tuples). For fixed vv, GG and k=log⁡16X+O(1)k = \log_{16} X + O(1),

∑n∈Xvpairwise distinctU(n)≠0qG(n)k=o(Xb).(28)\sum_{\substack{\mathbf n\in X^v\\ \text{pairwise distinct}\\ U(\mathbf n)\ne0}} q_G(\mathbf n)^k = o(X^b). \tag*{(28)}

The number of tuples in this sum is also o(Xv)o(X^v).

Proof. There are only finitely many possible formal subspaces UU and bases, with a bound depending on vv. Choose a basis of UU from its exceptional generators and prescribe the class in E\mathcal E of every basis vector. There are ∣E∣Ov(1)=Xo(1)|\mathcal E|^{O_v(1)} = X^{o(1)} such assignments. Fix one assignment for now. Multiplication in the group of square classes then specifies the evaluated class of every vector in UU. These prescribed classes have size XOv(1)X^{O_v(1)}.

Let SS be the exact stratum with this UU and these prescribed basis classes. We estimate its size by counting tuples satisfying the prescribed relations. This larger constrained set may include tuples with additional relations; the probability bound (27) is used only on SS.

Successive choices of origins. Choose one initial origin in each group. Order the remaining origins after the initial origin of their own group. Let VjV_j be the comparison space supported on the origins exposed so far, and let Uj=U∩VjU_j = U \cap V_j. An initial origin contributes no comparisons. A noninitial origin increases dim⁡Vj\dim V_j by four, and increases dim⁡Uj\dim U_j by a number cj∈{0,1,2,3,4}c_j \in\{0,1,2,3,4\}. Projection to its four new coordinates identifies Uj/Uj−1U_j/U_{j-1} with a cjc_j-dimensional subspace of F24\mathbb F_2^4. The newly imposed relations therefore prescribe cjc_j independent products of the four new forms after the previous origins have been fixed.

Set aj=4−cja_j = 4 - c_j. Summing over noninitial origins gives ∑jaj=r\sum_j a_j = r. An initial origin has at most XX choices. For a noninitial one the number of choices is at most Xe(aj)+o(1)X^{e(a_j)+o(1)}, where

a01234e(a)0001/21(29)\begin{array}{c|ccccc} a & 0 & 1 & 2 & 3 & 4\\ e(a) & 0 & 0 & 0 & 1/2 & 1 \tag*{(29)} \end{array}

One relation invokes Lemma 3.2. Any two independent vectors in F24\mathbb F_2^4 have a nonzero combination involving at least two coordinates, which gives the Xo(1)X^{o(1)} bound when cj≥2c_j \ge2. When cj=4c_j = 4, all four individual classes are prescribed and Lemma 3.1 gives at most one origin. The useful comparison is

e(a)−a/4≤0,e(a)−a/4≤−1/4for a=1,2,3.(30)e(a) - a/4 \le0,\qquad e(a) - a/4 \le-1/4 \quad\text{for } a = 1,2,3. \tag*{(30)}

Combining the successive choices with (27) gives the following exponent for the total weighted contribution of the fixed stratum:

∑n∈SqG(n)k≤Xb+∑je(aj)−r/4+o(1)=Xb+∑j(e(aj)−aj/4)+o(1).(31)\begin{aligned} \sum_{\mathbf n\in S} q_G(\mathbf n)^k \le X^{b+\sum_j e(a_j)-r/4+o(1)} \\ &= X^{b+\sum_j(e(a_j)-a_j/4)+o(1)}. \tag*{(31)} \end{aligned}

Here jj runs over the noninitial origins. The factor XbX^b comes from the initial origin in each group, and ∑jaj=r\sum_j a_j = r accounts for the full collision-probability cost. Thus any increment with aj∈{1,2,3}a_j \in\{1,2,3\} makes the contribution at most Xb−1/4+o(1)X^{b-1/4+o(1)}. It remains to save a power when all increments are zero or four.

We may change the initial origins and their exposure order in the remaining cases. The parity definition of VV, the exact subspace UU, and the prescribed evaluation of its basis do not depend on these choices. Only the filtration Uj=U∩VjU_j=U\cap V_j and its individual increments change. Their sum still gives ∑jaj=4(v−b)−dim⁡U=r\sum_j a_j=4(v-b)-\dim U=r, so both (27) and (31) remain valid. Below, an exposure order is chosen from the indices of a specified irregularity. There are only finitely many such choices for fixed vv, and a finite union of the resulting bounds suffices.

Every exceptional tuple has an arithmetic irregularity. Fix η=1/(100(v+1))\eta=1/(100(v+1)). Write Li(n)=di(n)si(n)2L_i(n)=d_i(n)s_i(n)^2 with di(n)d_i(n) squarefree; the square part in the following argument is the root si(n)s_i(n), not si(n)2s_i(n)^2. Call a tuple irregular if at least one of the following holds:

  • (i) Some si(nj)>Xηs_i(n_j)>X^\eta.

  • (ii) Some Li(nj)L_i(n_j) has gcd greater than XηX^\eta with one of the prescribed exceptional basis classes.

  • (iii) Two form values at distinct origins have gcd greater than XηX^\eta.

Every tuple in the fixed nonzero stratum is irregular. To see this, suppose otherwise and choose a nonzero basis relation. Each selected individual class has size ≫X1−2η\gg X^{1-2\eta}. Its gcd with each other selected class is at most XηX^\eta, or is bounded by a fixed constant when the forms are at the same origin. Removing all common prime divisors from one selected class leaves a factor of size at least

cvX1−2η−(4v−1)η.(32)c_vX^{1-2\eta-(4v-1)\eta}. \tag*{(32)}

That factor occurs in exactly one selected squarefree class, so it divides the evaluated class of the basis relation. It also divides the original form value. Since 1−(4v+2)η>01-(4v+2)\eta>0, this contradicts the absence of the second irregularity.

Large square parts and prescribed divisors. For the first irregularity, make the affected origin initial in its group. Its possible values are bounded by

∑Xη<s≪XO(X/s2+1)≪X1−η+X1/2.(33)\sum_{X^\eta<s\ll\sqrt{X}} O(X/s^2+1)\ll X^{1-\eta}+X^{1/2}. \tag*{(33)}

For the second, again make the affected origin initial and sum over divisors g>Xηg>X^\eta of the relevant fixed class. That class has Xo(1)X^{o(1)} divisors, and each divisibility condition allows O(X/g+1)O(X/g+1) origins. There are at most X1−η+o(1)X^{1-\eta+o(1)} possibilities. In both cases the remaining successive choices, combined with (30) and (27), contribute at most Xb−η+o(1)X^{b-\eta+o(1)}.

A large gcd between two origins. Discard the first irregularity, so all square parts are at most XηX^\eta. For two unrestricted origins the number of pairs with a specified pair of forms having gcd greater than XηX^\eta is at most

∑Xη<g≪XO((X/g+1)2)≪X2−η+Xlog⁡X.(34)\sum_{X^\eta<g\ll X} O((X/g+1)^2)\ll X^{2-\eta}+X\log X. \tag*{(34)}

If the origins are in different groups, choose them both as initial origins and use this saving. If they are in the same group, expose the pair first, its initial origin and first addition, before any other noninitial origin. If that addition has a=4a=4, (34) replaces X2X^2 possibilities for the pair. If 1≤a≤31\leq a\leq3, the strict inequality in (30) suffices.

It remains to treat the zero-rank addition a=0a=0. The whole four-dimensional comparison space of this first pair lies in UU. Hence the four classes

hi=sf⁡(Li(m)Li(n))h_i=\operatorname{sf}(L_i(m)L_i(n))

are fixed by the prescribed basis classes. Write Li(n)=disi2L_i(n)=d_i s_i^2, Li(m)=di′ti2L_i(m)=d'_i t_i^2 and gi=gcd⁡(di,hi)g_i=\gcd(d_i,h_i). Then

di′=dihigi2,Li(m)Li(n)=hiti2gi2si2.(35)d'_i=\frac{d_i h_i}{g_i^2},\qquad\frac{L_i(m)}{L_i(n)}=\frac{h_i t_i^2}{g_i^2s_i^2}. \tag*{(35)}

Each gig_i is a divisor of the fixed integer hih_i, so it has Xo(1)X^{o(1)} possibilities. For i=1,2i=1,2, the inequalities si,ti≤Xηs_i,t_i\le X^\eta imply that the pair of ratios in (35) has at most X4η+o(1)X^{4\eta+o(1)} possible values. The two ratios

R1=m/n,R2=(m+1)/(n+1)R_1=m/n,\qquad R_2=(m+1)/(n+1)

are distinct because m≠nm\ne n, and they specify the ordered pair uniquely:

n=R2−1R1−R2,m=R1n.n=\frac{R_2-1}{R_1-R_2},\qquad m=R_1n.

Thus X4η+o(1)X^{4\eta+o(1)} replaces the generic factor XX for an initial origin and its zero-rank addition. This is a power saving.

The intermediate increments save at least 1/41/4 in the exponent of (31). Each of the first two irregularities saves η\eta in an initial-origin count. A large gcd between two free origins gives the same saving by (34); for a zero-rank addition, the saving is 1−4η1-4\eta. Since η<1/4\eta<1/4 and 1−4η>η1-4\eta>\eta, every case is bounded by Xb−η+o(1)X^{b-\eta+o(1)} for a fixed assignment. Summing over the finitely many indices and formal bases, and the Xo(1)X^{o(1)} assignments of basis classes, still gives

∑n∈IXvpairwise distinctU(n)≠0qG(n)k≤Xb−η+o(1)=o(Xb),\sum_{\substack{n\in I_X^v\\ \text{pairwise distinct}\\ U(n)\ne0}} q_G(n)^k\le X^{b-\eta+o(1)}=o(X^b),

which proves (28). For the unweighted assertion, the same union of irregularities, estimated by (33), the divisor bound, and (34), has Xv−η+o(1)=o(Xv)X^{v-\eta+o(1)}=o(X^v) tuples.

The last case is the reason that generic square-class rank alone does not finish the argument. A rank-zero addition pays no probability factor. Two affine ratios, together with small square parts, instead limit how many such pairs can occur.

Raising a one-prime estimate to many probes

For tuples with U=0U=0, (26) gives q=q0+Ov(H−s+H/Y)q=q_0+O_v(H^{-s}+H/Y). In (U), s=2s=2 and k=O(H)k=O(H), so

qk=q0k(1+o(1))(36)q^k=q_0^k(1+o(1)) \tag*{(36)}

uniformly on these tuples. In (G), ss can be smaller than 11; multiplying the pointwise error by kk need not give a vanishing quantity. We now prove the mean estimate that replaces this unsuccessful uniform exponentiation.

Lemma 6.1 (Averaged exponentiation under GRH). In range (G), for every fixed partition and k=log⁡16X+O(1)k=\log_{16}X+O(1),

1Xv∑n∈IXvU(n)=0∣qG(n)kq0k−1∣=o(1).(37)\frac{1}{X^v}\sum_{\substack{n\in I_X^v\\ U(n)=0}}\left|\frac{q_G(n)^k}{q_0^k}-1\right|=o(1). \tag*{(37)}

Repeated origins are allowed in this sum.

Proof. If h=0h=0, there are no comparisons and q=q0=1q=q_0=1. Assume h>0h>0. For a fixed prime pp, let Ip(n)I_p(\mathbf{n}) be the indicator of all within-group comparisons, with the auxiliary convention at zero. Let mpm_p be its mean when the vv origins are uniform and independent modulo pp.

For one uniform residue nn mod pp, every four-bit pattern has probability

116+O(p−1/2).(38)\frac{1}{16}+O(p^{-1/2}). \tag*{(38)}

Indeed, expand its indicator into the sixteen products of the four characters. Every nonempty product is the character of a polynomial with distinct simple roots modulo p>3p>3 and degree at most four. Weil’s character-sum bound [31 p. 206] gives O(p)O(\sqrt{p}) for its complete sum. Changing the values at the four zero residues adds O(1/p)O(1/p) to the probability. Independence of the vv uniform residues therefore gives

mp=q0+Ov(p−1/2),m‾:=M−1∑p∈PYmp=q0+Ov(Y−1/2).(39)m_p=q_0+O_v(p^{-1/2}),\qquad\overline{m}:=M^{-1}\sum_{p\in\mathcal{P}_Y}m_p=q_0+O_v(Y^{-1/2}). \tag*{(39)}

For independent uniform origins in the actual dyadic interval, put

Δ=M−1∑p∈PY(Ip−mp).\Delta=M^{-1}\sum_{p\in\mathcal{P}_Y}(I_p-m_p).

Then q=m‾+Δq=\overline{m}+\Delta. In a comparison model, let the vv residues at every prime be uniform and independent, also independently across the primes. In that model the summands defining Δ\Delta are independent, centered and bounded. Hoeffding’s inequality [14 Theorem 2], integrated against the moment weight, gives E∣Δ∣ℓ≤(Cℓ/M)ℓ/2\mathbb{E}|\Delta|^\ell\le(C\ell/M)^{\ell/2}.

Write EX\mathbb{E}_X for expectation over vv independent uniform origins in IXI_X, and ECRT\mathbb{E}_{\mathrm{CRT}} for expectation in the comparison model. For an ordered list p=(p1,…,p2j)\mathbf{p}=(p_1,\ldots,p_{2j}) of primes, with repetitions allowed, put

Gp=∏ℓ=12j(Ipℓ−mpℓ),Qp=∏p∈{p1,…,p2j}p.G_{\mathbf{p}}=\prod_{\ell=1}^{2j}(I_{p_\ell}-m_{p_\ell}),\qquad Q_{\mathbf{p}}=\prod_{p\in\{p_1,\ldots,p_{2j}\}}p.

The product defining QpQ_{\mathbf{p}} uses each distinct prime once. The function GpG_{\mathbf{p}} has absolute value at most one and depends only on the vv residues modulo QpQ_{\mathbf{p}}. For a single uniform origin in an interval of XX consecutive integers, the total variation distance of its residue law modulo QQ from uniformity is at most Q/(2X)Q/(2X). Tensorizing over the vv origins and using the Chinese remainder theorem therefore gives

∣EXGp−ECRTGp∣≤vQpX≤vY2jX.\left|\mathbb{E}_XG_{\mathbf{p}}-\mathbb{E}_{\mathrm{CRT}}G_{\mathbf{p}}\right| \le\frac{vQ_{\mathbf{p}}}{X}\le\frac{vY^{2j}}{X}.

Consequently, for every integer j≥1j\ge1,

EXΔ2j=M−2j∑p∈PY2jEXGp=ECRTΔ2j+Ov(Y2j/X).(40)\begin{aligned} \mathbb{E}_X\Delta^{2j} &=M^{-2j}\sum_{\mathbf{p}\in\mathcal{P}_Y^{2j}}\mathbb{E}_XG_{\mathbf{p}}\\ &=\mathbb{E}_{\mathrm{CRT}}\Delta^{2j}+O_v(Y^{2j}/X). \tag*{(40)} \end{aligned}

The implicit constant is independent of jj: there are M2jM^{2j} terms, each with coefficient M−2jM^{-2j}. Combining (40) with the comparison-model moment bound and Cauchy–Schwarz yields

EX∣Δ∣j≤(Cvj/M)j/2+Ov(Yj/X).(41)\mathbb{E}_X|\Delta|^j\le(Cv j/M)^{j/2}+O_v(Y^j/\sqrt{X}). \tag*{(41)}

again with constants independent of jj. These are unconditional moments over the origins; restricting their nonnegative integrands to U=0U=0 can only decrease them.

Choose the exponent s∈(0,1)s \in(0,1) from Lemma 4.1. On U=0U=0, equations (26) and (39) give ∣Δ∣≪vH−s|\Delta| \ll_{v} H^{-s}. Thus, for a fixed constant Cv′>0C'_v>0,

T:=k∣Δ∣/q0≤Cv′H1−s.T:=k|\Delta|/q_0 \le C'_vH^{1-s}.

Choose Kv≥8emax⁡(1,Cv′)K_v \ge8e\max(1,C'_v) and put J=⌈KvH1−s⌉J=\lceil K_vH^{1-s}\rceil. Using (J+1)!≥((J+1)/e)J+1(J+1)! \ge((J+1)/e)^{J+1}, we obtain uniformly on U=0U=0

0≤eT−∑j=0JTjj!≤eTTJ+1(J+1)!≤exp⁡(Cv′H1−s)(eCv′Kv)J+1≤exp⁡(−(Kvlog⁡8−Cv′)H1−s)=o(1).\begin{aligned} 0 \le e^T-\sum_{j=0}^{J}\frac{T^j}{j!}\le e^T\frac{T^{J+1}}{(J+1)!} \\ &\le\exp(C'_vH^{1-s})\left(\frac{eC'_v}{K_v}\right)^{J+1} \\ &\le\exp\left(-(K_v\log8-C'_v)H^{1-s}\right)=o(1). \end{aligned}

The coefficient Kvlog⁡8−Cv′K_v\log8-C'_v is positive. At the same time, because s>0s>0 is fixed and log⁡Y=Alog⁡H\log Y=A\log H,

Jlog⁡Y=o(H),Jlog⁡H=o(H).J\log Y=o(H),\qquad J\log H=o(H).

We may therefore average the truncated series on U=0U=0 and bound its terms by the unconditional moments (6.6). The nonconstant terms from the first part of that bound sum to at most

∑j=1J(CvkjM)j=o(1),(42)\sum_{j=1}^{J}\left(\frac{C_vk}{\sqrt{jM}}\right)^j=o(1), \tag*{(42)}

because k/M→0k/\sqrt{M}\to0 for A>2A>2. The completion errors sum to

X−1/2exp⁡(Ov(Jlog⁡(kY+2)))=X−1/2+o(1).X^{-1/2}\exp(O_v(J\log(kY+2)))=X^{-1/2+o(1)}.

It follows that E[1U=0(ek∣Δ∣/q0−1)]=o(1)\mathbb{E}[1_{U=0}(e^{k|\Delta|/q_0}-1)]=o(1).

Finally k∣m‾−q0∣=Ov(H/Y)=o(1)k|\overline{m}-q_0|=O_v(H/\sqrt{Y})=o(1). For z≥−1z\ge-1 and integer k≥1k\ge1, ∣(1+z)k−1∣≤ek∣z∣−1|(1+z)^k-1|\le e^{k|z|}-1. Apply this with z=(q−q0)/q0z=(q-q_0)/q_0 and use the preceding exponential estimate. This proves (6.2).

Proof of Proposition 2.2. On U=0U=0, use (6.1) in (U) or Lemma 6.1 in (G). Since Xvq0k≍XbX^vq_0^k\asymp X^b, the contribution to (2.3) is o(Xb)o(X^b). For U≠0U\ne0, the sum of qkq^k is o(Xb)o(X^b) by Proposition 5.1. The sum of the comparison term q0kq_0^k over the same tuples is also o(Xb)o(X^b), because there are o(Xv)o(X^v) such tuples.

From collisions to a marked Poisson law

We first prove the empirical limit for the auxiliary binary words and independent sampled primes. Write B=16kB=16^k for the number of words in this section; the letter MM still denotes the number of available primes. Put X+=XαXX_+=X\alpha_X and X−=X−X+X_-=X-X_+. For nonnegative integers s,ts,t, define the empirical factorial moment

Fs,t(Π)=1B∑w∈Γk(NΠ,+(w))s(NΠ,−(w))t.F_{s,t}(\Pi)=\frac{1}{B}\sum_{w\in\Gamma^k}(N_{\Pi,+}(w))_s(N_{\Pi,-}(w))_t.

where (u)j=u(u−1)⋯(u−j+1)(u)_j=u(u-1)\cdots(u-j+1) for j≥1j\ge1 and (u)0=1(u)_0=1. In this section the counts initially refer to BΠB_\Pi.

Lemma 7.1 (Empirical factorial moments). Under (1.9), for every fixed s,t≥0s,t\geq0,

Fs,t(Π)⟶(ρα)s(ρ(1−α))tin L2(43)F_{s,t}(\Pi)\longrightarrow(\rho\alpha)^s(\rho(1-\alpha))^t \quad\text{in }L^2 \tag*{(43)}

for independent sampled primes and the auxiliary binary convention.

Proof. The cases of total degree at most one are deterministic:

F0,0=1,F1,0=X+/B,F0,1=X−/B.F_{0,0}=1,\qquad F_{1,0}=X_+/B,\qquad F_{0,1}=X_-/B.

They have the claimed L2L^2 limits, including when α=0\alpha=0 or α=1\alpha=1. We may therefore assume v=s+t≥2v=s+t\geq2. For a uniform word chosen independently of the panel, the product of falling factorials counts ordered tuples of distinct origins, ss positive and tt negative, all producing that word. Conditional on their words coinciding, a uniform word equals the common word with probability B−1B^{-1}. Proposition 2.2, for one group, therefore gives

EFs,t=B−1∑n1,…,nv distinctprescribed labelsq{1,…,v}(n)k=B−v(X+)s(X−)t+o(1)⟶(ρα)s(ρ(1−α))t.(44)\begin{aligned} \mathbb{E}F_{s,t} &=B^{-1}\sum_{\substack{n_1,\ldots,n_v\ \mathrm{distinct}\\\mathrm{prescribed\ labels}}}q_{\{1,\ldots,v\}}(\mathbf{n})^k\\ &=B^{-v}(X_+)_s(X_-)_t+o(1)\longrightarrow(\rho\alpha)^s(\rho(1-\alpha))^t. \tag*{(44)} \end{aligned}

The error remains valid for arbitrary prescribed labels because the unlabelled error was summed in absolute value.

For the second moment of Fs,tF_{s,t}, choose two uniform words independently. The two ordered lists of origins form two collision groups, with coefficient B−2B^{-2}. If the lists are disjoint, Proposition 2.2 for two groups gives the square of the limit in (7.2), with error o(1)o(1). More explicitly, the main count is B−2v(X+)2s(X−)2tB^{-2v}(X_+)_{2s}(X_-)_{2t}. If the lists overlap, their common origin forces the two words to agree. The remaining distinct origins then belong to one connected collision group. For each of the finitely many overlap patterns, Proposition 2.2 bounds the sum of collision probabilities by Ov(X)O_v(X). The contribution is thus Ov(X/B2)=o(1)O_v(X/B^2)=o(1). This proves (7.1). □

Proof of the empirical-law part of Theorem 1.2. From any sequence of XX we may select a subsequence along which all the convergences in Lemma 7.1 hold almost surely, by a diagonal extraction over the countably many fixed pairs (s,t)(s,t). For each resulting realization, the first moments give tightness of the empirical measures on N02\mathbb{N}_0^2. Higher moments give the uniform integrability needed to identify all factorial moments of any weak limit. Those moments are the moments of the indicated pair of independent Poisson variables. This law is moment-determinate, since its exponential moments are finite in a neighbourhood of zero. Every subsequential limit is consequently the same Poisson product law.

On the discrete space N02\mathbb{N}_0^2, weak convergence to a probability measure implies total variation convergence: first restrict to a finite box having arbitrarily large limiting mass, and then sum the pointwise differences within that box. The subsequence argument proves total variation convergence in probability for the original sequence. The same reasoning, using the second moments, permits integration of functions bounded in absolute value by a constant times 1+x+y1+x+y.

Lemma 2.1 now transfers convergence in probability to the distinct-prime panel. This conditioning step is not an assertion about the expectations of arbitrary unbounded statistics. Finally remove all origins having an actual erasure from their auxiliary binary bins. There are RΠ=o(X)R_{\Pi}=o(X) such origins, uniformly in the panel. At most RΠR_{\Pi} bins change, so the total variation distance between the two empirical occupancy measures is at most

RΠ/B=o(1)R_{\Pi}/B=o(1)

at critical load. This proves the claimed limit for the actual non-erased words. □

Identification, prediction and the full threshold

The three decision quantities

For any fixed panel and its full observation alphabet, let N(w)=N+(w)+N−(w)N(w)=N_+(w)+N_-(w) include the bins with erasures. The uniform prior on origins gives the exact identities

Uniq⁡Π,X=1X∑w1{N(w)=1},(45)\operatorname{Uniq}_{\Pi,X}=\frac{1}{X}\sum_w \mathbf{1}_{\{N(w)=1\}}, \tag*{(45)}
Id⁡Π,X=1X∑w1{N(w)>0},(46)\operatorname{Id}_{\Pi,X}=\frac{1}{X}\sum_w \mathbf{1}_{\{N(w)>0\}}, \tag*{(46)}
Pred⁡Π,X=1X∑wmax⁡(N+(w),N−(w)).(47)\operatorname{Pred}_{\Pi,X}=\frac{1}{X}\sum_w \max(N_+(w),N_-(w)). \tag*{(47)}

For identification, a decoder can choose one origin from each nonempty bin, and can correctly identify no more than one origin in that bin. Randomizing the choice cannot improve its average success. For label prediction, choosing a majority label in every bin attains (8.3).

In the auxiliary model the sums are over BB words, so each right side is B/XB/X times an empirical mean. The law of Z=Z++Z−Z=Z_++Z_- is Pois⁡(ρ)\operatorname{Pois}(\rho). Applying Section 7 to the first two bounded functions gives

ρ−1P(Z=1)=e−ρ,ρ−1P(Z>0)=1−e−ρρ.\rho^{-1}\mathbb{P}(Z=1)=e^{-\rho},\qquad\rho^{-1}\mathbb{P}(Z>0)=\frac{1-e^{-\rho}}{\rho}.

The function max⁡(x,y)\max(x,y) has linear growth. Its empirical mean converges by uniform integrability; for example the contribution on x+y>Kx+y>K is at most the empirical second moment of x+yx+y divided by KK. Since max⁡(x,y)=(x+y+∣x−y∣)/2\max(x,y)=(x+y+|x-y|)/2, this gives (1.12).

Changing the word assigned to one origin changes the number of singleton bins by at most two. It changes each optimal success probability in (8.2)–(8.3) by at most 1/X1/X: for any fixed decoder only that origin’s success indicator can change, and one then optimizes. Thus the RΠ=o(X)R_{\Pi}=o(X) erasures change all three limits by o(1)o(1). This completes the proof of Theorem 1.2.

A balanced label at critical load

If α=1/2\alpha=1/2, the two Poisson means are ρ/2\rho/2. For j≥0j\geq0 define the modified Bessel functions by the convergent series

Ij(ρ)=∑ℓ≥0(ρ/2)2ℓ+jℓ!(ℓ+j)!.I_j(\rho)=\sum_{\ell\geq0}\frac{(\rho/2)^{2\ell+j}}{\ell!(\ell+j)!}.

Directly from the two Poisson mass functions, P(Z+−Z−=j)=e−ρIj(ρ)\mathbb{P}(Z_+-Z_-=j)=e^{-\rho}I_j(\rho). The difference Z+−Z−Z_+-Z_- has the Skellam distribution [27]; the equal-mean case was studied earlier by Irwin [15]. We derive the required absolute moment directly. Writing D=Z+−Z−D=Z_+-Z_-, the Poisson shift identity gives

E[D1{D≥1}]=ρ2(P(D≥0)−P(D≥2)).\mathbb{E}[D\mathbf{1}_{\{D\geq1\}}]=\frac{\rho}{2}\bigl(\mathbb{P}(D\geq0)-\mathbb{P}(D\geq2)\bigr).

By symmetry, E∣D∣=ρ(P(D=0)+P(D=1))\mathbb{E}|D|=\rho(\mathbb{P}(D=0)+\mathbb{P}(D=1)). Consequently the balanced prediction limit is

12+e−ρ2(I0(ρ)+I1(ρ)).(48)\frac{1}{2}+\frac{e^{-\rho}}{2}\bigl(I_0(\rho)+I_1(\rho)\bigr). \tag*{(48)}

Figure 1. The three critical limits as functions of the load ρ=X/16k\rho= X/16^k. Label prediction is shown for α=1/2\alpha= 1/2. These are the formulas of Theorem 1.2, not fitted curves or estimates from simulated Liouville data.

At load one the three limits are

unique origins: 0.3678794412 . . . ,

optimal identification: 0.6321205588 . . . ,

optimal balanced-label prediction: 0.8368350115 . . . .

The last value is a consequence of balanced marks, not an assertion that the Liouville labels have limiting density 1/2.

Leaving the critical window

We finish by proving the full additive threshold. Couple all distinct-prime panels as prefixes of a uniform permutation of PY\mathcal{P}_{Y}. Appending a row refines the partition into observed words. The fraction of nonunique origins decreases under refinement.

Proof of Theorem 1.1, upper side. Fix D>0D > 0 and consider the prefix of length ⌈k∗(X)+D⌉\lceil k_{*}(X) + D\rceil. Its load lies in the compact interval [16−D−1,16−D][16^{-D-1},16^{-D}]. Along every subsequence one may extract a convergent load subsequence. Applying Theorem 1.2 with constant labels, since uniqueness is independent of the labels, bounds the limiting fraction of nonunique origins by 1−exp⁡(−16−D)1 - \exp(-16^{-D}). For any k−k∗(X)→+∞k - k_{*}(X) \to+\infty, this prefix is eventually contained in the kk-row panel. Monotonicity gives the same bound for that panel. Letting D→∞D \to\infty proves that the fraction of nonunique origins tends to zero in probability. All origins with unique words can be identified and labelled correctly.

For the lower side, write DΠ,XD_{\Pi,X} for the distance in (6). For each fixed panel a direct calculation of the two binary label probabilities gives

DΠ,X=1X∑w∣(1−αX)N+(w)−αXN−(w)∣.(49)D_{\Pi,X} = \frac{1}{X} \sum_w \left|(1-\alpha_X)N_+(w)-\alpha_XN_-(w)\right|. \tag*{(49)}

This distance is nondecreasing when a row is appended: the shorter observation is a deterministic function of the longer one, and total variation contracts under that map.

Proof of Theorem 1.1, lower side. For identification, a counting bound already settles the subcritical range. Every fixed panel has at most 16k16^k non-erased words, and at most RΠR_\Pi occupied words with an erasure, since each of the latter contains at least one erased origin. Equations (45)–(46) give, for every panel,

0≤Uniq⁡Π,X≤Id⁡Π,X=∣BΠ(IX)∣X≤16k+RΠX.(50)0 \leq\operatorname{Uniq}_{\Pi,X} \leq\operatorname{Id}_{\Pi,X} = \frac{\lvert B_{\Pi}(I_X)\rvert}{X} \leq\frac{16^k + R_\Pi}{X}. \tag*{(50)}

If k−k∗(X)→−∞k-k_*(X)\to-\infty, then k=O(log⁡X)k=O(\log X), and Lemma 2.1 yields

sup⁡ΠId⁡Π,X≤16k−k∗(X)+O(kY+kX)⟶0.\sup_{\Pi}\operatorname{Id}_{\Pi,X} \leq16^{k-k_*(X)} + O\left(\frac{k}{Y}+\frac{k}{X}\right)\longrightarrow0.

This proves the subcritical identification and uniqueness statements uniformly over the panels. The label-independence assertion requires the critical law.

At a fixed critical load, with αX→α\alpha_X\to\alpha, the empirical law and its first-moment integrability give

DΠ,X→P1ρE∣(1−α)Z+−αZ−∣.\mathcal{D}_{\Pi,X}\xrightarrow{\mathbb{P}}\frac{1}{\rho}\mathbb{E}\left|(1-\alpha)Z_+ - \alpha Z_-\right|.

The random variable inside the absolute value has mean zero and variance ρα(1−α)\rho\alpha(1-\alpha). Cauchy–Schwarz bounds this limit by

α(1−α)ρ≤12ρ.(51)\sqrt{\frac{\alpha(1-\alpha)}{\rho}} \leq\frac{1}{2\sqrt{\rho}}. \tag*{(51)}

The actual erasures change (49) by o(1)o(1), either directly or by coupling the joint laws and their word marginals.

Fix D>0D>0 and use the prefix of length ⌊k∗(X)−D⌋\lfloor k_*(X)-D\rfloor, which is nonnegative for large XX. Its load is in [16D,16D+1][16^D,16^{D+1}]. From any subsequence one may extract convergent loads and convergent label proportions. The bound (51) then gives an upper limit 16−D/2/216^{-D/2}/2 in probability. If k−k∗(X)→−∞k-k_*(X)\to-\infty, the kk-row observation is eventually a shorter prefix. Contraction of total variation gives the same bound for it. Let D→∞D\to\infty to prove (6).

Under the product law in (6), no decoder improves on the constant majority-label rule, whose success is max⁡(αX,1−αX)\max(\alpha_X,1-\alpha_X). The success of any fixed rule changes by at most the total variation distance. Optimizing over rules gives the prediction assertion. □

A finite illustration and the scope of the results

The quartic Liouville label on dyadic intervals

Write MC(t)=t−1∑n≤tC(n)M_C(t)=t^{-1}\sum_{n\leq t}C(n) and set

B=196567331402653184,a−=1−B2,a+=1+B2.B=\frac{196567331}{402653184},\qquad a_-=\frac{1-B}{2},\qquad a_+=\frac{1+B}{2}.

There is a set E⊂NE\subset\mathbb{N} with ∑X≤T, X∈EX−1=o(log⁡T)\sum_{X\leq T,\ X\in E}X^{-1}=o(\log T) such that

lim sup⁡X→+∞X∉E∣CX∣≤B.(52)\limsup_{\substack{X\to+\infty\\X\notin E}}\lvert C_X\rvert\leq B. \tag*{(52)}

Indeed, the ordinary-average corollary on fixed progressions in Pouly [22], with q=1q=1 and shift zero, bounds the limsup of ∣MC(X)∣\lvert M_C(X)\rvert by BB outside a set of logarithmic density zero. The fixed-ratio isotopy proposition there, applied to the same four forms at ratio 1/21/2, gives、】【 MC(2X)−MC(X)=o(1)M_C(2X)-M_C(X)=o(1) outside another such set. Take their union for EE. Replacing the two endpoints in the dyadic sum costs at most 2/X2/X, so

2αX−1=C‾X=2MC(2X)−MC(X)+O(X−1)=MC(X)+o(1)(X→∞, X∉E).2\alpha_X-1=\overline{C}_X=2M_C(2X)-M_C(X)+O(X^{-1})=M_C(X)+o(1)\qquad(X\to\infty,\ X\notin E).

This establishes (9.1) for the uniform dyadic catalogue and fixes the permitted scales before the panel is drawn.

On these scales all limit points of αX\alpha_X lie in [a−,a+][a_-,a_+]. In the subcritical regime (1.7) therefore gives Pred⁡Π,X≤a++oP(1)\operatorname{Pred}_{\Pi,X}\le a_+ + o_P(1), with a+≃0.74409a_+\simeq0.74409. At critical load ρ>0\rho>0, pass to a subsequence on which αX→α\alpha_X\to\alpha. Each of the two limiting mark intensities in Theorem 1.2 then lies in [ρa−,ρa+][\rho a_-,\rho a_+]. More precisely, let Fρ(u)F_\rho(u) be the right-hand side of (1.12) with α=u\alpha=u. Conditioning on the total m=Z++Z−∼Pois⁡(ρ)m=Z_++Z_-\sim\operatorname{Pois}(\rho) gives

Fρ(u)=12+e−ρ2ρ∑m=1∞ρmm!E∣2Bin⁡(m,u)−m∣.F_\rho(u)=\frac{1}{2}+\frac{e^{-\rho}}{2\rho}\sum_{m=1}^{\infty}\frac{\rho^m}{m!}\mathbb{E}\left|2\operatorname{Bin}(m,u)-m\right|.

For fixed mm the expectation is a symmetric polynomial in uu whose Bernstein coefficients ∣2j−m∣|2j-m|, 0≤j≤m0\le j\le m, form a convex sequence. Its second derivative is m(m−1)m(m-1) times a Bernstein average of their second differences when m≥2m\ge2. Hence FρF_\rho is convex and symmetric, and the admissible limits satisfy

Fρ(1/2)≤Fρ(α)≤Fρ(a+).F_\rho(1/2)\le F_\rho(\alpha)\le F_\rho(a_+).

At unit load the limiting success is thus between 0.8368350 and 0.8766688 on these subsequences. The bounds follow by retaining m≤18m\le18 in the series. Since the expectation is at most mm, the omitted part at ρ=1\rho=1 is at most 19/(36⋅18!)19/(36\cdot18!); the supplement implements the rational interval calculation. Attainment of either extremal prediction value would require additional information about the limit points of αX\alpha_X.

Finite-panel measurements

Table 1 illustrates the distinction between the three decision quantities. For each displayed value of XX, we set Y=⌊(log⁡X)4⌋Y=\lfloor(\log X)^4\rfloor and draw the indicated number of distinct-prime panels from (1.3). The labels are the exact Liouville products C(n)C(n). All entries are averages of exact finite-panel counts; the common erasures are retained.

XXkkPanelsρX\rho XId⁡Π,X\operatorname{Id}_{\Pi,X}Uniq⁡Π,X\operatorname{Uniq}_{\Pi,X}Pred⁡Π,X\operatorname{Pred}_{\Pi,X}
2142^{14}4160.250.8849030.7791790.944519
2152^{15}4160.500.7881010.6083160.901075
2162^{16}4161.000.6328640.3686420.837325
2172^{17}4162.000.4331810.1365270.761930
2182^{18}4164.000.2463080.0193310.693147
2202^{20}581.000.6326520.3687760.837010

Table 1. Finite-panel averages for the Liouville label. The table is an illustration of the observables, with no asymptotic error bound inferred from these samples.

Code and data availability. The PDF on Zenodo includes the embedded attachment quadratic_probes_data.zip. Its files are also in the source archive available from the same record. The package contains verify_probes.py and its reference output verification_results.json, recording the prime populations, all 88 sampled panels, exact counts, label proportions and sampling variability. The calculation uses seed 20261121, Python 3.12.14 and NumPy 2.3.5. From the extracted directory run

python verify_probes.py --output results.json
python compare_results.py verification_results.json results.json
python critical_bounds.py

The comparator requires exact equality for prime populations, sampled panels, counts, parameters and checks. It allows up to eight units in the last place for summaries and Poisson benchmarks, and reports platform and timing information separately. An independent rerun reproduced every panel and all discrete results. The calculation compares residue-table symbols with Euler’s criterion and a prime-power Liouville sieve with independent trial factorization. It also checks the Pell identity (3.1) and both kernel injections on a finite range. These checks support reproducibility of the illustration; the asymptotic conclusions follow from the preceding proofs.

At X=220X = 2^{20} the measured dyadic label bias is C‾X=−0.000789642333984375\overline{C}_X = -0.000789642333984375, and the average erased-origin fraction is approximately 0.000729. The small finite bias explains why the balanced comparison is informative at this scale. It gives no conclusion about the limiting bias.

The proof identifies the arithmetic features needed for this observation problem: uniform fibres for products of forms, separation when all four classes are prescribed, and control of zero-rank additions. A different family of forms would require these properties to be checked again. Counting the output letters alone does not establish a reconstruction threshold. The large-sieve proof uses log⁡log⁡X=o(log⁡Y)\log\log X = o(\log Y) in the growing-moment large-sieve estimate; it does not cover every fixed polylogarithmic range treated by the Dirichlet zero theorem.

The reconstruction statements are about the information in the observations. An exhaustive dictionary search is allowed throughout, and no algorithm polynomial in log⁡X\log X is supplied. For the label CC, the marked law retains the actual positive-label proportion. § 9.1 uses separate arithmetic information to bound that proportion on the indicated scales.

Statement on AI assistance

ChatGPT provided mathematical and editorial assistance, including development and expansion of the arguments, targeted mathematical checks, reference checks, and preparation of the source files and computations. The numerical checks described above are finite calculations. The proof presented here is a written proof; no formal verification is claimed.

References

  1. [1]L. Alpöge, announcement of a Lean proof of the Riemann hypothesis and its Dirichlet generalization, 20 November 2026. https://alpo.ge/remark.pdf.
  2. [2]A. D. Barbour, L. Holst and S. Janson, Poisson Approximation, Oxford Studies in Probability 2, Clarendon Press, Oxford, 1992. Chapter 6, Section 6.2. doi: 10.1093/oso/9780198522355.001.0001.DOI
  3. [3]D. Basak, B. C. Berndt and A. Zaharescu, Distributions associated with small quadratic non-residues and their partitions, Canadian Journal of Mathematics, First View (2026), 1–41, published online 2 June 2026. doi: 10.4153/S0008414X26102296.DOI
  4. [4]D. Basak, K. Nath and A. Zaharescu, Poisson Behavior for Chains of Small Quadratic Non-Residues, International Mathematics Research Notices 2024 (2024), no. 4, 3356–3390; published online 24 July 2023. Theorem 1. doi: 10.1093/imrn/rnad168.DOI
  5. [5]C. H. Bennett, G. Brassard, C. Crépeau and U. M. Maurer, Generalized Privacy Amplification, IEEE Transactions on Information Theory 41 (1995), no. 6, 1915–1923. doi: 10.1109/18.476316.DOI
  6. [6]S. Boucheron, F. Gamboa and C. Léonard, Bins and balls: Large deviations of the empirical occupancy process, The Annals of Applied Probability 12 (2002), no. 2, 607–636. Proposition 2.3. doi: 10.1214/aoap/1026915618.DOI
  7. [7]J. L. Carter and M. N. Wegman, Universal Classes of Hash Functions, Journal of Computer and System Sciences 18 (1979), no. 2, 143–154. doi: 10.1016/0022-0000(79)90044-8.DOI
  8. [8]R. de la Bretèche, V. Y. Wang and M. W. Xu, Random Multiplicative Functions and Making Squares from Polynomial Values, preprint, version 1, 7 July 2026. arXiv:2607.06398v1. Lemmas 3.2–3.3. doi: 10.48550/arXiv.2607.06398.DOI
  9. [9]J.-H. Evertse and J. H. Silverman, Uniform bounds for the number of solutions to Yⁿ = f(X), Mathematical Proceedings of the Cambridge Philosophical Society 100 (1986), no. 2, 237–248. Theorem 1(b), p. 238. doi: 10.1017/S0305004100066068.DOI
  10. [10]A. Granville and P. Kurlberg, Poisson statistics via the Chinese Remainder Theorem, Advances in Mathematics 218 (2008), no. 6, 2013–2042. doi: 10.1016/j.aim.2008.04.001.DOI
  11. [11]B. Hanson, R. C. Vaughan and R. Zhang, The least number with prescribed Legendre symbols and representation by binary quadratic forms of small discriminant, Journal of Number Theory 179 (2017), 3–16. doi: 10.1016/j.jnt.2017.03.004.DOI
  12. [12]J. Håstad, R. Impagliazzo, L. A. Levin and M. Luby, A Pseudorandom Generator from any One-way Function, SIAM Journal on Computing 28 (1999), no. 4, 1364–1396. Lemma 4.8. doi: 10.1137/S0097539793244708.DOI
  13. [13]D. R. Heath-Brown, A mean value estimate for real character sums, Acta Arithmetica 72 (1995), no. 3, 235–275. Corollary 2, p. 238. doi: 10.4064/aa-72-3-235-275.
  14. [14]W. Hoeffding, Probability Inequalities for Sums of Bounded Random Variables, Journal of the American Statistical Association 58 (1963), no. 301, 13–30. Theorem 2, p. 16, equation (2.6). doi: 10.1080/01621459.1963.10500830.DOI
  15. [15]J. O. Irwin, The Frequency Distribution of the Difference between Two Independent Variates Following the Same Poisson Distribution, Journal of the Royal Statistical Society 100 (1937), no. 3, 415–416. doi: 10.1111/j.2397-2335.1937.tb04518.x.DOI
  16. [16]P. Kurlberg, Poisson spacing statistics for value sets of polynomials, International Journal of Number Theory 5 (2009), no. 3, 489–513. doi: 10.1142/S1793042109002237.DOI
  17. [17]P. Kurlberg and Z. Rudnick, The distribution of spacings between quadratic residues, Duke Mathematical Journal 100 (1999), no. 2, 211–242. Theorems 1–2. doi: 10.1215/S0012-7094-99-10008-1.DOI
  18. [18]D. H. Lehmer, E. Lehmer and D. Shanks, Integer Sequences Having Prescribed Quadratic Character, Mathematics of Computation 24 (1970), no. 110, 433–451. doi: 10.1090/S0025-5718-1970-0271006-X.DOI
  19. [19]H. L. Montgomery and R. C. Vaughan, Multiplicative Number Theory I: Classical Theory, Cambridge Studies in Advanced Mathematics 97, Cambridge University Press, 2007. Theorem 13.7, p. 425, equations (13.19)–(13.21). doi: 10.1017/CBO9780511618314.DOI
  20. [20]C. Pomerance and I. E. Shparlinski, On Pseudosquares and Pseudopowers, in Combinatorial Number Theory: Proceedings of the Integers Conference 2007, Walter de Gruyter, Berlin, 2009, 171–184. Theorem 1. doi: 10.1515/9783110208504.171.DOI
  21. [21]B. Pouly, Long runs and rare patterns of a random completely multiplicative function, preprint, version 3, 2026. doi: 10.5281/zenodo.22872154.
  22. [22]B. Pouly, An explicit bound below one half for a quartic Liouville correlation, 2026. Proposition on isotopy for even affine Liouville products and corollary on ordinary averages on each fixed progression. doi: 10.5281/zenodo.24443184.
  23. [23]B. Pouly, Reconstruction and sign prediction from sampled prime factors, 2026. doi: 10.5281/zenodo.24443266.
  24. [24]B. Pouly, Small roots of split quadratic congruences and fundamental units in a quartic family, 2026. doi: 10.5281/zenodo.24443299.
  25. [25]B. Pouly, Sharp Poisson approximation and second-order correction for long multiplicative runs, preprint, 2026. hexagon:2611.00447v1. doi: 10.5281/zenodo.24422727.
  26. [26]I. Pyliaev, Random Chwla and Goldbach Conjectures, preprint, 2026, version 1, 10 November 2026. Theorem 1.5. arXiv:2611.14579v1.
  27. [27]J. G. Skellam, The Frequency Distribution of the Difference between Two Poisson Variates Belonging to Different Populations, Journal of the Royal Statistical Society 109 (1946), no. 3, 296. doi:10.1111/j.2397–2335.1946.tb04670.x.pubmed.ncbi.nlm.nih.gov/20256640
  28. [28]M. Rubinstein, An independent check of the Lean proof of RH and GRH, verification report and logs, accessed 22 November 2026. https://mrubin st.github.io/grh-lean-verification/.
  29. [29]A. V. Sutherland, Verification files for the Lean proof of the Riemann Hypothesis, statements 3–5 and verification logs, 22 November 2026. https://math.mit.edu/~drew/grh/.
  30. [30]R. C. Vaughan and T. D. Wooley, Further improvements in Waring’s problem, Acta Mathematica 174 (1995), no. 2, 147–240. Lemma 3.5, p. 162. doi: 10.1007/BF02392467.DOI
  31. [31]A. Weil, On Some Exponential Sums, Proceedings of the National Academy of Sciences of the United States of America 34 (1948), no. 5, 204–207, especially p. 206. doi: 10.1073/pnas.34.5.204.DOI

Paper details

vlnc:W_akucjp3s
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
  • Mathematics

OpenAI ChatGPT, OpenAI Codex

View statement
Looking for related papers…
Contents