Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(3.13), proof of Lemma 4, p. 10 — three-point inequality for the KL prox step (3.6) with a regularizer of modulus ω

Proved
AvgRewardPMD.SPMD.three_point

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

kl-divergencep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1policy-mirror-descentprox-mappingthree-point-lemma

Fix a state and drop it from the notation. Let H:Δ∣A∣→RH:\Delta_{|\mathcal A|}\to\mathbb RH:Δ∣A∣​→R be convex and satisfy (2.2) with modulus ω≥0\omega\ge0ω≥0: at every strictly positive p′∈Δ∣A∣p'\in\Delta_{|\mathcal A|}p′∈Δ∣A∣​ some subgradient ggg gives H(p)−[H(p′)+⟨g,p−p′⟩]≥ωDp′pH(p)-[H(p')+\langle g,p-p'\rangle]\ge\omega D^p_{p'}H(p)−[H(p′)+⟨g,p−p′⟩]≥ωDp′p​ for all p∈Δ∣A∣p\in\Delta_{|\mathcal A|}p∈Δ∣A∣​. Let λ≥0\lambda\ge0λ≥0, Q∈R∣A∣Q\in\mathbb R^{|\mathcal A|}Q∈R∣A∣, let q∈Δ∣A∣q\in\Delta_{|\mathcal A|}q∈Δ∣A∣​ be strictly positive, and let q+∈Δ∣A∣q^+\in\Delta_{|\mathcal A|}q+∈Δ∣A∣​ be a minimizer of the prox step

p↦λ[⟨Q,p⟩+H(p)]+Dqpover p∈Δ∣A∣.p\mapsto\lambda\big[\langle Q,p\rangle+H(p)\big]+D^p_q\quad\text{over }p\in\Delta_{|\mathcal A|}.p↦λ[⟨Q,p⟩+H(p)]+Dqp​over p∈Δ∣A∣​.

Then for every p∈Δ∣A∣p\in\Delta_{|\mathcal A|}p∈Δ∣A∣​,

λ[⟨Q,q+−p⟩+H(q+)−H(p)]+Dqq+≤Dqp−(1+λω)Dq+p.\lambda\big[\langle Q,q^+-p\rangle+H(q^+)-H(p)\big]+D^{q^+}_q\le D^p_q-(1+\lambda\omega)D^p_{q^+}.λ[⟨Q,q+−p⟩+H(q+)−H(p)]+Dqq+​≤Dqp​−(1+λω)Dq+p​.

With Q=Qˉπk,ζk(s,⋅)Q=\bar{\mathcal Q}^{\pi_k,\zeta_k}(s,\cdot)Q=Qˉ​πk​,ζk​(s,⋅), q=πk(⋅∣s)q=\pi_k(\cdot\mid s)q=πk​(⋅∣s), q+=πk+1(⋅∣s)q^+=\pi_{k+1}(\cdot\mid s)q+=πk+1​(⋅∣s), λ=λk\lambda=\lambda_kλ=λk​ and H=hsH=h_sH=hs​ this is the paper's (3.13) for one step of SPMD. It is the first step of the proof of Lemma 4.

Formalization Note Dqp=∑ap(a)log⁡(p(a)/q(a))D^p_q=\sum_a p(a)\log(p(a)/q(a))Dqp​=∑a​p(a)log(p(a)/q(a)) with Real.log; since qqq is strictly positive, DqpD^p_qDqp​ is the true KL divergence for every ppp. The theorem's hypotheses force q+q^+q+ to be strictly positive as well, so Dq+pD^p_{q^+}Dq+p​ is the true KL divergence.

Differences from the source:

  • encoding: Q̄^{π_k,ζ_k}(s,·), π_k(·|s), π_{k+1}(·|s) of the SPMD run at a state s → an arbitrary vector Q, a strictly positive q ∈ Δ_|A| and any minimizer q⁺ of the prox step; reason: (3.13) is a statement about one prox step at one state; every SPMD iterate is strictly positive (π_0 is uniform and each KL prox minimizer is strictly positive), so the SPMD step is an instance
  • generalization: λ_k, a stepsize (positive) → any λ ≥ 0; reason: λ > 0 is an instance
  • generalization: h^π closed convex → H convex on the simplex, closedness not assumed; reason: closed convex functions are an instance
  • reading: (2.2) for π′ ranging over all policies, with "the subgradient" ∇h^{π′} → (2.2) at strictly positive π′ only, for some subgradient; reason: at a boundary π′ the KL D^π_{π′} is +∞ for some π, so with ω > 0 no finite h, not even the paper's example h^π = ωD^π_{π_0}, satisfies (2.2) there; on the strictly positive policies, (2.2) for some subgradient at every point makes H − ω·(negative entropy) convex there, hence holds for every subgradient, so the two readings agree
Preamble
import Mathlib
import Definitions.Def_AvgRewardPMD_SPMD_Setting
Formal statement
namespace AvgRewardPMD.SPMD

theorem three_point {A : Type*} [Fintype A] [DecidableEq A] (H : (A → ℝ) → ℝ) (ω lam : ℝ)
    (hH : IsKLStrongConvexOn H ω) (hlam : 0 ≤ lam) (Q q qplus : A → ℝ)
    (hq : q ∈ stdSimplex ℝ A) (hqpos : ∀ a, 0 < q a) (hqplus : qplus ∈ stdSimplex ℝ A)
    (hmin : ∀ p ∈ stdSimplex ℝ A,
      lam * (∑ a, Q a * qplus a + H qplus) + kl qplus q ≤ lam * (∑ a, Q a * p a + H p) + kl p q) :
    ∀ p ∈ stdSimplex ℝ A,
      lam * (∑ a, Q a * (qplus a - p a) + H qplus - H p) + kl qplus q
        ≤ kl p q - (1 + lam * ω) * kl p qplus := by sorry

end AvgRewardPMD.SPMD
Source
Li, Wu, Lan, Stochastic first-order methods for average-reward Markov decision processes, arXiv:2205.05800v6, p. 10, proof of Lemma 4, (3.13)
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

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