Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Claim (c), p. 946 — if two successive policies are identical, no stationary policy has a higher return in any state

Proved
JewellMRP.Discounted.claim_c_fixed_policy_optimal

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

markov-renewal-processoptimalityp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1policy-iteration

Let a Markov-renewal program be given and let α>0\alpha > 0α>0. Let ddd be a stationary policy with return vvv (the solution of (15) for ddd), and suppose the policy-improvement step of Fig. 1 applied to ddd and vvv returns ddd itself. Then for every stationary policy eee with return www,

wi≤vifor every i∈S.w_i \le v_i \qquad \text{for every } i \in S .wi​≤vi​for every i∈S.

The paper writes: "(c) If two successive policies are identical, then the algorithm has converged on the optimal policy, in the sense that no other policy can lead to higher expected returns for any state iii". This is the stopping criterion of Fig. 1.

Formalization Note "No other policy" is read as no other stationary policy: the section in which the claim appears concerns only stationary policies, and the next section of the paper introduces the comparison with nonstationary policies as "a slightly stronger result". That comparison is the separate milestone § The Optimal Policy with Discounting and part of the goal.

Preamble
import Mathlib
import Definitions.Def_JewellMRP_Discounted_MRP
import Definitions.Def_JewellMRP_Discounted_PolicyIteration

open Filter Topology
Formal statement
namespace JewellMRP.Discounted

/-- Claim (c), p. 946: if the policy-improvement step reproduces the policy `d`, then no
stationary policy has a higher return than `d` in any state. -/
theorem claim_c_fixed_policy_optimal {S A : Type*} [Fintype S] [Fintype A] [Nonempty A]
    (M : MRP S A) {α : ℝ} (hα : 0 < α) {d : S → A} {v : S → ℝ}
    (hv : SolvesEval M α d v) (hfix : IsImprovement M α d v d)
    (e : S → A) (w : S → ℝ) (hw : SolvesEval M α e w) : ∀ i, w i ≤ v i := by sorry

end JewellMRP.Discounted
Source
Jewell, Markov-Renewal Programming. I: Formulation, Finite Return Models, Operations Research 11(6), 1963, p. 946, Claim (c)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

This theorem concerns a structure MMM as follows:

  • a finite state set SSS and a finite, nonempty alternative set AAA;
  • row-stochastic matrices pzp^zpz;
  • probability measures FijzF^z_{ij}Fijz​ supported on (0,∞)(0,\infty)(0,∞);
  • arbitrary returns ρijz(α)\rho^z_{ij}(\alpha)ρijz​(α).

The test quantity Tiz(α,u)T^z_i(\alpha,u)Tiz​(α,u) is defined as above:

Tiz(α,u)=∑jpijzρijz(α)+∑jpijzf~ijz(α)uj,f~ijz(α)=∫(0,∞)e−αt dFijz(t).T^z_i(\alpha,u) = \sum_j p^z_{ij}\rho^z_{ij}(\alpha) + \sum_j p^z_{ij}\tilde f^z_{ij}(\alpha)u_j, \qquad \tilde f^z_{ij}(\alpha) = \int_{(0,\infty)}e^{-\alpha t}\,dF^z_{ij}(t).Tiz​(α,u)=j∑​pijz​ρijz​(α)+j∑​pijz​f~​ijz​(α)uj​,f~​ijz​(α)=∫(0,∞)​e−αtdFijz​(t).

Take any real α>0\alpha > 0α>0, a stationary policy ddd and a vector vvv. The hypotheses are:

  1. vi=Tid(i)(α,v)v_i = T^{d(i)}_i(\alpha, v)vi​=Tid(i)​(α,v) for all iii.
  2. ddd is an improvement of itself with respect to vvv. This amounts to
Tid(i)(α,v)=max⁡zTiz(α,v)for all i.T^{d(i)}_i(\alpha, v) = \max_z T^z_i(\alpha, v) \quad \text{for all } i.Tid(i)​(α,v)=zmax​Tiz​(α,v)for all i.

The accompanying tie-breaking clause is automatically satisfied.

Then take any other stationary policy e:S→Ae : S \to Ae:S→A and any vector www with wi=Tie(i)(α,w)w_i = T^{e(i)}_i(\alpha, w)wi​=Tie(i)​(α,w) for all iii. The conclusion is

wi≤vifor every i.w_i \le v_i \quad \text{for every } i.wi​≤vi​for every i.

The comparison ranges only over stationary policies eee together with a solution www of their equations.

Degenerate cases: the case α≤0\alpha \le 0α≤0 is excluded. If SSS is empty, the statement is trivial. If some eee has no solution www, then nothing is asserted about eee.

Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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