OctoInform Beta

OpenAI preprint, September 2026 · §4. Entropy enrichment from a forward segment · §4

The averaged signed residue entropy fZf_Z and the forward transition: Defining the averaged signed residue entropy, the mean prime logarithm, and the uniform-difference transition on random walk times

Permutation-averaged entropy is concave and difference steps advance times.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Fix a step bound D≥1D \ge 1 and an infinite sequence (zt)t≥0(z_t)_{t \ge 0} of distinct points in ℤ[i]\mathbb{Z}[i] with |zt+1−zt|≤D|z_{t+1} - z_t| \le D. To track how the residue classes of a random walk point spread out modulo Gaussian prime factors of rational primes p≡1(mod⁡4)p \equiv 1 \pmod 4, one averages the Shannon entropy of its residues over random choices of prime factors and orderings, and compares successive levels as more primes are exposed. To enrich that entropy in one iteration of a sampling schedule, one specifies a forward transition that advances a random walk time using a uniformly chosen difference from a bounded segment of the walk.

Split sieves

Replacing the chosen irreducible factors of the primes of a sieve, and their conjugates, by associates leaves unchanged the set of Gaussian integers divisible by none of them.A split sieve 𝒫\mathcal{P} consists of a finite set of rational primes p≡1(mod⁡4)p \equiv 1 \pmod 4 together with a choice, for each p∈𝒫p \in \mathcal{P}, of an irreducible Gaussian integer πp\pi_p of norm pp.✦ Writing k=|𝒫|k = |\mathcal{P}| for the number of primes in 𝒫\mathcal{P}, an enumeration of 𝒫\mathcal{P} is a bijection from {0,…,k−1}\{0,\dots,k-1\} onto 𝒫\mathcal{P}, ordering its primes as p0,…,pk−1p_0,\dots,p_{k-1}.✦

For a Gaussian integer π\pi and a sign b∈{+1,−1}b \in \{+1,-1\}, the signed factor π(b)\pi^{(b)} is π\pi when b=+1b = +1 and its conjugate π¯\overline{\pi} when b=−1b = -1.✦ The multiples of π\pi form the additive subgroup πℤ[i]={mπ+nπi:m,n∈ℤ}\pi\mathbb{Z}[i] = \{m\pi + n\pi i : m,n \in \mathbb{Z}\} of ℤ[i]\mathbb{Z}[i]✦, and the Gaussian residue class of z∈ℤ[i]z \in \mathbb{Z}[i] modulo π\pi is its coset z+πℤ[i]z + \pi\mathbb{Z}[i] in the quotient ℤ[i]/πℤ[i]\mathbb{Z}[i]/\pi\mathbb{Z}[i].✦ The residue cπ(z)∈ℕc_\pi(z) \in \mathbb{N} of zz modulo π\pi depends only on that coset and separates distinct cosets.✦

Given a split sieve 𝒫\mathcal{P} with enumerated primes p0,…,pk−1p_0,\dots,p_{k-1}, a sign vector σ=(σ0,…,σk−1)∈{+1,−1}k\sigma = (\sigma_0,\dots,\sigma_{k-1}) \in \{+1,-1\}^k, and a point z∈ℤ[i]z \in \mathbb{Z}[i], the residue vector R𝒫(σ,z)∈ℕkR_{\mathcal{P}}(\sigma, z) \in \mathbb{N}^k has ii-th entry cπpi(σi)(z)c_{\pi_{p_i}^{(\sigma_i)}}(z) for each 0≤i<k0 \le i < k.✦

Finite probability laws

A finite probability law PP on a finite sample space Ω\Omega is a function Ω→ℝ\Omega \to \mathbb{R} assigning to each outcome ω∈Ω\omega \in \Omega a nonnegative mass P(ω)P(\omega) such that ∑ω∈ΩP(ω)=1\sum_{\omega \in \Omega} P(\omega) = 1.✦ When Ω\Omega is nonempty, the uniform law Unif(Ω)\mathrm{Unif}(\Omega) on Ω\Omega is the finite probability law giving every ω∈Ω\omega \in \Omega mass |Ω|−1|\Omega|^{-1}.✦

