Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 5 — the max-min policy-iteration algorithm terminates at a max-min optimal policy

Proved
SatiaLave.MaxMin.maxMin_policyIteration_terminates_optimal

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

algorithmp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1policy-iterationrobust-mdp

Let A0,A1,A2,…A^0,A^1,A^2,\dotsA0,A1,A2,… be a run of the max-min policy-iteration algorithm: each An+1A^{n+1}An+1 arises from AnA^nAn by one Phase 2 iteration (with Phase 1 exact and the retention rule). Write v‾(A)=inf⁡P∈SvA(P)\underline v(A)=\inf_{P\in S}v^A(P)v​(A)=infP∈S​vA(P) for nature's minimum and vˉ\bar vvˉ for the max-min return of criterion (2). Then

  1. the max-min returns increase monotonically: v‾i(An)≤v‾i(An+1)\underline v_i(A^n)\le\underline v_i(A^{n+1})v​i​(An)≤v​i​(An+1) for all nnn and all states iii;
  2. there is an iteration nnn, with nnn smaller than the number of pure stationary policies, at which the algorithm terminates, An+1=AnA^{n+1}=A^nAn+1=An, and the policy AnA^nAn
    • is max-min optimal: v‾i(An)=vˉi\underline v_i(A^n)=\bar v_iv​i​(An)=vˉi​ for every state iii;
    • attains the solution of the equations (4): v‾j(An)=vj\underline v_j(A^n)=v_jv​j​(An)=vj​ for every solution vvv of (4) and every jjj;
    • is ε\varepsilonε-optimal for every ε>0\varepsilon>0ε>0: ∣v‾i(An)−vˉi∣≤ε|\underline v_i(A^n)-\bar v_i|\le\varepsilon∣v​i​(An)−vˉi​∣≤ε.

The paper states: "The algorithm finds an ε\varepsilonε-optimal max-min policy in a finite number of iterations." With Phase 1 exact, the algorithm stops at an exactly optimal policy, which implies the printed ε\varepsilonε-optimality for every ε\varepsilonε; the paper's ε\varepsilonε reflects only stopping Phase 1 early (Proposition 4). The bound on nnn is stronger than the printed "finite number of iterations". The optimality of the terminal policy is Proposition 3.

