Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4(e) — the nearly optimal g are exactly those with x(g) = x(f*) and y(g) = y(f*)

Proved
BlackwellDiscreteDP.NearOne.theorem_4e

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

average-rewardbiasmarkov-decision-processnearly-optimalp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In the finite decision model, let f0∈Ff_0\in Ff0​∈F be such that G(s,f0)G(s,f_0)G(s,f0​) is empty for every state sss. Then:

  1. x(f0)≥x(g)x(f_0)\ge x(g)x(f0​)≥x(g) for all g∈Fg\in Fg∈F.
  2. Let F∗F^*F∗ be the set of all g∈Fg\in Fg∈F with x(g)=x(f0)x(g)=x(f_0)x(g)=x(f0​). There is f∗∈F∗f^*\in F^*f∗∈F∗ with y(f∗)≥y(g)y(f^*)\ge y(g)y(f∗)≥y(g) for all g∈F∗g\in F^*g∈F∗.
  3. The nearly optimal g∈Fg\in Fg∈F are exactly those for which
x(g)=x(f∗)andy(g)=y(f∗).x(g)=x(f^*)\quad\text{and}\quad y(g)=y(f^*).x(g)=x(f∗)andy(g)=y(f∗).

Inequalities between vectors are coordinatewise, and "ggg is nearly optimal" means that the stationary policy g(∞)g^{(\infty)}g(∞) satisfies U(β)−Vβ(g(∞))→0U(\beta)-V_\beta(g^{(\infty)})\to0U(β)−Vβ​(g(∞))→0 as β→1\beta\to1β→1. The theorem characterizes near optimality as the lexicographic maximization of average income and then bias.

Formalization Note The three assertions form one statement, so that the f∗f^*f∗ of the third is the f∗f^*f∗ of the second. Near optimality is compared against all policies and stated without UUU, as in Theorem 4(d).

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(e).** For any `f₀` for which `G(s, f₀)` is empty for all `s`, `x(f₀) ≧ x(g)` for
all `g`. Denote by `F*` the set of all `g` such that `x(g) = x(f₀)`. There is an `f* ∈ F*` with
`y(f*) ≧ y(g)` for all `g ∈ F*`. The nearly optimal `g`'s are exactly those for which
`x(g) = x(f*)` and `y(g) = y(f*)`.

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

**Formalization Note.** All three assertions are in one statement so that the `f*` of the third
is the `f*` of the second. `≧` is coordinatewise; `g` ranges over all decision rules `F`; a rule
`g` is "nearly optimal" when the stationary policy `g^(∞)` is (`IsNearlyOptimal`, the §4 notion,
against all policies). -/
theorem theorem_4e {St Act : Type*} [Fintype St] [DecidableEq St] [Nonempty St]
    [Fintype Act] [Nonempty Act] (M : Model St Act)
    (f₀ : St → Act) (hG : ∀ s, M.gainBiasImprovementSet f₀ s = ∅) :
    (∀ g : St → Act, M.x g ≤ M.x f₀) ∧
      ∃ fstar : St → Act, M.x fstar = M.x f₀ ∧
        (∀ g : St → Act, M.x g = M.x f₀ → M.y g ≤ M.y fstar) ∧
        ∀ g : St → Act,
          (M.IsNearlyOptimal (Policy.stationary g) ↔ M.x g = M.x fstar ∧ M.y g = M.y fstar) := 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(e)
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