Proposition 5 — the max-min policy-iteration algorithm terminates at a max-min optimal policy
ProvedSatiaLave.MaxMin.maxMin_policyIteration_terminates_optimalLet be a run of the max-min policy-iteration algorithm: each arises from by one Phase 2 iteration (with Phase 1 exact and the retention rule). Write for nature's minimum and for the max-min return of criterion (2). Then
- the max-min returns increase monotonically: for all and all states ;
- there is an iteration , with smaller than the number of pure stationary policies, at which the algorithm terminates, , and the policy
- is max-min optimal: for every state ;
- attains the solution of the equations (4): for every solution of (4) and every ;
- is -optimal for every : .
The paper states: "The algorithm finds an -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 -optimality for every ; the paper's reflects only stopping Phase 1 early (Proposition 4). The bound on 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 , 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 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.
import Mathlib import Definitions.Def_SatiaLave_MaxMin_Model import Definitions.Def_SatiaLave_MaxMin_Eq4 import Definitions.Def_SatiaLave_MaxMin_Algorithm
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a finite state set (with decidable equality) and, for each state , a finite, nonempty set of decisions . Let be an object of type UncertainMDP over , which is defined in the imported bundle and not unfolded here. From its name, it is an MDP with uncertain transition data. Let 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 for each state . Let be an infinite sequence of policies in , one for each natural number. The code uses these other bundle definitions without unfolding them here:
- is
robustValue M P i, a real number for each policy and state . - is
eq4Op M, an operator that takes a real vector to another real vector. IsPhase2Step M P Qis a relation between two policies.IsMaxMinOptimal M Pis a property of a policy.IsEpsMaxMinOptimal M ε Pis a property of a policy for a real number .
Hypothesis. For every , the pair satisfies IsPhase2Step M . 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:
- Monotonicity. For every and every state ,
The inequality is non-strict and holds separately at each state. 2. Termination at a good policy. There is an index such that all of the following hold:
- , where is the number of elements of the finite type
Policy S D. The inequality is strict. - .
IsMaxMinOptimal Mholds.- For every with for all (every fixed point of ), we have for all .
- For every real ,
IsEpsMaxMinOptimal M εholds.
What the statement does not say. It says only that one step is repeated, . It does not say that for all later , and it does not say that is the first index where the policy repeats. The fixed-point clause does not claim that a fixed point of exists. If has no fixed point, that clause holds vacuously. If has several fixed points, the clause forces all of them to equal . The -clause says nothing about .
Degenerate cases. If IsPhase2Step M cannot be satisfied along an infinite sequence, the theorem is vacuously true for that . 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 is empty, every per-state claim (-monotonicity and the fixed-point equality) is vacuous. The remaining content is then that some has together with the optimality predicates. If Policy S D is a function type over the empty , then and the index is forced to be .
In general, if , the conclusion forces . If were , the conclusion would be false, so the theorem would imply the hypothesis can never hold. Since every is nonempty, a function-type would have at least one element.
No division, subtraction in , integral, supremum or extended-real arithmetic appears directly in this statement. Any such default values would sit inside the definitions of , and the optimality predicates, which are not shown here.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.