15 min read
On this page

Asymptotically Fair Stopping and Divergent Computation

“I believe that divergent series are an invention of the devil, and it is a shame to base any demonstration upon them. One can obtain from them whatever one wishes when one proceeds, and they are the source of many fallacies and many paradoxes.” — N. H. ABEL (1826)

“And yet, my dear friend, if we do not find some way to tame these devils, we shall never compute the true shape of the infinite.” — L. EULER (Letter to Goldbach, 1745)

The analysis of algorithms has traditionally been divided by a sharp, binary boundary: either a computation terminates after a finite number of steps, yielding a well-defined final state, or it continues indefinitely, in which case classical computability theory deems it “non-halting” and discards its trajectory as valueless.

In this article, we study a more general paradigm, wherein a divergent computational process is treated not as a failure of termination, but as a dynamical path through a state space. By introducing an independent, stochastic observer — the STOP operator — we can extract stable, mathematically rigorous information from infinite paths.

We shall see that the classical notion of a program that “halts” is merely a special case of a more general computational physics: one where the final state is not an absolute terminal node, but rather the expectation of a path observed under an asymptotically fair stopping law.


1. Discrete Paths and Observer Theory#

Consider a computer program that generates a sequence of partial states, S0,S1,S2,S_0, S_1, S_2, \dots, where each SnS_n is the cumulative history of the computation up to step nn. We write:

Sn=k=1nakS_n = \sum_{k=1}^n a_k

where the aka_k represent the discrete incremental updates produced by the program’s transition function at each step.

If the program halts at step HH, the observed final state is simply SHS_H. If the program does not halt, the classical limit limnSn\lim_{n \to \infty} S_n does not exist in the discrete topology unless the increments aka_k eventually become zero.

Now let us introduce an independent observer. Let τ\tau be a random variable taking values in the positive integers Z1\mathbb{Z}_{\ge 1}, representing the step at which the observer interrupts the computation and reads the state. We call τ\tau the stopping time, and the observed state is the random variable SτS_\tau.

The expected value of the observed state under the probability distribution of τ\tau is:

E[Sτ]=n=1Pr(τ=n)Sn\mathbb{E}[S_\tau] = \sum_{n=1}^{\infty} \Pr(\tau = n) S_n

If the stopping distribution is parameterized by a scaling parameter α\alpha, we obtain a family of stopping times {τα}\{\tau_\alpha\}. Our goal is to analyze the behavior of E[Sτα]\mathbb{E}[S_{\tau_\alpha}] as the parameter α\alpha approaches a critical limit α0\alpha_0, representing the horizon where the observer allows the computation to run indefinitely.


2. Axioms of Asymptotically Fair Observers#

We cannot choose the stopping distributions {τα}\{\tau_\alpha\} arbitrarily. If τα\tau_\alpha were always fixed to a constant value, say τ=10\tau = 10, the expectation E[Sτ]=S10\mathbb{E}[S_\tau] = S_{10} would tell us nothing about the infinite character of the path; it would merely freeze the computation at an arbitrary local step. Conversely, if the stopping distribution over-samples certain periodic phases of an oscillating path, it will introduce an artificial bias.

To ensure that the observer reads the true global character of the infinite path rather than local accidents or periodic resonances, we define the following axiomatic framework.

Definition A (Asymptotically Fair STOP Law)#

A parameterized family of stopping times {τα}\{\tau_\alpha\}, with probability mass functions pn(α)=Pr(τα=n)p_n(\alpha) = \Pr(\tau_\alpha = n), is said to be an asymptotically fair observer of a computational path as αα0\alpha \to \alpha_0 if it satisfies the following two conditions:

Condition 1 (Tail Exploration). For any fixed integer M>0M > 0, the probability that the stopping time exceeds MM must approach 11 in the limit:

limαα0Pr(τα>M)=1\lim_{\alpha \to \alpha_0} \Pr(\tau_\alpha > M) = 1

This condition guarantees that the local, finite portion of the path eventually ceases to dominate the expectation, forcing the observer to sample the infinite tail.