Given a finite probability law PP on a finite set II and a kernel QQ assigning to each i∈Ii \in I a finite probability law QiQ_i on a finite set Ω\Omega, the joint law P⊗QP \otimes Q is the finite probability law on I×ΩI \times \Omega with mass (P⊗Q)(i,ω)=P(i)Qi(ω)(P \otimes Q)(i,\omega) = P(i)Q_i(\omega) at each pair (i,ω)(i,\omega).✦ Given a finite probability law PP on Ω\Omega and a map g:Ω→Λg : \Omega \to \Lambda into a finite set Λ\Lambda, the pushforward law g*Pg_* P is the finite probability law on Λ\Lambda giving each y∈Λy \in \Lambda the mass ∑ω∈g−1(y)P(ω)\sum_{\omega \in g^{-1}(y)} P(\omega).✦

Averaged entropies

For a finite probability law PP on Ω\Omega and a random variable X:Ω→ΛX : \Omega \to \Lambda with values in a set Λ\Lambda, the entropy Hf(P,X)H_f(P, X) is the natural-log Shannon entropy −∑xq(x)log⁡q(x)-\sum_x q(x) \log q(x), where q(x)=∑ω∈Ω:X(ω)=xP(ω)q(x) = \sum_{\omega \in \Omega : X(\omega) = x} P(\omega) and the sum runs over the finitely many x∈Λx \in \Lambda with q(x)>0q(x) > 0.✦ For a random vector X:Ω→ΛkX : \Omega \to \Lambda^k, a permutation η\eta in the symmetric group SkS_k on {0,…,k−1}\{0,\dots,k-1\}, and a level s∈ℕs \in \mathbb{N}, the prefix prefs(X,η)\mathrm{pref}_s(X, \eta) of the permuted vector maps ω∈Ω\omega \in \Omega to the vector in (Λ∪{⊥})k(\Lambda \cup \{\bot\})^k whose ii-th entry is X(ω)η(i)X(\omega)_{\eta(i)} for i<si < s and the blank symbol ⊥\bot for i≥si \ge s.✦

When residue maps depend on random signs and orderings, the entropy is computed at each fixed choice of signs and ordering before averaging over those choices.For a finite probability law PP on Ω\Omega, a random vector X:Ω→ΛkX : \Omega \to \Lambda^k, and a level s∈ℕs \in \mathbb{N}, the permutation-averaged entropy Hord(P,X,s)H_{\mathrm{ord}}(P, X, s) is the average over all η∈Sk\eta \in S_k of Hf(P,prefs(X,η))H_f(P, \mathrm{pref}_s(X, \eta)).✦ For a family (Xσ)σ∈{+1,−1}k(X_\sigma)_{\sigma \in \{+1,-1\}^k} of random vectors Xσ:Ω→ΛkX_\sigma : \Omega \to \Lambda^k indexed by sign vectors, the sign-averaged entropy Hsgn(P,(Xσ)σ,s)H_{\mathrm{sgn}}(P, (X_\sigma)_\sigma, s) is the average over all σ∈{+1,−1}k\sigma \in \{+1,-1\}^k of Hord(P,Xσ,s)H_{\mathrm{ord}}(P, X_\sigma, s).✦

Difference pairs

For a sequence z=(zt)t≥0z = (z_t)_{t \ge 0} in ℤ[i]\mathbb{Z}[i] and a step bound n∈ℕn \in \mathbb{N}, the initial walk segment E(z,n)E(z,n) is the finite set {z0,…,zn}⊂ℤ[i]\{z_0,\dots,z_n\} \subset \mathbb{Z}[i].✦ For any finite set E⊂ℤ[i]E \subset \mathbb{Z}[i], the difference set E−EE - E is the finite set {x−y:x,y∈E}\{x - y : x, y \in E\}.✦

