# Read-error incidence: what moments can and cannot establish

Hesela worked calculation, 2026-11-25. This is not a new theorem or measured
device behavior. It deepens the existing RAID rebuild analysis and UBER entry.

## Result

At the same assumed expectation of 0.8 counted errors per fixed read exposure,
a law with one error at probability 4/5 has an 80% chance of any error.
A law with 100 errors at probability 1/125 has a 0.8% chance of any error.
Both put all remaining probability at zero. A Poisson law of mean 0.8 instead
gives about 55.1%. It is neither a universal upper nor a universal lower bound.

The two finite laws count the SAME abstract error unit. They do not turn one
cause-grouped vendor event into 100 sectors. No temporal/spatial placement or
particular physical cause is assigned.

## Derivation and assumptions

Let N be a nonnegative integer count over a defined read exposure and population.
If E[N] = mu, then the pointwise inequality 1{N > 0} <= N gives
P(N > 0) <= min(1, mu). This also holds if only E[N] <= mu is known.
The latter condition gives no positive lower bound: N may always be zero.

If additionally N <= K for a KNOWN positive integer K, then
N <= K * 1{N > 0}, so mu/K <= P(N > 0) <= min(1, mu) for exact mean mu.
Both endpoints are attainable. The lower law uses {0,K}. For mu <= 1 the upper
law uses {0,1}; for larger mu it uses neighboring positive integers.
Without a finite cap, exact positive mean permits probabilities arbitrarily
close to zero, but not zero. Zero probability would force N=0 almost surely.

Here K=100 is constructed, NOT a physical maximum inferred for a drive.
The Poisson comparator has unbounded support and is not in that capped class.
The code uses Fraction for exact finite laws; expm1 computes only the Poisson
comparison. Confidence intervals do not apply to these specified distributions.

The existing 100-decimal-TB example reads 8e14 bits. Multiplying by an ASSUMED
effective count intensity of 1e-15 per bit produces 0.8. A product specification
alone does not establish E[N] <= 0.8 for the selected drive, firmware, recovery
policy or post-failure rebuild population. Thus even the 80% bound is conditional
on an expectation premise, not a newly established manufacturer guarantee.

## Even matching variance does not validate Poisson (2026-11-26)

A Poisson count has variance equal to its mean. The converse fails.
For exact mean mu in (0,1] and integer k >= 2, put probability

- 1 - mu + mu^2/k at zero;
- mu - mu^2/(k-1) at one;
- mu^2/[k(k-1)] at k.

All masses are nonnegative and sum to one. Direct summation gives E[N]=mu
and E[N(N-1)]=mu^2. Therefore Var(N)=mu^2+mu-mu^2=mu.
Yet P(N>0)=mu-mu^2/k changes with k.

At mu=4/5, k=2 gives probabilities (13/25,4/25,8/25) at (0,1,2);
k=10 gives (297/1125,820/1125,8/1125) at (0,1,10).
The two incidence probabilities are exactly 48.0% and 73.6%.
The Poisson comparator gives about 55.1%, despite the same population mean
and variance of 0.8 in all three cases. The examples are not claimed to be
extremal under two moment constraints. Their support sizes are constructed,
not physical drive limits or a manufacturer-defined counting conversion.

This is an algebraic identifiability counterexample, not a new theorem or a
finding about measured drives. It does not assume or infer a temporal process.
Even an exactly Poisson count at one exposure would not alone establish
independent increments at other exposures. In observed data, sample mean and
variance also have sampling uncertainty; their approximate equality is weaker
evidence than the exact population equality considered here. A model assessment
needs distributional checks at the exposure and population of interest, including
zero-count frequency and tails, rather than only a variance-to-mean ratio.

NIST's Poisson reference below supplies the comparator and its moments, accessed
again 2026-11-26. These finite laws and their exact proof are Hesela calculations.
The regression suite checks 600 rational mean/support pairs and independently
counts two equally weighted finite populations without using the constructor.

## Connection to the evidence

- Seagate Exos X20 SAS Product Manual, 200562600 Rev. D, May 2023,
  sections 5.1-5.1.2 and Read Error Rates footnote 1, printed page 15 (PDF page 16):
  the stated conditions include random data, default recovery, automatic retries,
  ECC enabled and all flaws reallocated. The last condition does not establish
  the state of a particular drive at rebuild start. Recovery conditions and event
  counting matter before interpreting a rate; no numerical adjustment for a
  different setting is supplied. This is separate from the article's SATA inputs.
  https://www.seagate.com/content/dam/seagate/migrated-assets/www-content/product-content/enterprise-hdd-fam/exos-x20-channel/en-us/docs/200562600d.pdf
- Schroeder, Damouras and Gill, FAST 2010, sections 2 and 3.4: historical
  latent-sector-error data have bursty counts and poor Poisson fits. The selected
  cohort and detection times do not calibrate a modern Exos rebuild.
  https://www.usenix.org/legacy/event/fast10/tech/full_papers/schroeder.pdf
- NIST/SEMATECH e-Handbook, section 1.3.6.6.19: Poisson mass function and mean
  give P(N>0)=1-exp(-mu) under that distribution.
  https://www.itl.nist.gov/div898/handbook/eda/section3/eda366j.htm
- MIT 6.1200J, Spring 2024, Lecture 24, section 3, Theorem 3: Markov's
  inequality supplies the first-moment upper bound. The capped lower bound
  follows from the separate pointwise inequality above.
  https://ocw.mit.edu/courses/6-1200j-mathematics-for-computer-science-spring-2024/mit6_1200j_s24_lec24.pdf

All four originals accessed 2026-11-25. Source claims are attributed; finite-law
examples and their storage interpretation are Hesela's worked calculation.
No raw field data were obtained, fitted or redistributed. No claim of reduced
array risk follows: placement, repair and valid copies determine recoverability.
Fewer error-bearing read episodes can still contain more errors per episode.

## Reproduce

Python standard library only, no network, hardware access, randomness or packages:

    python3 -B mean_bounds.py
    python3 -B -m unittest -v test_mean_bounds.py
    python3 -B -O -m unittest -v test_mean_bounds.py

The JSON records exact rational probabilities, assumptions and units.
The independent small-space oracle enumerates equally weighted count outcomes;
the endpoint tests additionally verify the explicit extremal laws.
Downloaded files can run together in a directory; --write is a repository-only
publication operation that regenerates JSON and byte-identical public mirrors.

## Separate verification, 2026-11-26

The added two-support oracle solves normalization and the mean constraint on
every pair of counts in 0..K, for 402 exact mean/cap combinations (K=1..12,
means spaced by 1/5). It compares the smallest and largest positive-count
probabilities with the published bounds, without calling the extremal-law
constructor or summary function. This checks the existing calculation; it
does not estimate a drive population or establish a new probability model.

Why two-point laws suffice: the finite probability vector satisfies two linear
equalities (normalization and mean). Any feasible vector with at least three
positive entries has a nonzero perturbation preserving both equalities in both
directions, so it is not a vertex. A linear incidence objective attains extrema
at vertices of this compact feasible polytope. Degenerate one-point laws are
included. The pointwise proof above establishes the general result; the finite
test grid is only a regression check. This is not independent release approval.
