Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

For each discount factor, some procedure in C′′C''C′′ is discount optimal over all of CCC

Proved
DermanSeqDecisions.Stationary.discount_optimal_stationary

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

discounted-costmarkov-decision-processp2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1stationary-policy

Let the states and the decisions be finite sets, every decision being available in every state, with transition probabilities qij(k)q_{ij}(k)qij​(k) and costs wik≥0w_{ik} \ge 0wik​≥0. For a procedure RRR and 0<α<10 < \alpha < 10<α<1 let VR(i,α)=∑t≥0αtWtV_R(i, \alpha) = \sum_{t \ge 0} \alpha^t W_tVR​(i,α)=∑t≥0​αtWt​ be its expected discounted cost from X0=iX_0 = iX0​=i.

Then for every α∈(0,1)\alpha \in (0, 1)α∈(0,1) there is a deterministic stationary procedure Rα∈C′′R_\alpha \in C''Rα​∈C′′, that is, a map fff assigning a decision f(i)f(i)f(i) to each state iii and used at every time regardless of the past, such that

VRα(i,α)≤VR(i,α)for every procedure R∈C and every state i.V_{R_\alpha}(i, \alpha) \le V_R(i, \alpha) \qquad \text{for every procedure } R \in C \text{ and every state } i.VRα​​(i,α)≤VR​(i,α)for every procedure R∈C and every state i.

Here CCC is the class of all history-dependent randomized procedures, so VRα(i,α)=min⁡R∈CVR(i,α)V_{R_\alpha}(i, \alpha) = \min_{R \in C} V_R(i, \alpha)VRα​​(i,α)=minR∈C​VR​(i,α), with one RαR_\alphaRα​ for all initial states.

This is the discounted version of Theorem 1 and the first step of its proof.

Formalization Note VR(i,α)V_R(i, \alpha)VR​(i,α) is discCost θ α i in [0,∞][0, \infty][0,∞]. Since discCost is defined for every real α\alphaα, the hypothesis 0<α<10 < \alpha < 10<α<1 is explicit.

Preamble
import Mathlib
import Definitions.Def_SennottDP_AvgFinite_Model
import Definitions.Def_SennottDP_AvgFinite_Criteria

open scoped ENNReal NNReal
open SennottDP.AvgFinite
Formal statement
namespace DermanSeqDecisions.Stationary

/-- A discount-optimal procedure in `C″` (Derman, *On Sequential Decisions and Markov Chains*,
Management Science 9(1):16–24 (1962), DOI 10.1287/mnsc.9.1.16, §2, proof of Theorem 1,
pp. 18–19, unnumbered). States `S` and decisions `Act` are finite, every decision is available
in every state, and the costs `w_ik = M.C i k` are nonnegative. For every discount factor
`0 < α < 1` there is a deterministic stationary procedure `R_α ∈ C″` (a map `f` from states to
decisions) such that `V_{R_α}(i, α) ≤ V_R(i, α)` for every procedure `R ∈ C` (history-dependent
and randomized) and every initial state `i`, where `V_R(i, α) = ∑_t α^t W_t`.

**Formalization Note.** `V_R(i, α)` is `discCost θ α i ∈ [0, ∞]`; `C` is `Policy M` and `C″` is
`StationaryPolicy M` via `.toPolicy`. One `f` serves every initial state. `discCost` is defined
for every real `α`, so the range `0 < α < 1` is an explicit hypothesis. -/
theorem discount_optimal_stationary {S : Type*} {Act : Type*} [Fintype S] [Nonempty S]
    [Fintype Act] [Nonempty Act]
    (M : MDC S Act) (hA : ∀ i, M.A i = Finset.univ) (α : ℝ) (hα : α ∈ Set.Ioo (0 : ℝ) 1) :
    ∃ f : StationaryPolicy M, ∀ θ : Policy M, ∀ i : S,
      discCost f.toPolicy α i ≤ discCost θ α i := by sorry

end DermanSeqDecisions.Stationary
Source
Derman, On Sequential Decisions and Markov Chains, Management Science 9(1):16–24 (1962), DOI 10.1287/mnsc.9.1.16, pp. 18–19, §2, proof of Theorem 1 (R_α ∈ C″)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

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