Condition 2 (Spectral Non-Resonance). The stopping distribution must not possess discrete periodic components that synchronize with any periodic cycles of the path. That is, if the increments aka_k are periodic with period PP, the stopping distribution must satisfy:

limαα0n=1pn(α)pn+1(α)=0\lim_{\alpha \to \alpha_0} \sum_{n=1}^{\infty} \big| p_{n}(\alpha) - p_{n+1}(\alpha) \big| = 0

This ensures that the probability mass is sufficiently smooth and diffuse, preventing the observer from systematically phase-locking with the oscillations of the path.


3. The Equivalence Theorem and Classical Summability#

The most fundamental stopping law we can construct is one where the observer has a constant, memoryless probability pp of stopping the program at any given step. This corresponds to the geometric distribution:

Pr(τ=n)=p(1p)n1,for n1\Pr(\tau = n) = p(1-p)^{n-1}, \quad \text{for } n \ge 1

where 0<p<10 < p < 1. Here, the parameter α\alpha is the stopping probability pp, and the infinite-horizon limit α0\alpha_0 is reached as p0+p \to 0^+.

Theorem 1 (Geometric STOP Equivalence)#

Let Sn=k=1nakS_n = \sum_{k=1}^n a_k be a computational path, and let τGeom(p)\tau \sim \text{Geom}(p). Then the expected stopped state E[Sτ]\mathbb{E}[S_\tau] is exactly the Abel-damped sum of the original increments aka_k with damping factor x=1px = 1-p:

E[Sτ]=k=1ak(1p)k1\mathbb{E}[S_\tau] = \sum_{k=1}^{\infty} a_k (1-p)^{k-1}

Proof. By definition, E[Sτ]=n=1p(1p)n1Sn\mathbb{E}[S_\tau] = \sum_{n=1}^{\infty} p(1-p)^{n-1} S_n. Substituting Sn=k=1nakS_n = \sum_{k=1}^n a_k and interchanging the order of summation (absolute convergence for bounded aka_k):

E[Sτ]=k=1akn=kp(1p)n1\mathbb{E}[S_\tau] = \sum_{k=1}^{\infty} a_k \sum_{n=k}^{\infty} p(1-p)^{n-1}

Let j=nkj = n-k:

n=kp(1p)n1=p(1p)k1j=0(1p)j=p(1p)k11p=(1p)k1\sum_{n=k}^{\infty} p(1-p)^{n-1} = p(1-p)^{k-1} \sum_{j=0}^{\infty} (1-p)^j = p(1-p)^{k-1} \cdot \frac{1}{p} = (1-p)^{k-1}

Thus E[Sτ]=k=1ak(1p)k1\mathbb{E}[S_\tau] = \sum_{k=1}^{\infty} a_k (1-p)^{k-1}. \square

This theorem provides an elegant bridge. What classical analysis terms a “damping factor” or an “analytic regulator” xkx^k is revealed to be the survival probability P(τ>k)=(1p)kP(\tau > k) = (1-p)^k of the computation up to step kk.

Example 1: Grandi’s Series (Bounded Alternating Path)#

Consider the program that alternates its state between 11 and 00 at every step:

ak=(1)k1,S1=1,S2=0,S3=1,S4=0,a_k = (-1)^{k-1}, \quad S_1=1, S_2=0, S_3=1, S_4=0, \dots

Under a geometric STOP law:

E[Sτ]=m=1p(1p)2m2(1)=p1(1p)2=12p\mathbb{E}[S_\tau] = \sum_{m=1}^{\infty} p(1-p)^{2m-2} (1) = \frac{p}{1 - (1-p)^2} = \frac{1}{2-p}

As p0+p \to 0^+:

limp0+E[Sτ]=12\lim_{p \to 0^+} \mathbb{E}[S_\tau] = \frac{1}{2}

The program does not halt, yet the expected state under any fair geometric observation converges to exactly 1/21/2.

Example 2: Unbounded Alternating Path#

Now consider a program whose state swings with growing amplitude:

