Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Eq. (D 3): the change in gain rate equals the PBP^BPB-average of the test-quantity improvements

Proved
JewellMRP.GainRate.gain_rate_improvement_identity

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 AAA and BBB be two stationary policies, let (gA,vA)(g^A, v^A)(gA,vA) solve the value-determination equations (13) of AAA, and let πA\pi^AπA, πB\pi^BπB be stationary probability vectors of the chains of AAA and BBB. Write g(A)g(A)g(A), g(B)g(B)g(B) for the gain rates (B 7) computed from πA\pi^AπA, πB\pi^BπB, and PjB=νjBπjB/∑kπkBνkBP^B_j = \nu^B_j \pi^B_j / \sum_k \pi^B_k \nu^B_kPjB​=νjB​πjB​/∑k​πkB​νkB​ for the time-stationary probabilities (C 12) of BBB. For each state jjj let

Γj=(ρjB+∑lpjlBvlA−gAνjB)−(ρjA+∑lpjlAvlA−gAνjA)\Gamma_j = \Big(\rho^B_j + \sum_{l} p^B_{jl} v^A_l - g^A \nu^B_j\Big) - \Big(\rho^A_j + \sum_{l} p^A_{jl} v^A_l - g^A \nu^A_j\Big)Γj​=(ρjB​+l∑​pjlB​vlA​−gAνjB​)−(ρjA​+l∑​pjlA​vlA​−gAνjA​)

be the change in Schweitzer's test quantity (D 1), and

γj=1νjB(ρjB+∑lpjlBvlA−vjA)−1νjA(ρjA+∑lpjlAvlA−vjA)\gamma_j = \frac{1}{\nu^B_j}\Big(\rho^B_j + \sum_{l} p^B_{jl} v^A_l - v^A_j\Big) - \frac{1}{\nu^A_j}\Big(\rho^A_j + \sum_{l} p^A_{jl} v^A_l - v^A_j\Big)γj​=νjB​1​(ρjB​+l∑​pjlB​vlA​−vjA​)−νjA​1​(ρjA​+l∑​pjlA​vlA​−vjA​)

the change in the test quantity (D 2) of Fig. 2, both computed with the relative values and gain rate of AAA. Then

g(B)−g(A)=∑j=1NΓjνjB PjBandg(B)−g(A)=∑j=1Nγj PjB.g(B) - g(A) = \sum_{j=1}^{N} \frac{\Gamma_j}{\nu^B_j}\, P^B_j \qquad\text{and}\qquad g(B) - g(A) = \sum_{j=1}^{N} \gamma_j\, P^B_j .g(B)−g(A)=j=1∑N​νjB​Γj​​PjB​andg(B)−g(A)=j=1∑N​γj​PjB​.

This identity is the engine of the convergence argument: when every γj≥0\gamma_j \ge 0γj​≥0 the gain rate cannot decrease, and a strict improvement at a state jjj with PjB>0P^B_j > 0PjB​>0 increases it strictly.

Formalization Note The paper states (D 3) for a policy AAA "which led to an improved policy BBB", with Γi≥0\Gamma_i \ge 0Γi​≥0 and γi≥0\gamma_i \ge 0γi​≥0; the identities hold for any two policies, and are stated here without that restriction.

Preamble
import Mathlib
import Definitions.Def_JewellMRP_GainRate_MRP
import Definitions.Def_JewellMRP_GainRate_PolicyIteration
Formal statement
namespace JewellMRP.GainRate
theorem gain_rate_improvement_identity {N : ℕ} [NeZero N] {α : Type*} (M : MRP N α)
    (hM : M.IsErgodic) (zA zB : Fin N → α) (gA : ℝ) (vA : Fin N → ℝ)
    (hA : M.SolvesValueDetermination zA gA vA) (πA πB : Fin N → ℝ)
    (hπA : IsStationaryDist (M.policyMatrix zA) πA)
    (hπB : IsStationaryDist (M.policyMatrix zB) πB) :
    M.gainRate zB πB - M.gainRate zA πA =
        ∑ j, ((M.schweitzerTestQuantity gA vA j (zB j) -
            M.schweitzerTestQuantity gA vA j (zA j)) / M.ν j (zB j)) *
          M.timeStationaryProb zB πB j ∧
      M.gainRate zB πB - M.gainRate zA πA =
        ∑ j, (M.testQuantity vA j (zB j) - M.testQuantity vA j (zA j)) *
          M.timeStationaryProb zB πB j := by sorry
end JewellMRP.GainRate
Source
Jewell, Markov-Renewal Programming. II: Infinite Return Models, Example, Oper. Res. 11 (1963), p. 970, Eq. (D 3), with (D 1)-(D 2) (pp. 969-970) and (C 12) (p. 969)
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