Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Ratio criterion of a stationary randomized procedure under Assumption A

Proved
DermanSeqDecisions.Ratio.ratio_stationary_randomized

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

markov-decision-processp2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1ratio-criterionstationary-distribution

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), and assume Assumption A: for every stationary randomized rule the induced chain has a single 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′ choose decision dkd_kdk​ in state sss with probability DskD_{sk}Dsk​ (Dsk≥0D_{sk} \ge 0Dsk​≥0, ∑kDsk=1\sum_k D_{sk} = 1∑k​Dsk​=1), whatever the past, and let π\piπ satisfy (5) for psj=∑kqsj(k)Dskp_{sj} = \sum_k q_{sj}(k) D_{sk}psj​=∑k​qsj​(k)Dsk​:

πj≥0,πj−∑sπspsj=0,∑jπj=1.\pi_j \ge 0, \qquad \pi_j - \sum_s \pi_s p_{sj} = 0, \qquad \sum_j \pi_j = 1 .πj​≥0,πj​−s∑​πs​psj​=0,j∑​πj​=1.

Then for every initial state iii,

ψR(i)=∑s=0L∑k=1KπsDskwsk′∑s=0L∑k=1KπsDskwsk′′.\psi_R(i) = \frac{\sum_{s=0}^{L} \sum_{k=1}^{K} \pi_s D_{sk} w'_{sk}}{\sum_{s=0}^{L} \sum_{k=1}^{K} \pi_s D_{sk} w''_{sk}} .ψR​(i)=∑s=0L​∑k=1K​πs​Dsk​wsk′′​∑s=0L​∑k=1K​πs​Dsk​wsk′​​.

This display (p. 23) reduces the minimization of ψ\psiψ over C′C'C′ to the fractional program of the lemma of §3.

Formalization Note The page uses iii both for the initial state and for the summation index; the summation index is renamed sss. 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

/-- **The ratio criterion of a procedure in `C′` under Assumption A** (Derman, *On Sequential
Decisions and Markov Chains*, Management Science 9(1):16–24 (1962), DOI 10.1287/mnsc.9.1.16,
§4, unnumbered display, p. 23).

Let `w′ > 0`, `w″ > 0` be two cost sets, let `θ ∈ C′` choose decision `k` in state `s` with
probability `D_sk`, assume Assumption A, and let `π` satisfy (5) (p. 20) for the induced
transition matrix `p_sj = ∑_k q_sj(k) D_sk`. Then for every initial state `i`,
`ψ_θ(i) = (∑_s ∑_k π_s D_sk w′_sk) / (∑_s ∑_k π_s D_sk w″_sk)`.

**Formalization Note.** The page writes the summation index as `i`, the same letter as the
initial state; here it is `s`. (5) is stated as `π_j ≥ 0`, `π_j − ∑_s π_s p_sj = 0`,
`∑_j π_j = 1`. `M.C` plays no role. -/
theorem ratio_stationary_randomized {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)
    (θ : Policy M) (D : S → Act → ℝ) (hD0 : ∀ s a, 0 ≤ D s a) (hD1 : ∀ s, ∑ a, D s a = 1)
    (hθ : IsStationaryRandomized θ D)
    (π : S → ℝ) (hπ0 : ∀ j, 0 ≤ π j)
    (hπ : ∀ j, π j - ∑ s, π s * inducedMatrix M D s j = 0) (hπ1 : ∑ j, π j = 1) (i : S) :
    ratioCost θ i w' w'' =
      (∑ s, ∑ a, π s * D s a * w' s a) / (∑ s, ∑ a, π s * D s a * w'' s a) := 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, unnumbered display before Theorem 3 (with (5), p. 20)
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