Formalization Note. A run is any sequence of policies related by consecutive Phase 2 steps; such runs exist from every starting policy. Termination is An+1=AnA^{n+1}=A^nAn+1=An, the paper's "if the policy changes … return to Phase 1; otherwise, terminate". Phase 2 uses nature's exact minimum as the value of the current policy (the idealization justified by Proposition 4), and keeps AiA_iAi​ on ties (Howard's retention rule), without which the statement is false.


Retired 2026-10-27: a Lean-vs-paper fidelity audit found this statement weaker than, or narrower than, the cited result. A corrected statement will be resubmitted.

Preamble
import Mathlib
import Definitions.Def_SatiaLave_MaxMin_Model
import Definitions.Def_SatiaLave_MaxMin_Eq4
import Definitions.Def_SatiaLave_MaxMin_Algorithm
Formal statement
namespace SatiaLave.MaxMin

/-- Proposition 5, p. 732 (with Proposition 3, p. 731): along every run `A 0, A 1, …` of the
max-min policy-iteration algorithm, the max-min returns increase monotonically, and within
fewer than `|Policy|` iterations the algorithm terminates (`A (n+1) = A n`) at a policy that is
max-min optimal, attains the solution of (4), and is `ε`-optimal for every `ε > 0`. -/
theorem maxMin_policyIteration_terminates_optimal {S : Type*} [Fintype S] [DecidableEq S] {D : S → Type*} [∀ i, Fintype (D i)] [∀ i, Nonempty (D i)]
    (M : UncertainMDP S D) (A : ℕ → Policy S D) (hrun : ∀ n, IsPhase2Step M (A n) (A (n + 1))) :
    (∀ n i, robustValue M (A n) i ≤ robustValue M (A (n + 1)) i) ∧
      ∃ n, n < Fintype.card (Policy S D) ∧ A (n + 1) = A n ∧ IsMaxMinOptimal M (A n) ∧
        (∀ v : S → ℝ, (∀ j, v j = eq4Op M v j) → ∀ j, robustValue M (A n) j = v j) ∧
        ∀ ε > 0, IsEpsMaxMinOptimal M ε (A n) := by sorry

end SatiaLave.MaxMin
Source
Satia and Lave, Markovian Decision Processes with Uncertain Transition Probabilities, Operations Research 21(3), 1973, p. 732, Proposition 5, with p. 731, Proposition 3
Read-back

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

Fix a finite state set SSS (with decidable equality) and, for each state i∈Si \in Si∈S, a finite, nonempty set of decisions DiD_iDi​. Let MMM be an object of type UncertainMDP over (S,D)(S, D)(S,D), which is defined in the imported bundle and not unfolded here. From its name, it is an MDP with uncertain transition data. Let Π\PiΠ be the type Policy S D, also defined in the bundle and not unfolded here. Its name suggests a rule that picks a decision in DiD_iDi​ for each state iii. Let A0,A1,A2,…A_0, A_1, A_2, \dotsA0​,A1​,A2​,… be an infinite sequence of policies in Π\PiΠ, one for each natural number. The code uses these other bundle definitions without unfolding them here:

  • VPM(i)V^M_P(i)VPM​(i) is robustValue M P i, a real number for each policy PPP and state iii.
  • TMT_MTM​ is eq4Op M, an operator that takes a real vector v:S→Rv : S \to \mathbb{R}v:S→R to another real vector.
  • IsPhase2Step M P Q is a relation between two policies.
  • IsMaxMinOptimal M P is a property of a policy.
  • IsEpsMaxMinOptimal M ε P is a property of a policy for a real number ε\varepsilonε.

Hypothesis. For every n∈Nn \in \mathbb{N}n∈N, the pair (An,An+1)(A_n, A_{n+1})(An​,An+1​) satisfies IsPhase2Step M (An)(A_n)(An​) (An+1)(A_{n+1})(An+1​). The hypothesis applies to every step of the infinite sequence, including any step after the policy has stopped changing.

Conclusion. Both of the following hold:

  1. Monotonicity. For every n∈Nn \in \mathbb{N}n∈N and every state i∈Si \in Si∈S,
VAnM(i)≤VAn+1M(i).V^M_{A_n}(i) \le V^M_{A_{n+1}}(i).VAn​M​(i)≤VAn+1​M​(i).

The inequality is non-strict and holds separately at each state. 2. Termination at a good policy. There is an index nnn such that all of the following hold:

  • n<∣Π∣n < |\Pi|n<∣Π∣, where ∣Π∣|\Pi|∣Π∣ is the number of elements of the finite type Policy S D. The inequality is strict.
  • An+1=AnA_{n+1} = A_nAn+1​=An​.
  • IsMaxMinOptimal M (An)(A_n)(An​) holds.
  • For every v:S→Rv : S \to \mathbb{R}v:S→R with v(j)=(TMv)(j)v(j) = (T_M v)(j)v(j)=(TM​v)(j) for all jjj (every fixed point of TMT_MTM​), we have VAnM(j)=v(j)V^M_{A_n}(j) = v(j)VAn​M​(j)=v(j) for all j∈Sj \in Sj∈S.
  • For every real ε>0\varepsilon > 0ε>0, IsEpsMaxMinOptimal M ε (An)(A_n)(An​) holds.

What the statement does not say. It says only that one step is repeated, An+1=AnA_{n+1} = A_nAn+1​=An​. It does not say that Am=AnA_m = A_nAm​=An​ for all later m>nm > nm>n, and it does not say that nnn is the first index where the policy repeats. The fixed-point clause does not claim that a fixed point of TMT_MTM​ exists. If TMT_MTM​ has no fixed point, that clause holds vacuously. If TMT_MTM​ has several fixed points, the clause forces all of them to equal VAnMV^M_{A_n}VAn​M​. The ε\varepsilonε-clause says nothing about ε≤0\varepsilon \le 0ε≤0.

Degenerate cases. If IsPhase2Step M cannot be satisfied along an infinite sequence, the theorem is vacuously true for that MMM. This would happen if, for example, the relation fails at a policy that repeats itself, or holds for no pair of policies. Whether this happens depends on the unfolded definition, which is not shown here.

If SSS is empty, every per-state claim (VVV-monotonicity and the fixed-point equality) is vacuous. The remaining content is then that some n<∣Π∣n < |\Pi|n<∣Π∣ has An+1=AnA_{n+1} = A_nAn+1​=An​ together with the optimality predicates. If Policy S D is a function type over the empty SSS, then ∣Π∣=1|\Pi| = 1∣Π∣=1 and the index is forced to be n=0n = 0n=0.

In general, if ∣Π∣=1|\Pi| = 1∣Π∣=1, the conclusion forces n=0n = 0n=0. If ∣Π∣|\Pi|∣Π∣ were 000, the conclusion would be false, so the theorem would imply the hypothesis can never hold. Since every DiD_iDi​ is nonempty, a function-type Π\PiΠ would have at least one element.

No division, subtraction in N\mathbb{N}N, integral, supremum or extended-real arithmetic appears directly in this statement. Any such default values would sit inside the definitions of VMV^MVM, TMT_MTM​ and the optimality predicates, which are not shown here.

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