Documentation

LeanPool.RareSubtreePatterns.ChenStein.SteinSolution

The Stein solution for the Poisson law #

For a rate r > 0 and an event A ⊆ ℕ, steinSolution r A solves the Poisson Stein equation

r f(w + 1) - w f(w) = 1_A(w) - Po(r)(A) for every w : ℕ,

and is bounded by one in absolute value. Writing F = P(Z ≤ w), T = P(Z > w) and p_w = P(Z = w) for Z ~ Po(r), the explicit numerator is bounded by F T, and F T ≤ r p_w follows from the head bound (r - w) F ≤ r p_w and the tail bound (w + 1 - r) T ≤ r p_w, both consequences of the recursion (k + 1) p_{k+1} = r p_k.

This is the analytic input to the Arratia–Goldstein–Gordon Chen–Stein bound (Proposition prop:AGG of the source); it is the crude Stein factor ‖f‖ ≤ 1 and not the sharper factors of AGG89.

Head bound: (r - w) P(Z ≤ w) ≤ r P(Z = w) for Z ~ Po(r).

@[reducible, inline]
noncomputable abbrev PoissonDeclumping.ChenStein.poissonWeight (r : NNReal) (n : ℕ) :

The Poisson weights exp (-r) r ^ n / n! as a real function.

Equations
Instances For

    Tail bound: (w + 1 - r) P(Z > w) ≤ r P(Z = w) for Z ~ Po(r).

    noncomputable def PoissonDeclumping.ChenStein.steinSolution (r : NNReal) (A : Set ℕ) :
    ℕ → ℝ

    The Stein solution of r f(w+1) - w f(w) = 1_A(w) - Po(r)(A), normalized by f 0 = 0.

    Equations
    Instances For

      The Stein solution is bounded by one.

      theorem PoissonDeclumping.ChenStein.abs_sub_le_two_mul_of_abs_le_one {f : ℕ → ℝ} (hf : ∀ (k : ℕ), |f k| ≤ 1) (a d : ℕ) :
      |f (a + d) - f a| ≤ 2 * ↑d

      A function bounded by one changes by at most 2 d over a step of length d.

      The Stein equation: r f(w+1) - w f(w) = 1_A(w) - Po(r)(A) for every w : ℕ.

      Increments of the Stein solution are bounded by two.

      theorem PoissonDeclumping.ChenStein.integral_steinOperator_poissonMeasure (r : NNReal) {f : ℕ → ℝ} {C : ℝ} (hf : ∀ (k : ℕ), |f k| ≤ C) :
      ∫ (n : ℕ), ↑r * f (n + 1) - ↑n * f n ∂ProbabilityTheory.poissonMeasure r = 0

      Stein identity for the Poisson law: E[r f(Z+1) - Z f(Z)] = 0 for Z ~ Po(r) and any bounded f. (Not needed for the Chen–Stein bound itself, which only uses the Stein equation pointwise.)