Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.4 — law of the posterior mean

Proved
GittinsUCB.Patient.posterior_mean_law

by mikedeng1 · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

bayesian-banditgaussianp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

For a unit-variance prior N(μ0,1)N(\mu_0,1)N(μ0​,1), the posterior mean after LLL rewards is Gaussian with mean μ0\mu_0μ0​ and variance 1−σL21-\sigma_L^21−σL2​:

μL∼N(μ0,1−σL2).\mu_L\sim N(\mu_0,1-\sigma_L^2).μL​∼N(μ0​,1−σL2​).

This law identifies the distribution of the posterior-mean positive part in the lower index bound.

Formalization Note The claim includes L=0L=0L=0, when both sides are the point mass at μ0\mu_0μ0​. The function mapped under the model is the explicitly defined posterior recursion.

Preamble
import Mathlib
import Definitions.Def_GittinsUCB_Patient_Model
open MeasureTheory ProbabilityTheory Filter Asymptotics NNReal
Formal statement
namespace GittinsUCB.Patient

/-- Section 3.4: the distribution of the posterior mean at time `L`. -/
theorem posterior_mean_law (σW2 : ℝ≥0) (hW : 0 < σW2)
    (L : ℕ) (μ0 : ℝ) :
    (model μ0 1 σW2).map (postMean μ0 1 (σW2 : ℝ) L) =
      gaussianReal μ0 (1 - postVar 1 (σW2 : ℝ) L).toNNReal := by sorry

end GittinsUCB.Patient
Source
Russo, A Note on the Equivalence of Upper Confidence Bounds and Gittins Indices for Patient Agents, arXiv:1904.04732v1, p. 6, §3.4, paragraph following the explore-then-commit bound
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me