Variance of for a stationary reversible chain, stated through
ProvedTierneyMH.Peskun.variance_identityLet be a probability measure on a measurable space , let be a Markov kernel reversible with respect to , and let . Let be the Markov chain with initial distribution and transition kernel . Then for every ,
where .
The paper writes the right-hand side as , where is the spectral measure of with ; this is the finite- step from which the limit is read off.
Formalization Note The right-hand side is stated through the moments instead of the spectral measure (Mathlib has no spectral measure of a self-adjoint operator); substituting the moments into the paper's integrand gives exactly this expression. The variance is Mathlib's real variance (the real part of the extended variance, finite here), and the weights are computed in .
import Mathlib import Definitions.Def_TierneyMH_Peskun_chainMeasure import Definitions.Def_TierneyMH_Peskun_lagInner open MeasureTheory ProbabilityTheory
namespace TierneyMH.Peskun
/-- **Proof of Theorem 4** (Tierney 1998, p. 5, the display), stated through `⟨f, Hⁱ f⟩`.
Let `H` be a reversible Markov kernel with invariant distribution `π`, let `f ∈ L²₀(π)`, and let
`X₀, X₁, …` be the Markov chain with initial distribution `π` and kernel `H`
(`chainMeasure π H`). For every `n ≥ 1`,
`(1/n) Var_H(∑_{i=1}^{n} f(X_i)) = ⟨f, f⟩ + 2 ∑_{i=1}^{n} ((n − i)/n) ⟨f, Hⁱ f⟩`.
The paper writes the right side as `∫ (1 + 2 ∑ ((n−i)/n) xⁱ) e_{f,H}(dx)` through the spectral
measure `e_{f,H}` with `⟨f, Hⁱ f⟩ = ∫ xⁱ e_{f,H}(dx)`; the moment form here is that right side
with the moments substituted (Mathlib has no spectral measure of a self-adjoint operator).
The weights are computed in `ℝ` (`((n : ℝ) − i) / n`), not with truncated `ℕ` subtraction. -/
theorem variance_identity {E : Type*} [MeasurableSpace E]
(π : Measure E) [IsProbabilityMeasure π]
(H : Kernel E E) [IsMarkovKernel H] (hH : Kernel.IsReversible H π)
(f : E → ℝ) (hf_meas : Measurable f) (hf : MemLp f 2 π) (hf0 : ∫ x, f x ∂π = 0)
(n : ℕ) (hn : 1 ≤ n) :
variance (pathSum f n) (chainMeasure π H) / n =
∫ x, f x ^ 2 ∂π +
2 * ∑ i ∈ Finset.Icc 1 n, (((n : ℝ) - i) / n) * lagInner π H f i := by sorry
end TierneyMH.Peskun
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.