Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1 (1) without the sign condition: a deterministic stationary procedure minimizes the average cost for any real costs

Proved
DermanSeqDecisions.Ratio.theorem_1_signed

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

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

Consider a controlled Markov chain with finitely many states 0,…,L0, \dots, L0,…,L and decisions d1,…,dKd_1, \dots, d_Kd1​,…,dK​, all available in every state, with transition probabilities qij(k)q_{ij}(k)qij​(k). Let c=(cik)c = (c_{ik})c=(cik​) be any real cost function, of either sign. For a procedure RRR (history-dependent and randomized) and an initial state iii, let WtW_tWt​ be the expected cost at time ttt and

QR(i)=lim sup⁡T→∞1T∑t=0TWt.Q_R(i) = \limsup_{T\to\infty} \frac1T \sum_{t=0}^T W_t .QR​(i)=T→∞limsup​T1​t=0∑T​Wt​.

Then there is a deterministic stationary procedure R1∈C′′R_1 \in C''R1​∈C′′ (a fixed decision in each state) such that

QR1(i)≤QR(i)for every procedure R∈C and every i=0,…,L.Q_{R_1}(i) \le Q_R(i) \qquad \text{for every procedure } R \in C \text{ and every } i = 0, \dots, L .QR1​​(i)≤QR​(i)for every procedure R∈C and every i=0,…,L.

This is Theorem 1 (1) of Derman (p. 18) with the positivity of the costs dropped, which the proof of Theorem 3 (p. 23) asserts to be unnecessary for Problem 1. It is applied there to the signed costs wik=wik′−m wik′′w_{ik} = w'_{ik} - m\, w''_{ik}wik​=wik′​−mwik′′​.

Formalization Note The competitors range over all history-dependent randomized procedures. A single R1R_1R1​ serves every initial state. The cost is an explicit real argument; the nonnegative cost field of Sennott's model plays no role.

Preamble
import Mathlib
import Definitions.Def_SennottDP_AvgFinite_Model
import Definitions.Def_DermanSeqDecisions_Ratio_Criteria

open SennottDP.AvgFinite
Formal statement
namespace DermanSeqDecisions.Ratio

/-- **Theorem 1 (1) for costs of either sign** (Derman, *On Sequential Decisions and Markov
Chains*, Management Science 9(1):16–24 (1962), DOI 10.1287/mnsc.9.1.16, §4, proof of Theorem 3,
p. 23, using Theorem 1 (1), p. 18): "the hypothesis that `w_ik > 0` is unnecessary for Problem 1".

For every real cost function `c` there is a deterministic stationary procedure `f ∈ C″` whose
long-run average expected cost `Q_f(i)` is at most `Q_θ(i)` for every procedure `θ ∈ C` and
every initial state `i`; one `f` serves every initial state.

**Formalization Note.** `M.P` is Derman's `q_ij(k)`; `hA` says all decisions are available in
every state. The competitors `θ` range over all history-dependent randomized procedures
(`Policy M`). The cost `c` is an explicit argument with no sign condition; `M.C` plays no role. -/
theorem theorem_1_signed {S Act : Type*} [Fintype S] [DecidableEq S] [Nonempty S]
    [Fintype Act] [DecidableEq Act] (M : MDC S Act) (hA : ∀ s, M.A s = Finset.univ)
    (c : S → Act → ℝ) :
    ∃ f : StationaryPolicy M, ∀ θ : Policy M, ∀ i : S,
      avgCostR f.toPolicy i c ≤ avgCostR θ i c := by sorry

end DermanSeqDecisions.Ratio
Source
Derman, On Sequential Decisions and Markov Chains, Management Science 9(1):16–24 (1962), DOI 10.1287/mnsc.9.1.16, p. 23, §4, proof of Theorem 3 (parenthetical remark), applied to Theorem 1 (1), p. 18
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