Lemma 2 — Poisson approximation:
ProvedSOSInference.Means.lemma_2Assume A1)–A4) in dimension , with densities differentiable with bounded gradients. Fix , a finite and an index . Then, as ,
that is, there is a constant (depending on , , and the model) with for all .
The number of sample points in a ball of volume of order is approximately Poisson with mean ; the lemma quantifies this binomial-to-Poisson approximation for the first-arrival time.
Formalization Note The constant is not uniform in . Only the first clause of Lemma 2 is posed; the second clause ("") is not supported by the estimate (26) its proof cites. For the regularity hypothesis is part of A4); for , where A4) asks only for positive densities, it is added, since the rate rests on a Taylor expansion of the density.
import Mathlib import Definitions.Def_SOSInference_Means_Tarr import Definitions.Def_SOSInference_Means_tauLaw
namespace SOSInference.Means
open MeasureTheory
/-- **Lemma 2** (first clause), p. 41 (Blanchet, Kang, Sample Out-of-Sample Inference Based on
Wasserstein Distance, arXiv:1605.01340v4, p. 41, Lemma 2): the Poisson approximation to the
binomial. Under A1)–A4), for fixed `λ ∈ ℝ^l`, any finite `t > 0` and every index `i`,
`P[T_i(n, λ) ≤ t] − P[τ(λ) ≤ t] = O(t^{1+1/l}/n^{1/l})` as `n → ∞`.
**Formalization Note.** The `O` is as `n → ∞` at fixed `t` ("any finite `t`"): the constant `C` may
depend on `t`, `λ`, `i` and the model, and is not uniform in `t`. The second clause of Lemma 2
(`= P[τ > t] O(1/n^l)`) is not posed: it is not supported by the (26) its proof cites. The
hypothesis `hreg` (densities differentiable with bounded gradients) is part of A4) for `l ≥ 2`;
for `l = 1` it is added, since A4) then asks only positivity and the `O(n^{−1/l})` rate comes
from a Taylor expansion of the density (p. 40). -/
theorem lemma_2 {l : ℕ} (hl : 1 ≤ l) (M : Model l) (hM : M.Standing) (hreg : M.SmoothDensities)
(lam : E l) (t : ℝ) (ht : 0 < t) (i : ℕ) :
∃ C : ℝ, ∀ n : ℕ, ∀ hi : i < n,
|(M.P {ω | Tarr M n ⟨i, hi⟩ lam ω ≤ t}).toReal - ((tauLaw M lam) (Set.Iic t)).toReal| ≤
C * t ^ (1 + 1 / (l : ℝ)) / (n : ℝ) ^ (1 / (l : ℝ)) := by sorry
end SOSInference.Means
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.