Eq. (D 3): the change in gain rate equals the -average of the test-quantity improvements
ProvedJewellMRP.GainRate.gain_rate_improvement_identityLet a Markov-renewal program be ergodic with positive mean sojourn times. Let and be two stationary policies, let solve the value-determination equations (13) of , and let , be stationary probability vectors of the chains of and . Write , for the gain rates (B 7) computed from , , and for the time-stationary probabilities (C 12) of . For each state let
be the change in Schweitzer's test quantity (D 1), and
the change in the test quantity (D 2) of Fig. 2, both computed with the relative values and gain rate of . Then
This identity is the engine of the convergence argument: when every the gain rate cannot decrease, and a strict improvement at a state with increases it strictly.
Formalization Note The paper states (D 3) for a policy "which led to an improved policy ", with and ; the identities hold for any two policies, and are stated here without that restriction.
import Mathlib import Definitions.Def_JewellMRP_GainRate_MRP import Definitions.Def_JewellMRP_GainRate_PolicyIteration
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
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.