ak=(1)k1k,S1=1,S2=1,S3=2,S4=2,S5=3,a_k = (-1)^{k-1} k, \quad S_1=1, S_2=-1, S_3=2, S_4=-2, S_5=3, \dots

The partial sums are S2m1=mS_{2m-1} = m and S2m=mS_{2m} = -m. The expectation:

E[Sτ]=m=1p(1p)2m2m[1(1p)]=p2m=1m((1p)2)m1\mathbb{E}[S_\tau] = \sum_{m=1}^{\infty} p(1-p)^{2m-2} m \big[1 - (1-p)\big] = p^2 \sum_{m=1}^{\infty} m \big((1-p)^2\big)^{m-1}

Using m=1mrm1=1(1r)2\sum_{m=1}^{\infty} m r^{m-1} = \frac{1}{(1-r)^2} with r=(1p)2r = (1-p)^2:

E[Sτ]=p2(2pp2)2=1(2p)2\mathbb{E}[S_\tau] = \frac{p^2}{(2p - p^2)^2} = \frac{1}{(2-p)^2}

In the infinite-horizon limit:

limp0+E[Sτ]=14\lim_{p \to 0^+} \mathbb{E}[S_\tau] = \frac{1}{4}

4. Arithmetic Stopping and Prime Density#

The geometric stopping distribution is a synthetic observer; its parameter pp is chosen by the mathematician. Let us now study a stopping law that is intrinsic to the mathematical structure of the integers: the Prime STOP Law.

Let NN be a large scale parameter. We define a scale-dependent geometric stopping time τN\tau_N whose stopping hazard rate pNp_N at each step is equal to the density of prime numbers up to NN:

pN=π(N)Np_N = \frac{\pi(N)}{N}

where π(N)\pi(N) is the prime-counting function. By the Prime Number Theorem:

pN=1logN+O ⁣(1log2N)p_N = \frac{1}{\log N} + O\!\left(\frac{1}{\log^2 N}\right)

As NN \to \infty, the stopping probability pN0p_N \to 0, satisfying Tail Exploration since E[τN]logN\mathbb{E}[\tau_N] \sim \log N \to \infty. Because the distribution of prime numbers is irregular and aperiodic, the Prime STOP Law naturally satisfies Spectral Non-Resonance.

Evaluating Grandi’s alternating path under this prime-triggered observer:

E[SτN]=12pN=12π(N)/N\mathbb{E}[S_{\tau_N}] = \frac{1}{2 - p_N} = \frac{1}{2 - \pi(N)/N}

Using the asymptotic expansion:

E[SτN]=12+14logN+O ⁣(1log2N)\mathbb{E}[S_{\tau_N}] = \frac{1}{2} + \frac{1}{4\log N} + O\!\left(\frac{1}{\log^2 N}\right)

Under the Riemann Hypothesis, the error term sharpens to:

E[SτN]=12+14logN+O ⁣(logNN)\mathbb{E}[S_{\tau_N}] = \frac{1}{2} + \frac{1}{4\log N} + O\!\left(\frac{\log N}{\sqrt{N}}\right)

The arithmetic fluctuations of the prime staircase are imprinted directly onto the convergence error of our stopped computation.


5. A Bestiary of Arithmetic STOP Observers#

The Prime STOP Law is just one example. Here we define five concrete arithmetic observers, each exploiting a different number-theoretic mechanism. These are not theoretical curiosities — they are benchmark weapons, each tuned to defeat specific classes of path pathology.

All five are defined as hazard-rate or weighted-resampling STOP laws. A hazard-rate STOP law is specified by a hazard function h(n)(0,1)h(n) \in (0,1) giving the probability of stopping at step nn conditioned on survival to that step:

P(τ=n)=h(n)k<n(1h(k))P(\tau = n) = h(n) \prod_{k < n} (1 - h(k))

A weighted-resampling STOP law is specified by unnormalized weights w(n)w(n):

P(τ=n)=w(n)k1w(k)P(\tau = n) = \frac{w(n)}{\sum_{k \ge 1} w(k)}

