Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7(a) — essential countability and the optimality equation

Proved
DiscountedDP.Stationary.theorem7a_essentially_countable

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

dynamic-programmingoptimality-equationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stationary-policy

Suppose every action at every state is equivalent to a rule of a Markov plan π\piπ. Let u∗u^*u∗ be the fixed point of UπU_\piUπ​. Then u∗u^*u∗ is the pointwise optimal return over all randomized history-dependent plans, and on every u∈M(S)u\in M(S)u∈M(S),

Uπu=sup⁡a∈ATau.U_\pi u=\sup_{a\in A}T_au.Uπ​u=a∈Asup​Ta​u.

Consequently u∗u^*u∗ is the unique bounded Borel solution of u=sup⁡aTauu=\sup_aT_auu=supa​Ta​u. For every ε>0\varepsilon>0ε>0 there is a measurable stationary rule whose plan is ε\varepsilonε-optimal at every state against every plan.

This identifies the optimality equation in the essentially countable case without assuming that the action set itself is countable.

Formalization Note The fixed point is specified by Uπu∗=u∗U_\pi u^*=u^*Uπ​u∗=u∗ and bounded Borel membership; Theorem 5 supplies its existence. Equivalence of actions uses pointwise reward equality and equality of transition measures.

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

open MeasureTheory ProbabilityTheory

/-- Blackwell (1965), Theorem 7(a), p. 234. The four claims are kept together:
the optimal return, equality of operators, uniqueness of the bounded Borel
solution, and existence of pointwise ε-optimal stationary plans. -/
theorem theorem7a_essentially_countable
    {S A : Type*} [MeasurableSpace S] [StandardBorelSpace S] [Nonempty S]
    [MeasurableSpace A] [StandardBorelSpace A] [Nonempty A]
    (P : Problem S A) (π : MarkovPlan S A) (hπ : EssCountable P π)
    (ustar : S → ℝ) (hu : IsBM ustar)
    (hfix : ∀ s, U P π ustar s = ustar s) :
    (∀ s, ustar s = optReturn P s) ∧
    (∀ u, IsBM u → ∀ s, U P π u s = ⨆ a : A, Ta P a u s) ∧
    (∀ v, IsBM v → (∀ s, v s = ⨆ a : A, Ta P a v s) → v = ustar) ∧
    (∀ ε : ℝ, 0 < ε → ∃ f : {g : S → A // Measurable g},
      IsEOptimal 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(a)
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