Fig. 2: policy iteration terminates at a stationary policy of maximal gain rate (B 7)
ProvedJewellMRP.GainRate.policy_iteration_optimal_gain_rateLet a Markov-renewal program have states, a finite nonempty set of alternatives, positive mean sojourn times , and an irreducible chain for every stationary policy (standing assumption 2). Consider any run of the algorithm of Fig. 2: policies (with arbitrary) and pairs such that, for every ,
- solves the value-determination equations (13) of , with , and
- in each state , maximizes the test quantity over the alternatives , and whenever already attains the maximum.
Then the algorithm terminates: there is a with . Moreover, whenever , the number is the gain rate of , and is an optimal stationary policy: for every stationary policy and all stationary probability vectors of 's chain and of 's chain,
This is the main algorithmic claim of the paper for the infinite-time undiscounted Markov-renewal program: policy iteration with the ratio test quantity finds a stationary policy whose gain rate is at least that of any other stationary policy.
Formalization Note The theorem quantifies over every run, i.e. over every choice among tied maximizers; only the retain-on-tie rule is imposed. The gain rate is the closed form (B 7); its interpretation as the long-run return per unit time (B 6) is not part of the statement.
import Mathlib import Definitions.Def_JewellMRP_GainRate_MRP import Definitions.Def_JewellMRP_GainRate_PolicyIteration
namespace JewellMRP.GainRate
theorem policy_iteration_optimal_gain_rate {N : ℕ} [NeZero N] {α : Type*} [Fintype α]
[Nonempty α] (M : MRP N α) (hM : M.IsErgodic) (z : ℕ → Fin N → α) (g : ℕ → ℝ)
(v : ℕ → Fin N → ℝ) (hrun : M.IsPolicyIterationRun z g v) :
(∃ K, z (K + 1) = z K) ∧
∀ K, z (K + 1) = z K →
(∀ π : Fin N → ℝ, IsStationaryDist (M.policyMatrix (z K)) π →
g K = M.gainRate (z K) π) ∧
∀ (z' : Fin N → α) (π π' : Fin N → ℝ),
IsStationaryDist (M.policyMatrix (z K)) π →
IsStationaryDist (M.policyMatrix z') π' →
M.gainRate z' π' ≤ M.gainRate (z K) π := by sorry
end JewellMRP.GainRate
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.