Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 — qˉ(t+1)≤qˉ(t)−ηqˉ(t)2\bar q(t+1)\le\bar q(t)-\eta\bar q(t)^2qˉ​(t+1)≤qˉ​(t)−ηqˉ​(t)2 implies qˉ(t)≤qˉ(0)/(1+ηqˉ(0)t)\bar q(t)\le\bar q(0)/(1+\eta\bar q(0)t)qˉ​(t)≤qˉ​(0)/(1+ηqˉ​(0)t)

Proved
SambaPG.lemma_1

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

bandit-algorithmsmarkov-chainsp2o-gran-per-chapterp2o-plan-paperp2o-v1policy-gradientregret

Let (qˉ(t):t∈Z+)(\bar q(t):t\in\mathbb Z_+)(qˉ​(t):t∈Z+​) be positive real numbers and η>0\eta>0η>0 such that

qˉ(t+1)≤qˉ(t)−η qˉ(t)2for all t.\bar q(t+1)\le\bar q(t)-\eta\,\bar q(t)^2\qquad\text{for all }t .qˉ​(t+1)≤qˉ​(t)−ηqˉ​(t)2for all t.

Then for all t∈Z+t\in\mathbb Z_+t∈Z+​,

qˉ(t)≤qˉ(0)1+η qˉ(0) t.\bar q(t)\le\frac{\bar q(0)}{1+\eta\,\bar q(0)\,t}.qˉ​(t)≤1+ηqˉ​(0)tqˉ​(0)​.

This is the discrete analogue of the differential equation q˙=−ηq2\dot q=-\eta q^2q˙​=−ηq2, and it turns the drift (12) of the embedded chain into the bound (13).

Differences from the source: none.

Preamble
import Mathlib
Formal statement
namespace SambaPG

/-- **Lemma 1 (discrete analogue of `q̇ = −η q²`).**
Denisov & Walton, arXiv:2007.10229v3, Lemma 1, p.8, eq. (7).

If `(q̄(t) : t ∈ ℤ₊)` is a sequence of positive reals with `q̄(t + 1) ≤ q̄(t) − η q̄(t)²` for all `t`
and some `η > 0`, then `q̄(t) ≤ q̄(0) / (1 + η q̄(0) t)` for all `t ∈ ℤ₊`. -/
theorem lemma_1 (qbar : ℕ → ℝ) (hpos : ∀ t, 0 < qbar t) {η : ℝ} (hη : 0 < η)
    (h7 : ∀ t, qbar (t + 1) ≤ qbar t - η * qbar t ^ 2) :
    ∀ t : ℕ, qbar t ≤ qbar 0 / (1 + η * qbar 0 * t) := by sorry

end SambaPG
Source
Denisov & Walton, Regret Analysis of a Markov Policy Gradient Algorithm for Multi-arm Bandits, arXiv:2007.10229v3, Lemma 1, p.8, eq. (7)
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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