Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

For a deterministic stationary procedure, a nonpositive average cost for w′−mw′′w' - m w''w′−mw′′ gives a ratio criterion at most mmm

Proved
DermanSeqDecisions.Ratio.ratio_le_of_avg_nonpos

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

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

Consider a controlled Markov chain with finitely many states and decisions, all decisions available in every state, satisfying Assumption A (for every stationary randomized procedure all states belong to the same class). Let wik′>0w'_{ik} > 0wik′​>0 and wik′′>0w''_{ik} > 0wik′′​>0 be two sets of costs, let R∗∈C′′R^* \in C''R∗∈C′′ be a deterministic stationary procedure, and let X0=iX_0 = iX0​=i. If the average expected cost of R∗R^*R∗ for the signed costs wik=wik′−m wik′′w_{ik} = w'_{ik} - m\, w''_{ik}wik​=wik′​−mwik′′​ satisfies

QR∗(i)=lim sup⁡T→∞1T∑t=0TWt≤0,Q_{R^*}(i) = \limsup_{T\to\infty} \frac1T \sum_{t=0}^T W_t \le 0 ,QR∗​(i)=T→∞limsup​T1​t=0∑T​Wt​≤0,

then

ψR∗(i)=lim sup⁡T→∞∑t=0TWt′∑t=0TWt′′≤m.\psi_{R^*}(i) = \limsup_{T\to\infty} \frac{\sum_{t=0}^T W'_t}{\sum_{t=0}^T W''_t} \le m .ψR∗​(i)=T→∞limsup​∑t=0T​Wt′′​∑t=0T​Wt′​​≤m.

This is the step "QR∗(v)(i)≤0Q_{R^*(v)}(i) \le 0QR∗(v)​(i)≤0, which implies ψR∗(v)(i)≤mv\psi_{R^*(v)}(i) \le m_vψR∗(v)​(i)≤mv​" of the proof of Theorem 3. It is the converse of the previous step, and it is stated only for stationary procedures, as on the page, and under Assumption A, which the proof of Theorem 3 assumes and which the page's justification (the display for ψR\psi_RψR​, R∈C′R \in C'R∈C′) needs.

Formalization Note The costs are explicit real arguments; 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

/-- **"…which implies ψ_{R*(v)}(i) ≦ m_v."** (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).

Assume Assumption A, let `w′ > 0`, `w″ > 0` be two cost sets and `f ∈ C″` a deterministic
stationary procedure. If the long-run average expected cost of `f` for the signed cost `w_ik = w′_ik − m w″_ik`
satisfies `Q_f(i) ≤ 0`, then `ψ_f(i) ≤ m`.

**Formalization Note.** The statement is for stationary `f` only, as on the page (`R*(v) ∈ C″`);
for history-dependent procedures the implication can fail. Assumption A is a hypothesis because
the step is made inside the proof of Theorem 3, which assumes it, and the page justifies it through
the display for `ψ_R`, `R ∈ C′`, which needs it. `M.C` plays no role. -/
theorem ratio_le_of_avg_nonpos {S Act : Type*} [Fintype S] [DecidableEq S] [Nonempty S]
    [Fintype Act] [DecidableEq Act] (M : MDC S Act) (hA : ∀ s, M.A s = Finset.univ)
    (hAssA : AssumptionA M)
    (w' w'' : S → Act → ℝ) (hw' : ∀ s a, 0 < w' s a) (hw'' : ∀ s a, 0 < w'' s a)
    (f : StationaryPolicy M) (i : S) (m : ℝ)
    (hQ : avgCostR f.toPolicy i (fun s a => w' s a - m * w'' s a) ≤ 0) :
    ratioCost f.toPolicy i w' w'' ≤ m := 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
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