Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

p. 955: a change of policy indicated by the test quantity strictly increases the gain rate, gz2>gz1g^{z_2} > g^{z_1}gz2​>gz1​

Proved
JewellMRP.GainRate.strict_improvement

by mikedeng1 · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

average-rewardmarkov-renewalp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1policy-iteration

Let a Markov-renewal program be ergodic with positive mean sojourn times. Let z1z_1z1​ be a stationary policy, (g1,v1)(g_1, v_1)(g1​,v1​) a solution of its value-determination equations (13), and let z2z_2z2​ be an improvement step of z1z_1z1​ with respect to v1v_1v1​: in each state iii, z2(i)z_2(i)z2​(i) maximizes the test quantity

1νiz{ρiz+∑jpijzv1,j−v1,i}\frac{1}{\nu^z_i}\Big\{\rho^z_i + \sum_{j} p^z_{ij} v_{1,j} - v_{1,i}\Big\}νiz​1​{ρiz​+j∑​pijz​v1,j​−v1,i​}

over the alternatives zzz, and z2(i)=z1(i)z_2(i) = z_1(i)z2​(i)=z1​(i) when z1(i)z_1(i)z1​(i) already attains the maximum. If z2≠z1z_2 \ne z_1z2​=z1​, then for all stationary probability vectors π1\pi_1π1​, π2\pi_2π2​ of the chains of z1z_1z1​ and z2z_2z2​,

gz1=∑iπ1,iρiz1(i)∑kπ1,kνkz1(k)  <  ∑iπ2,iρiz2(i)∑kπ2,kνkz2(k)=gz2.g^{z_1} = \frac{\sum_i \pi_{1,i}\rho^{z_1(i)}_i}{\sum_k \pi_{1,k}\nu^{z_1(k)}_k} \;<\; \frac{\sum_i \pi_{2,i}\rho^{z_2(i)}_i}{\sum_k \pi_{2,k}\nu^{z_2(k)}_k} = g^{z_2}.gz1​=∑k​π1,k​νkz1​(k)​∑i​π1,i​ρiz1​(i)​​<∑k​π2,k​νkz2​(k)​∑i​π2,i​ρiz2​(i)​​=gz2​.

Since there are finitely many stationary policies, this strict monotonicity is what forces the algorithm of Fig. 2 to terminate.

Preamble
import Mathlib
import Definitions.Def_JewellMRP_GainRate_MRP
import Definitions.Def_JewellMRP_GainRate_PolicyIteration
Formal statement
namespace JewellMRP.GainRate
theorem strict_improvement {N : ℕ} [NeZero N] {α : Type*} (M : MRP N α)
    (hM : M.IsErgodic) (z₁ z₂ : Fin N → α) (g₁ : ℝ) (v₁ : Fin N → ℝ)
    (h₁ : M.SolvesValueDetermination z₁ g₁ v₁) (hstep : M.IsImprovementStep z₁ v₁ z₂)
    (hne : z₂ ≠ z₁) (π₁ π₂ : Fin N → ℝ)
    (hπ₁ : IsStationaryDist (M.policyMatrix z₁) π₁)
    (hπ₂ : IsStationaryDist (M.policyMatrix z₂) π₂) :
    M.gainRate z₁ π₁ < M.gainRate z₂ π₂ := by sorry
end JewellMRP.GainRate
Source
Jewell, Markov-Renewal Programming. II: Infinite Return Models, Example, Oper. Res. 11 (1963), p. 955 ("one shows that g^{z_2} > g^{z_1}"), with Fig. 2 (p. 956)
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me