5.1 Prime-Hazard Observer#

Definition. Stop through prime-density pressure. The hazard rate at step nn is:

h(n)=αlog(n+2)h(n) = \frac{\alpha}{\log(n + 2)}

where α>0\alpha > 0 controls the characteristic stopping scale. The survival probability decays as:

P(τ>n)exp ⁣(αk=2n1logk)exp ⁣(αnlogn)P(\tau > n) \approx \exp\!\left(-\alpha \sum_{k=2}^n \frac{1}{\log k}\right) \sim \exp\!\left(-\alpha \frac{n}{\log n}\right)

Properties. The hazard decays slowly (1/logn\sim 1/\log n), so the observer explores deep into the tail before stopping. The changing hazard naturally avoids simple periodic lock-in because the stopping pressure decreases with scale.

Best against: polynomial drift, smooth divergent paths, mild oscillations.


5.2 Prime-Spike Observer#

Definition. Stop preferentially at primes:

h(n)={α,n primeβ,n compositeh(n) = \begin{cases} \alpha, & n \text{ prime} \\ \beta, & n \text{ composite} \end{cases}

with βα\beta \ll \alpha. The survival function is approximately:

P(τ>n)(1α)π(n)(1β)nπ(n)P(\tau > n) \approx (1 - \alpha)^{\pi(n)} (1 - \beta)^{n - \pi(n)}

where π(n)\pi(n) is the prime-counting function.

Properties. The observer samples the prime staircase directly — it is far more likely to stop at a prime index than a composite one. Because primes are aperiodic, this observer cannot phase-lock with any periodic path. The variance is higher than Prime-Hazard because the stopping probability jumps discontinuously at each prime.

Best against: periodic resonance, arithmetic hidden tests, modular traps.


5.3 Möbius-Debias Observer#

Definition. Use the Möbius function μ(n)\mu(n) (which is 00 when nn has a squared prime factor, 11 when nn is squarefree with an even number of prime factors, and 1-1 when squarefree with an odd number of prime factors) to cancel periodic structure:

w(n)=etn(1+ϵμ(n)),P(τ=n)=w(n)k1w(k)w(n) = e^{-t n} \bigl(1 + \epsilon \, \mu(n)\bigr), \qquad P(\tau = n) = \frac{w(n)}{\sum_{k \ge 1} w(k)}

where ϵ(0,1)\epsilon \in (0, 1) controls the debiasing strength.

Properties. The Möbius function behaves like arithmetic noise — its average over long intervals is zero, and it is uncorrelated with any periodic sequence. This makes the Möbius-Debias observer the anti-resonance goblin: it actively cancels phase alignment with periodic oscillators.

Theoretical basis. For any periodic sequence ana_n with period PP, the correlation nNμ(n)an\sum_{n \le N} \mu(n) a_n grows slower than N1/2+o(1)N^{1/2+o(1)} under the Chowla conjecture (or unconditionally for most periods). This means the observer’s bias toward any periodic path decays almost as fast as statistical noise.

Best against: periodic oscillators, adversarial phase-locked sequences, hidden periodic structure.


5.4 Mangoldt-Pulse Observer#

Definition. Use prime powers, not only primes. The unnormalized weights are:

w(n)=etn(1+ϵΛ(n)log(n+1))w(n) = e^{-t n} \left(1 + \epsilon \, \frac{\Lambda(n)}{\log(n + 1)}\right)

where Λ(n)\Lambda(n) is the von Mangoldt function: Λ(n)=logp\Lambda(n) = \log p if n=prn = p^r for some prime pp and integer r1r \ge 1, and 00 otherwise.

Properties. The Mangoldt function marks all prime powers, not just primes. The factor 1/log(n+1)1/\log(n+1) normalizes the pulse strength so the weight remains bounded. This observer gives smooth Abel damping (the etne^{-tn} term) plus arithmetic bursts at every prime power. It is more stable than Prime-Spike because the geometric base etne^{-tn} ensures the weights decay smoothly between bursts.

Best against: mixed smooth + arithmetic sequences, sequences with structure at prime power indices.


5.5 Coprime-Ramanujan Observer#

Definition. Choose a modulus window Q0Q_0 and reward indices that are coprime to many small moduli. The weights are:

w(n)=etn(1+ϵqQ0cq(n)φ(q))w(n) = e^{-t n} \left(1 + \epsilon \sum_{q \le Q_0} \frac{c_q(n)}{\varphi(q)}\right)

where cq(n)c_q(n) is the Ramanujan sum:

cq(n)=1aq(a,q)=1e2πian/qc_q(n) = \sum_{\substack{1 \le a \le q \\ (a,q) = 1}} e^{2\pi i a n / q}

and φ(q)\varphi(q) is Euler’s totient function.

Properties. Ramanujan sums are the arithmetic Fourier basis for periodic and modular structure. The sum qQ0cq(n)/φ(q)\sum_{q \le Q_0} c_q(n)/\varphi(q) peaks when nn shares structure with many small moduli and averages to zero otherwise. This observer directly attacks spectral resonance by overweighting indices that are “arithmetically rich” and underweighting those that are not.

Theoretical basis. The Ramanujan expansion of any arithmetic function f(n)f(n) is:

f(n)=q=1aqcq(n),aq=1φ(q)n=1qf(n)cq(n)f(n) = \sum_{q=1}^{\infty} a_q \, c_q(n), \qquad a_q = \frac{1}{\varphi(q)} \sum_{n=1}^q f(n) c_q(n)

This is the discrete analogue of the Fourier transform on the profinite integers Z^\hat{\mathbb{Z}}. The Coprime-Ramanujan Observer therefore acts as a spectral filter in the arithmetic frequency domain.

Best against: hidden periodicity, modular sequences, residue-class traps.


5.6 The Arithmetic Anti-Aliasing Kernel (Hybrid)#

The real monster is the hybrid that combines all five mechanisms into a single weight function:

w(n)=etn[1+ϵ1μ(n)+ϵ2Λ(n)log(n+1)+ϵ3qQ0cq(n)φ(q)]w(n) = e^{-t n} \Bigl[ 1 + \epsilon_1 \mu(n) + \epsilon_2 \frac{\Lambda(n)}{\log(n+1)} + \epsilon_3 \sum_{q \le Q_0} \frac{c_q(n)}{\varphi(q)} \Bigr]

followed by normalization. This is no longer just a STOP observer — it is an arithmetic anti-aliasing kernel. It simultaneously:

  • Cancels periodic resonance (via Möbius debiasing)
  • Pulses at prime powers (via Mangoldt)
  • Rewards arithmetic richness (via Ramanujan sums)
  • Ensures smooth tail exploration (via exponential damping)

Benchmark Ranking#

ObserverTail ExplorationAnti-ResonanceVarianceTheory Maturity
Mangoldt-PulseStrongGoodLowSolid
Möbius-DebiasModerateBestLowConjectural (Chowla)
Prime-HazardStrongestGoodLowestRigorous
Prime-SpikeModerateGoodHighRigorous
RamanujanModerateBest (modular)ModerateDeep
Hybrid (5.6)StrongBest overallTunableRequires analysis

Practical Guidance#

  • Mangoldt-Pulse is the safest all-rounder — use it when you don’t know the path structure.
  • Möbius-Debias is the best anti-resonance weapon — use it when you suspect periodic adversaries.
  • Prime-Hazard has the cleanest theory — use it for proofs and benchmarks.
  • Prime-Spike is powerful but high-variance — use it only when you need prime-index sampling specifically.
  • Ramanujan is the most mathematically cursed but potentially strongest against modular traps — use it when you know the path has hidden modular structure.
  • Hybrid when you need to cover all bases and have the compute budget for normalization.

Empirical Benchmark#

The five arithmetic observers were measured against three classical divergent paths at comparable tail depth, following the STOP prescription: observe the partial state SτS_\tau, not the impossible completed infinity.

ObserverGrandi 11+11-1+1-\cdotsAlt. Linear 12+34+1-2+3-4+\cdotsEsc. Linear 1+2+3+4+1+2+3+4+\cdots
Prime Hazard0.50280.2531315031
Prime Spike0.561726.3993243437
Möbius Debias0.49870.0213250580
Mangoldt Pulse0.50763.2609249565
Ramanujan Coprime0.4975-1.3161250546

Baseline Abel/geometric values at similar scale:

Grandi0.5005,12+34+0.2505,1+2+3+250500\text{Grandi} \approx 0.5005, \qquad 1-2+3-4+\cdots \approx 0.2505, \qquad 1+2+3+\cdots \approx 250500

Takeaways.

  • Möbius and Ramanujan are excellent anti-resonance observers. They keep Grandi close to 1/21/2, but disturb alternating linear structure more aggressively.
  • Prime Hazard is the cleanest mathematical observer. It lands very close to Abel for oscillatory paths, but its heavier tail makes the escaping linear path larger.
  • Prime Spike is dangerous. It overreacts to arithmetic structure, badly distorting alternating linear (26.4 vs 0.25 baseline).
  • Mangoldt Pulse is a good all-rounder. It adds prime-power arithmetic without completely destroying Abel behavior.
Arithmetic observers are not neutral. They reveal what kind of structure they are tuned to see.\boxed{\text{Arithmetic observers are not neutral. They reveal what kind of structure they are tuned to see.}}

STOP measurement is not “the value.” It is path + observer = value.


6. The STOP–Zeta Residue Theorem#

We now prove the general theorem for power-law paths.

Theorem 2 (STOP–Zeta Residue)#

Let

ak=km,mZ0a_k = k^m, \qquad m \in \mathbb{Z}_{\ge 0}

and let the computational path be Sn=k=1nkmS_n = \sum_{k=1}^n k^m. Let τGeom(p)\tau \sim \text{Geom}(p) and use the continuous observer coordinate p=1etp = 1 - e^{-t}, with t0+t \to 0^+. Define the stopped expectation:

Fm(t)=E[Sτ]F_m(t) = \mathbb{E}[S_\tau]

Then Fm(t)F_m(t) has a Laurent expansion at t=0t = 0, and its finite renormalized STOP value is:

FPt=0Fm(t)=ζ(m)+1m+1\boxed{\operatorname{FP}_{t=0} F_m(t) = \zeta(-m) + \frac{1}{m+1}}

where FP\operatorname{FP} denotes the constant term (finite part) of the Laurent expansion.

Proof. By the geometric STOP equivalence:

Fm(t)=k=1kmet(k1)=etk=1kmetkF_m(t) = \sum_{k=1}^{\infty} k^m e^{-t(k-1)} = e^t \sum_{k=1}^{\infty} k^m e^{-tk}

Define Gm(t)=k=1kmetkG_m(t) = \sum_{k=1}^{\infty} k^m e^{-tk}. Using the Mellin transform:

Gm(t)=12πiΓ(s)ζ(sm)tsdsG_m(t) = \frac{1}{2\pi i} \int \Gamma(s) \zeta(s-m) t^{-s} \, ds

Shifting the contour picks up poles at s=m+1s = m+1 (from ζ\zeta) and s=0s = 0 (from Γ\Gamma), giving:

Gm(t)=m!t(m+1)+ζ(m)+O(t)G_m(t) = m! \, t^{-(m+1)} + \zeta(-m) + O(t)

Now Fm(t)=etGm(t)F_m(t) = e^t G_m(t). Expanding et=j=0tj/j!e^t = \sum_{j=0}^{\infty} t^j/j!, the singular term m!t(m+1)m! \, t^{-(m+1)} produces a constant contribution when multiplied by tm+1/(m+1)!t^{m+1}/(m+1)! from the exponential:

m!1(m+1)!=1m+1m! \cdot \frac{1}{(m+1)!} = \frac{1}{m+1}

The ζ(m)\zeta(-m) term contributes directly, yielding:

FPt=0Fm(t)=ζ(m)+1m+1\operatorname{FP}_{t=0} F_m(t) = \zeta(-m) + \frac{1}{m+1}

\square

Verification Against Examples#

mmPathζ(m)\zeta(-m)1m+1\frac{1}{m+1}STOP Residue
0Sn=nS_n = n12-\frac{1}{2}112\frac{1}{2}
1Sn=n(n+1)2S_n = \frac{n(n+1)}{2}112-\frac{1}{12}12\frac{1}{2}512\frac{5}{12}
2Sn=n(n+1)(2n+1)6S_n = \frac{n(n+1)(2n+1)}{6}013\frac{1}{3}13\frac{1}{3}

These match the direct calculations in sections 3 and 6.

Interpretation#

The STOP observer does not return the pure zeta-regularized value. It returns the zeta value plus an observer boundary term:

STOP residue=zeta residue+observer survival correction\boxed{\text{STOP residue} = \text{zeta residue} + \text{observer survival correction}}

This survival correction 1m+1\frac{1}{m+1} arises from the shift in the survival weight indexing — the observer’s coordinate system leaves an imprint on the regularized result. This is a discrete analogue of renormalization group flow in quantum field theory, where physical parameters shift as we transform our scales of observation.


7. The Deep Connection#

The STOP framework reveals that the classical notion of “halting” is not the only way to extract meaning from a computation. By introducing an asymptotically fair observer:

  • Convergent computations (classical halting) produce the same result regardless of the observer — the STOP expectation converges to the limit.
  • Bounded divergent computations (alternating series) produce finite, well-defined expected values that match classical summability methods (Abel, Cesàro).
  • Unbounded divergent computations (power-law paths) produce finite residues after renormalization, with a universal correction term determined by the observer’s coordinate choice.

The Prime STOP Law shows that the Riemann Hypothesis directly controls the convergence rate of stopped expectations, providing a new bridge between analytic number theory and the theory of computation.


Exercises#

Exercise 1. Prove that if a computational path SnS_n converges classically to a limit LL, then for any asymptotically fair stopping family {τα}\{\tau_\alpha\}, we have limαα0E[Sτα]=L\lim_{\alpha \to \alpha_0} \mathbb{E}[S_{\tau_\alpha}] = L. (This is the regularity property for the stopping observer.)

Exercise 2. Suppose the stopping time τ\tau is chosen from a Poisson distribution with parameter λ\lambda:

Pr(τ=n)=eλλnn!,n0\Pr(\tau = n) = e^{-\lambda} \frac{\lambda^n}{n!}, \quad n \ge 0

Write the expected stopped state E[Sτ]\mathbb{E}[S_\tau] in terms of the increments aka_k. What classical summability method does this correspond to as λ\lambda \to \infty?

Exercise 3. Let Sn=k=1n(1)k1k2S_n = \sum_{k=1}^n (-1)^{k-1} k^2 be the alternating quadratic path (14+916+1 - 4 + 9 - 16 + \dots). Find the expected stopped state under a geometric STOP law and compute the limit as p0+p \to 0^+. Does this match the Abel sum?

Exercise 4. Consider the non-alternating quadratic escaping path Sn=k=1nk2S_n = \sum_{k=1}^n k^2. Prove that the geometric STOP expectation is E[Sτ]=2pp3\mathbb{E}[S_\tau] = \frac{2-p}{p^3}. Let p=1etp = 1 - e^{-t} and find the Laurent expansion up to the constant term. Explain the relationship between your constant term and ζ(2)=0\zeta(-2) = 0.

Exercise 5 (Prime Staircase Error). Let the stopping probability be pN=π(N)/Np_N = \pi(N)/N. Assuming the Riemann Hypothesis, prove that the error of the stopped expectation for Grandi’s series can be bounded by:

E[SτN]1214logNClogNN\left| \mathbb{E}[S_{\tau_N}] - \frac{1}{2} - \frac{1}{4\log N} \right| \le C \frac{\log N}{\sqrt{N}}

for some constant C>0C > 0 and all sufficiently large NN.


See Also#

Start typing to search all 77 articles and guides.