What does Anti-Collapse Engineering with Two Anchors conclude, in numbers, about “Replace or Accumulate: the Counter-Evidence of Gerstgrasser and the Bound of pi^2/6”?

Answer: Chapter 3 sets out the contrary evidence of Gerstgrasser and colleagues: when real data are accumulated rather than replaced, the error of the mean in the Gaussian twin is capped by pi^2/6, that is 1.644934.

Scope of the numbers: Parameters are illustrative; all calculations are generated by the book's programs, which call no model interface and use no reader's or customer's data. Marked boxes separate published evidence, runnable Python calculations (22 programs), classical sources and the author's hypotheses.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 1.644934

nreplaceaccumulateratio
01.00001.0000001.0
12.00001.2500001.6
1011.00001.5580327.1
100101.00001.63508261.8
10001001.00001.643936608.9
1000010001.00001.6448346080.2
accumulate limit pi^2/6 = 1.644934
accumulate share of the limit at n = 10: 0.9472
pool size under accumulate after n = 100: 101 x N
Show the full program
# Chapter 3. p31: replace versus accumulate, exact mean-squared drift.
# Model: a normal law with known variance s^2 = 1 and unknown mean;
# each generation adds N points drawn from the current fit. Replace:
# the fit uses only the newest N points, so the error e_n of the mean
# is a random walk and E[e_n^2] = (n + 1) / N. Accumulate: the fit
# uses every point drawn so far; then e_n = e_{n-1} + eps_n / (n + 1)
# and E[e_n^2] = (1/N) * sum_{k=1}^{n+1} 1/k^2 < (pi^2/6) / N. This is
# the Gaussian twin of the linear-regression bound of Gerstgrasser et
# al. (2024). Values are N * E[e_n^2], free of N.
import math

GENS = (0, 1, 10, 100, 1000, 10000)


def replace(n):
    return float(n + 1)


def accumulate(n):
    return math.fsum(1.0 / (k * k) for k in range(1, n + 2))


print("n       replace     accumulate  ratio")
for n in GENS:
    r, a = replace(n), accumulate(n)
    print("%-7d %-11.4f %-11.6f %.1f" % (n, r, a, r / a))
print("accumulate limit pi^2/6 = %.6f" % (math.pi ** 2 / 6.0))
print("accumulate share of the limit at n = 10: %.4f"
      % (accumulate(10) / (math.pi ** 2 / 6.0)))
print("pool size under accumulate after n = 100: %d x N" % 101)

Single source and citation

Fan, Y. (2026). Anti-Collapse Engineering with Two Anchors of Truth: the Variance-Collapse Rate of Self-Generated Training Data and Immunity through Standard-Library Recomputation and Textual Collation (Version 1.0.0), Chapter 3: Replace or Accumulate: the Counter-Evidence of Gerstgrasser and the Bound of pi^2/6. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-265 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026265,
  author    = {Fan, Yafu},
  title     = {Anti-Collapse Engineering with Two Anchors of Truth: the Variance-Collapse Rate of Self-Generated Training Data and Immunity through Standard-Library Recomputation and Textual Collation},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book