WindowTails #
Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.
Geometric tails for the random minimal scale #
The random minimal scale of a bad-window family has an exponential tail once
the individual bad-window probabilities do. This module keeps the prefactor
form P[N ≤ Z] ≤ C exp (-c₀ N), which preserves the rate and makes the
length-zero window free.
Contents #
measureReal_le_tsum_of_subset— real countable subadditivity along an inclusion, with no measurability hypothesis on the sets.minimalScale_tail_sum_le— the geometric summation over the windows of length≥ Mcovered byminimalScaleEN_tail_eq.minimalScaleEN_exp_tail_const— the packaged prefactor tail bound.measureReal_le_card_mul_of_cover— the union bound over a finite family of centres covering a bad window.count_exp_absorb_const— absorption of a centre count into the prefactor.windowTailConstandwindowScale_tail_const_of_center_tails— the assembled producer.
Everything is generic over the sample space Ω, the measure P, and the centre
index type ι: no source-specific carrier appears. In particular the centre
count and the covering property are inputs of the assembly lemmas here; a
consumer with a concrete centre family discharges both as theorems.
A vanishing upper bound on all natural-number tails excludes the infinite value. No measurability of the random scale is needed.
A shifted exponential tail makes an extended-natural random scale finite almost surely.
Real countable subadditivity along an inclusion. If S ⊆ ⋃ i, T i and
each P.real (T i) is dominated by a summable nonnegative b i, then
P.real S ≤ ∑' i, b i. The route is measure_iUnion_le in ℝ≥0∞, which is
valid for arbitrary — not necessarily measurable — sets, followed by a single
toReal.
The core geometric summation. The tail at level M + 1 sums the
per-window bounds over all windows of length ≥ M.
The geometric tail of the minimal scale, prefactor form. From per-window
tails P[bad n] ≤ B · exp (-c₀ n) with B ≥ 1, the minimal scale satisfies
P[N ≤ Z] ≤ (B · exp c₀ / (1 - exp (-c₀))) · exp (-c₀ N),
with the rate untouched and the geometric-summation constant explicit.
The union bound over a finite covering family #
Union bound along a finite covering family. If every sample in the event
{q} is witnessed by some member z of the finite family Z, and each event
{p z} has probability at most K, then P[q] ≤ |Z| · K. No measurability of
any of the sets is required.
Absorbing a centre count into the rate #
Centre-count absorption, prefactor form.
3^{D(n+1)} · exp (-c₁ n) ≤ 3^D · exp (-c₀ n) as soon as
c₁ ≥ D · log 3 + c₀. Unlike count_exp_absorb this form keeps an
n-proportional per-window rate; the price is the constant 3^D.
The prefactor constant #
The prefactor of the minimal-scale tail in its rate-preserving form: a
centre count 3^D times the geometric-summation constant
exp c₀ / (1 - exp (-c₀)).
Instances For
Weaken the rate of a probability tail, retaining its prefactor and handling length zero.
The assembled producers #
The minimal-scale tail from per-centre window tails, prefactor form.
Same architecture as windowScale_tail_of_center_tails, but with the
per-witness tails at the n-proportional rate exp (-c₁ n) and required only
for n ≥ 1: the length-0 window is absorbed by P ≤ 1 ≤ 3^D. The conclusion
keeps the rate c₀ untouched and pays the prefactor windowTailConst D c₀.