(2.2), pp. 535–536 — the basic identity for E[Wf(W) − λf(W + 1)]
ProvedPoissonDepTrials.MixSqrt.basic_identityLet be Bernoulli random variables on a probability space , possibly dependent, with , and put and . As on p. 535, is taken to be identically zero when or .
Fix a nonnegative integer and let , , and be as in the setting. Then for every real-valued function on the nonnegative integers,
No assumption on the dependence between the trials is made.
This is the identity from which the whole method starts: choosing as the solution of the Stein equation turns its left side into , and choosing gives the variance identity (4.7).
Formalization Note The trials are a sequence that is measurable, almost surely -valued, and identically at index and above (the paper's padding convention, which changes no -algebra). is defined as , not a free parameter. The double sums run over ; terms with outside this range vanish because there. Index differences are computed in .
import Mathlib import Definitions.Def_PoissonDepTrials_MixSqrt_Setting open MeasureTheory ProbabilityTheory
namespace PoissonDepTrials.MixSqrt
/-- Chen (1975), §2, pp. 535–536, the basic identity (2.2). For an arbitrary sequence of
dependent Bernoulli trials and every real function `f` on the nonnegative integers,
`E[Wf(W) − λf(W + 1)] = ΣΣ_{0<|i−j|≤m} E[X_iX_jΔf(Y'_{i,j−1} + 1)]
+ Σ_i E[(X_i − p_i)f(V^{(i)} + 1)] − ΣΣ_{|i−j|≤m} p_i E[X_jΔf(Y_{i,j−1} + 1)]`. -/
theorem basic_identity {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(n : ℕ) (X : ℕ → Ω → ℕ) (hX : IsBernoulliTrials P n X) (m : ℕ) (f : ℕ → ℝ) :
∫ ω, ((W n X ω : ℝ) * f (W n X ω) - lam P n X * f (W n X ω + 1)) ∂P =
(∑ i ∈ Finset.Icc 1 n, ∑ j ∈ Finset.Icc 1 n with 0 < |(i : ℤ) - (j : ℕ)| ∧ |(i : ℤ) - (j : ℕ)| ≤ m,
∫ ω, (X i ω : ℝ) * X j ω * delta f (Y' n m X i ((j : ℤ) - 1) ω + 1) ∂P)
+ (∑ i ∈ Finset.Icc 1 n, ∫ ω, ((X i ω : ℝ) - prob P X i) * f (V n m X i ω + 1) ∂P)
- ∑ i ∈ Finset.Icc 1 n, ∑ j ∈ Finset.Icc 1 n with |(i : ℤ) - (j : ℕ)| ≤ m,
prob P X i * ∫ ω, (X j ω : ℝ) * delta f (Y n m X i ((j : ℤ) - 1) ω + 1) ∂P := by sorry
end PoissonDepTrials.MixSqrt
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.