Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1 — if π* ≧ (f, π*) for all f ∈ F, then π* is β-optimal

Proved
BlackwellDiscreteDP.Stationary.theorem_1

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

dynamic-programmingmarkov-decision-processoptimalityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Fix 0≤β<10\le\beta<10≤β<1 and a policy π∗\pi^*π∗ (not necessarily stationary). If no one-day deviation improves on π∗\pi^*π∗, that is,

Vβ(f,π∗)≤Vβ(π∗)for every decision rule f∈F,V_\beta(f,\pi^*)\le V_\beta(\pi^*)\qquad\text{for every decision rule } f\in F,Vβ​(f,π∗)≤Vβ​(π∗)for every decision rule f∈F,

then π∗\pi^*π∗ is β\betaβ-optimal: Vβ(π∗)≥Vβ(π)V_\beta(\pi^*)\ge V_\beta(\pi)Vβ​(π∗)≥Vβ​(π) coordinatewise for every policy π\piπ.

This is the verification principle of discounted dynamic programming; it reduces optimality against all (time-dependent) policies to a finite check over FFF.

Preamble
import Mathlib
import Definitions.Def_BlackwellDiscreteDP_Stationary_Model
Formal statement
namespace BlackwellDiscreteDP.Stationary

/-- Theorem 1, p. 720 (Blackwell, *Discrete Dynamic Programming*, Ann. Math. Statist. 33(2):719–726 (1962),
DOI 10.1214/aoms/1177704593):
"If π* ≧ (f, π*) for all f ε F, then π* is optimal."

Here "optimal" is the §3 notion at the fixed discount factor `β ∈ [0, 1)`: `V_β(π*) ≧ V_β(π)`
for every policy `π` (`IsBetaOptimal`). `π*` is an arbitrary policy, not necessarily
stationary. -/
theorem theorem_1 {St Act : Type} [Fintype St] [DecidableEq St] [Nonempty St] [Fintype Act] [Nonempty Act]
    (M : Model St Act)
    (β : ℝ) (hβ0 : 0 ≤ β) (hβ1 : β < 1) (πstar : Policy St Act)
    (h : ∀ f : St → Act, M.V β (Policy.cons f πstar) ≤ M.V β πstar) :
    M.IsBetaOptimal β πstar := by sorry

end BlackwellDiscreteDP.Stationary
Source
Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726 (1962), DOI 10.1214/aoms/1177704593, p. 720, Theorem 1
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

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