Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4(c) — f(s) ∈ E(s, f) always; G(s, f) empty and E(s, f) = {f(s)} for all s ⇒ f optimal

Proved
BlackwellDiscreteDP.NearOne.theorem_4c

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

blackwell-optimalitymarkov-decision-processp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In the finite decision model, let f∈Ff\in Ff∈F and, for each state sss, let E(s,f)E(s,f)E(s,f) be the set of actions aaa for which

p(s,a)x(f)=xs(f)andi(s,a)+p(s,a)y(f)=xs(f)+ys(f).p(s,a)x(f)=x_s(f)\quad\text{and}\quad i(s,a)+p(s,a)y(f)=x_s(f)+y_s(f).p(s,a)x(f)=xs​(f)andi(s,a)+p(s,a)y(f)=xs​(f)+ys​(f).
  1. Always f(s)∈E(s,f)f(s)\in E(s,f)f(s)∈E(s,f).
  2. If, for each sss, the set G(s,f)G(s,f)G(s,f) of Theorem 4(b) is empty and E(s,f)E(s,f)E(s,f) contains only the point f(s)f(s)f(s), then f(∞)f^{(\infty)}f(∞) is optimal in the sense of §4: there is β0<1\beta_0<1β0​<1 such that f(∞)f^{(\infty)}f(∞) is β-optimal against all policies for every β∈(β0,1)\beta\in(\beta_0,1)β∈(β0​,1).

This gives a checkable sufficient condition for a stationary policy to be optimal for all discount factors near 111.

Preamble
import Mathlib
import Definitions.Def_BlackwellDiscreteDP_NearOne_LimitMatrix
import Definitions.Def_BlackwellDiscreteDP_NearOne_Model
import Definitions.Def_BlackwellDiscreteDP_NearOne_GainBias
open Filter Topology Matrix
Formal statement
namespace BlackwellDiscreteDP.NearOne

/-- **Theorem 4(c).** For `f ∈ F` and each `s`, let `E(s, f)` be the set of `a` for which
`p(s, a)x(f) = x_s(f)` and `i(s, a) + p(s, a)y(f) = x_s(f) + y_s(f)`. Always `f(s) ∈ E(s, f)`.
If, for each `s`, `G(s, f)` is empty and `E(s, f)` contains only the point `f(s)`, then `f` is
optimal.

Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726 (1962),
DOI 10.1214/aoms/1177704593, p. 723, Theorem 4(c).

**Formalization Note.** The parenthetical claim "always `f(s) ∈ E(s, f)`" is the first conjunct.
"Optimal" is the §4 notion `IsOptimal` (β-optimal against all policies for all β in some
interval `(β₀, 1)`), applied to `f^(∞)`. -/
theorem theorem_4c {St Act : Type*} [Fintype St] [DecidableEq St] [Nonempty St]
    [Fintype Act] [Nonempty Act] (M : Model St Act)
    (f : St → Act) :
    (∀ s, f s ∈ M.gainBiasEqualSet f s) ∧
      ((∀ s, M.gainBiasImprovementSet f s = ∅) → (∀ s, M.gainBiasEqualSet f s = {f s}) →
        M.IsOptimal (Policy.stationary f)) := by sorry

end BlackwellDiscreteDP.NearOne
Source
Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726 (1962), DOI 10.1214/aoms/1177704593, p. 723, Theorem 4(c)
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