Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma B.1, p. 29 — the predictive laws of the next observation are no farther apart in total variation than the window posteriors

Proved
FiniteMemQL.Convergence.lemma_B_1

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

data-processingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pomdptotal-variation

Let π,π∗\pi,\pi^*π,π∗ be probability measures on X\mathbb XX, viewed as priors on the state Xt−NX_{t-N}Xt−N​ at the oldest time of a window I=(yt−N,…,yt;ut−N,…,ut−1)I=(y_{t-N},\dots,y_t;u_{t-N},\dots,u_{t-1})I=(yt−N​,…,yt​;ut−N​,…,ut−1​), and let ut∈Uu_t\in\mathbb Uut​∈U. Then

∥Pπ(Yt+1∈⋅∣I,ut)−Pπ∗(Yt+1∈⋅∣I,ut)∥TV≤∥Pπ(Xt∈⋅∣I)−Pπ∗(Xt∈⋅∣I)∥TV.\bigl\|P^{\pi}(Y_{t+1}\in\cdot\mid I,u_t)-P^{\pi^*}(Y_{t+1}\in\cdot\mid I,u_t)\bigr\|_{TV} \le\bigl\|P^{\pi}(X_t\in\cdot\mid I)-P^{\pi^*}(X_t\in\cdot\mid I)\bigr\|_{TV}.​Pπ(Yt+1​∈⋅∣I,ut​)−Pπ∗(Yt+1​∈⋅∣I,ut​)​TV​≤​Pπ(Xt​∈⋅∣I)−Pπ∗(Xt​∈⋅∣I)​TV​.

This data-processing inequality is used in the proof of Theorem 3.2 to compare the transition weights of the true and the approximate finite-window models.

Formalization Note Both sides carry the same factor 222 of the paper's total variation norm, so the statement uses sup⁡B∣μ(B)−ν(B)∣\sup_B|\mu(B)-\nu(B)|supB​∣μ(B)−ν(B)∣ (MarkovChainCLT.tvDist). The paper's index set YN×UN\mathbb Y^N\times\mathbb U^NYN×UN is read as YN+1×UN+1\mathbb Y^{N+1}\times\mathbb U^{N+1}YN+1×UN+1 (window plus current action), as the displayed tuple requires. On a window of probability zero the posterior is the zero measure.

Preamble
import Mathlib
import Definitions.Def_TotalVariationDist
import Definitions.Def_FiniteMemQL_Convergence_Model
import Definitions.Def_FiniteMemQL_Convergence_Setting

open MeasureTheory ProbabilityTheory Filter Finset Topology
Formal statement
namespace FiniteMemQL.Convergence

/-- Lemma B.1 (arXiv:2103.12158v4, p. 29). For prior laws `π, π*` of the state at the oldest time
of a window `I` and an action `u`, the total variation distance between the predictive laws of the
next observation is at most that between the window posteriors. Both sides of the printed
inequality carry the paper's factor 2 (`‖·‖_TV = 2 sup_B`), so it is stated with `tvDist`. The
printed index set `Y^N × U^N` is a slip for `Y^(N+1) × U^(N+1)`: the window has `N + 1`
observations and, with `u`, `N + 1` actions. -/
theorem lemma_B_1 {X Y U : Type*} [MeasurableSpace X] [StandardBorelSpace X]
    [Fintype Y] [DecidableEq Y] [Nonempty Y] [MeasurableSpace Y] [DiscreteMeasurableSpace Y]
    [Fintype U] [DecidableEq U] [Nonempty U] [MeasurableSpace U] [DiscreteMeasurableSpace U]
    (M : POMDP X Y U)
    {N : ℕ} (π πs : Measure X) [IsProbabilityMeasure π] [IsProbabilityMeasure πs]
    (I : Window Y U N) (u : U) :
    MarkovChainCLT.tvDist (predYMeasure M π I u) (predYMeasure M πs I u) ≤
      MarkovChainCLT.tvDist (post M π I) (post M πs I) := by sorry

end FiniteMemQL.Convergence
Source
Kara, Yüksel, Convergence of finite memory Q learning for POMDPs and near optimality of learned policies under filter stability, arXiv:2103.12158v4, p. 29, Appendix B, Lemma B.1
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 23, 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