Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A ratio criterion at most mmm gives a nonpositive average cost for w′−mw′′w' - m w''w′−mw′′

Proved
DermanSeqDecisions.Ratio.avg_nonpos_of_ratio_le

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

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

Consider a controlled Markov chain with finitely many states and decisions, all decisions available in every state. Let wik′>0w'_{ik} > 0wik′​>0 and wik′′>0w''_{ik} > 0wik′′​>0 be two sets of costs, and let RRR be any procedure (history-dependent and randomized), started at X0=iX_0 = iX0​=i, with expected costs Wt′W'_tWt′​ and Wt′′W''_tWt′′​ at time ttt. If its ratio criterion satisfies

ψ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,

then the average expected cost of RRR 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.

This is the step "Using rule R(v)R(v)R(v) we have QR(v)(i)≤0Q_{R(v)}(i) \le 0QR(v)​(i)≤0" of the proof of Theorem 3: it translates the ratio criterion into the ordinary average-cost criterion of Problem 1.

Formalization Note The page uses ψR(v)(i)=mv\psi_{R(v)}(i) = m_vψR(v)​(i)=mv​; the hypothesis ψR(i)≤m\psi_R(i) \le mψR​(i)≤m includes that case. 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

/-- **"Using rule R(v) we have Q_{R(v)}(i) ≦ 0."** (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).

Let `w′ > 0`, `w″ > 0` be two cost sets. If a procedure `θ` has ratio criterion
`ψ_θ(i) ≤ m`, then the long-run average expected cost of `θ` for the signed cost
`w_ik = w′_ik − m w″_ik` satisfies `Q_θ(i) ≤ 0`.

**Formalization Note.** The page has `ψ_{R(v)}(i) = m_v`; the hypothesis `ψ_θ(i) ≤ m` contains
that case. `θ` is an arbitrary history-dependent randomized procedure. `M.C` plays no role. -/
theorem avg_nonpos_of_ratio_le {S Act : Type*} [Fintype S] [DecidableEq S] [Nonempty S]
    [Fintype Act] [DecidableEq Act] (M : MDC S Act) (hA : ∀ s, M.A s = Finset.univ)
    (w' w'' : S → Act → ℝ) (hw' : ∀ s a, 0 < w' s a) (hw'' : ∀ s a, 0 < w'' s a)
    (θ : Policy M) (i : S) (m : ℝ) (hψ : ratioCost θ i w' w'' ≤ m) :
    avgCostR θ i (fun s a => w' s a - m * w'' s a) ≤ 0 := 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