For each difference d∈E(z,n)−E(z,n)d \in E(z,n) - E(z,n), a fixed choice function selects a chosen difference pair ρz,n(d)=(id,jd)∈{0,…,n}2\rho_{z,n}(d) = (i_d, j_d) \in \{0,\dots,n\}^2 satisfying zid−zjd=dz_{i_d} - z_{j_d} = d.✦ The difference pair law νz,n\nu_{z,n} is the finite probability law on {0,…,n}2\{0,\dots,n\}^2 obtained by drawing a difference dd uniformly from E(z,n)−E(z,n)E(z,n) - E(z,n) and taking its chosen pair ρz,n(d)\rho_{z,n}(d).✦

Random walk times

In the sampling schedule along a fixed walk, randomness resides in a finite law over nonnegative integer times while the walk itself stays deterministic.A law of start times 𝒯=(ℓ,P0)\mathcal{T} = (\ell, P_0) consists of a last time ℓ∈ℕ\ell \in \mathbb{N} and a finite probability law P0P_0 on {0,…,ℓ}\{0,\dots,\ell\}.✦ A forward step kernel 𝒦=(n,K)\mathcal{K} = (n, K) consists of a bound n∈ℕn \in \mathbb{N} and a family of finite probability laws KaK_a on {0,…,n}\{0,\dots,n\}, one for each start time a∈ℕa \in \mathbb{N}.✦

Given a last time ℓ∈ℕ\ell \in \mathbb{N} and a bound n∈ℕn \in \mathbb{N}, the endpoint time map ϕℓ,n\phi_{\ell,n} sends a binary coin b∈{+1,−1}b \in \{+1,-1\}, a start time t0∈{0,…,ℓ}t_0 \in \{0,\dots,\ell\}, and a pair (i,j)∈{0,…,n}2(i,j) \in \{0,\dots,n\}^2 to t0+i∈{0,…,ℓ+n}t_0 + i \in \{0,\dots,\ell+n\} when b=+1b = +1 and to t0+j∈{0,…,ℓ+n}t_0 + j \in \{0,\dots,\ell+n\} when b=−1b = -1.✦

The claim

Definition. Let 𝒫\mathcal{P} be a split sieve of k=|𝒫|k = |\mathcal{P}| primes p0,…,pk−1p_0,\dots,p_{k-1}, let PP be a finite probability law on a finite sample space Ω\Omega, and let Z:Ω→ℤ[i]Z : \Omega \to \mathbb{Z}[i] be a random Gaussian integer. For each level s∈ℕs \in \mathbb{N}, the sieve point entropy fZ(s)f_Z(s) is defined by fZ(s)=Hsgn(P,σ↦(ω↦R𝒫(σ,Z(ω))),s),f_Z(s) = H_{\mathrm{sgn}}\bigl(P,\, \sigma \mapsto (\omega \mapsto R_{\mathcal{P}}(\sigma, Z(\omega))),\, s\bigr),(1)✦ and the mean logarithm L*L_* of 𝒫\mathcal{P} is defined by L*=𝔼0≤i<klog⁡pi.L_* = \mathbb{E}_{0 \le i < k} \log p_i.(2)✦

For any finite probability law PP on a finite sample space Ω\Omega, any random vector X:Ω→ΛkX : \Omega \to \Lambda^k with values in a set Λ\Lambda, and any s∈ℕs \in \mathbb{N} with s+1<ks + 1 < k, the permutation-averaged entropy satisfies Hord(P,X,s+2)−Hord(P,X,s+1)≤Hord(P,X,s+1)−Hord(P,X,s).H_{\mathrm{ord}}(P, X, s+2) - H_{\mathrm{ord}}(P, X, s+1) \le H_{\mathrm{ord}}(P, X, s+1) - H_{\mathrm{ord}}(P, X, s).(3)✦

