Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7(b) — an optimal stationary plan under essential finiteness

Proved
DiscountedDP.Stationary.theorem7b_optimal_stationary

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

dynamic-programmingoptimalityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stationary-policy

Suppose a Markov plan π=(f1,f2,…)\pi=(f_1,f_2,\ldots)π=(f1​,f2​,…) makes the action set essentially finite: on each piece SnS_nSn​ of a countable Borel partition, every action is equivalent at its state to one of f1(s),…,fn(s)f_1(s),\ldots,f_n(s)f1​(s),…,fn​(s). Then there is a measurable rule f:S→Af:S\to Af:S→A whose stationary plan is optimal:

I(π′)(s)≤I(f(∞))(s)for every plan π′ and every s∈S.I(\pi')(s)\le I(f^{(\infty)})(s)\qquad\text{for every plan }\pi'\text{ and every }s\in S.I(π′)(s)≤I(f(∞))(s)for every plan π′ and every s∈S.

A plan in the comparison class may randomize and depend on its entire observed history. The theorem includes finite action sets through an enumeration by constant rules.

Formalization Note The partition is Borel, its pieces may be empty, and on Lean's zero-based piece nnn the permitted rules have indices 0,…,n0,\ldots,n0,…,n. This corresponds to the paper's piece Sn+1S_{n+1}Sn+1​ and rules f1,…,fn+1f_1,\ldots,f_{n+1}f1​,…,fn+1​. Action equivalence is the paper's primary reward-and-transition definition.

Preamble
import Mathlib
import Definitions.Def_DiscountedDP_Stationary_Operators
Formal statement
namespace DiscountedDP.Stationary

open MeasureTheory ProbabilityTheory

/-- Blackwell (1965), Theorem 7(b), p. 234: essential finiteness yields
a stationary plan optimal among all randomized history-dependent plans. -/
theorem theorem7b_optimal_stationary
    {S A : Type*} [MeasurableSpace S] [StandardBorelSpace S] [Nonempty S]
    [MeasurableSpace A] [StandardBorelSpace A] [Nonempty A]
    (P : Problem S A) (π : MarkovPlan S A) (hπ : EssFinite P π) :
    ∃ f : {g : S → A // Measurable g},
      IsOptimal P (stationary f).toPlan := by sorry

end DiscountedDP.Stationary
Source
Blackwell, Discounted Dynamic Programming, Ann. Math. Statist. 36 (1965), p. 234 (PDF 9), Theorem 7(b)
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