Given a sequence z=(zt)t≥0z = (z_t)_{t \ge 0} in ℤ[i]\mathbb{Z}[i] and a bound n∈ℕn \in \mathbb{N}, write z(a)z^{(a)} for the shifted sequence t↦za+tt \mapsto z_{a+t} and γ(b,(i,j))\gamma(b, (i,j)) for ii when b=+1b = +1 and jj when b=−1b = -1. The difference step kernel 𝒦z,n\mathcal{K}_{z,n} is the forward step kernel of bound nn whose law at each start time a∈ℕa \in \mathbb{N} is (𝒦z,n)a=γ*(Unif({+1,−1})⊗(b↦νz(a),n)).(\mathcal{K}_{z,n})_a = \gamma_* \Bigl(\mathrm{Unif}(\{+1,-1\}) \otimes \bigl(b \mapsto \nu_{z^{(a)}, n}\bigr)\Bigr).(4)✦ Given also a law of start times 𝒯=(ℓ,P0)\mathcal{T} = (\ell, P_0), the one-step time law step(𝒯,z,n)\mathrm{step}(\mathcal{T}, z, n) is the law of start times with last time ℓ+n\ell + n and probability law (ϕℓ,n)*(Unif({+1,−1})⊗(b↦P0⊗(a↦νz(a),n))).(\phi_{\ell,n})_* \Bigl(\mathrm{Unif}(\{+1,-1\}) \otimes \bigl(b \mapsto P_0 \otimes (a \mapsto \nu_{z^{(a)}, n})\bigr)\Bigr).(5)✦

In the paper, the result reads: for a batch 𝒫\mathcal{P} of kk distinct primes p≡1(mod⁡4)p \equiv 1 \pmod 4 in an interval [T,2T][T, 2T] with T>0T > 0 and L*=1k∑p∈𝒫log⁡pL_* = \frac{1}{k}\sum_{p \in \mathcal{P}} \log p, and for a finitely supported point variable Z∈ℤ[i]Z \in \mathbb{Z}[i], let 𝒮\mathcal{S} consist of ss primes chosen uniformly without replacement from 𝒫\mathcal{P} with independent fair signs, for 0≤s≤k0 \le s \le k, let HH denote Shannon entropy, and set F𝒮(Z)=(Zmod⁡π)π∈𝒮F_{\mathcal{S}}(Z) = (Z \bmod \pi)_{\pi \in \mathcal{S}}, where π\pi runs over the signed prime factors given by 𝒮\mathcal{S}, and fZ(s)=𝔼𝒮H(F𝒮(Z))f_Z(s) = \mathbb{E}_{\mathcal{S}} H(F_{\mathcal{S}}(Z)); one has fZ(0)=0f_Z(0) = 0, 0≤fZ(s)≤sL*0 \le f_Z(s) \le s L_*, and fZf_Z is concave on {0,…,k}\{0,\dots,k\}; moreover, conditional on the random time τ=t\tau = t, one chooses hh uniformly from Et−EtE_t - E_t, including zero, where Et={zt,…,zt+n}E_t = \{z_t,\dots,z_{t+n}\}, selects an ordered pair (X,Y)∈Et2(X, Y) \in E_t^2 with X−Y=hX - Y = h by a fixed deterministic rule, and lets VV equal XX or YY with probability 1/21/2 each using an independent coin.

What is checked

The definitions and inequality (1), (2), (3), (4), and (5) are stated over an arbitrary split sieve 𝒫\mathcal{P} of rational primes p≡1(mod⁡4)p \equiv 1 \pmod 4 with chosen irreducible factors of norm pp, a finite probability law PP on a finite sample space Ω\Omega, a random Gaussian integer Z:Ω→ℤ[i]Z : \Omega \to \mathbb{Z}[i] or an arbitrary random vector X:Ω→ΛkX : \Omega \to \Lambda^k, a level s∈ℕs \in \mathbb{N} with s+1<ks + 1 < k in the concavity bound, an arbitrary sequence (zt)t≥0(z_t)_{t \ge 0} in ℤ[i]\mathbb{Z}[i], a step bound n∈ℕn \in \mathbb{N}, and a law of start times 𝒯=(ℓ,P0)\mathcal{T} = (\ell, P_0) on {0,…,ℓ}\{0,\dots,\ell\}.