Lemma 2, p. 785 — a monotone contraction solves the program s.t.
ProvedRobustMDP.Discounted.lemma_twoLet and let be componentwise nondecreasing and a contraction for the sup norm: there is with for all . Consider the problem
with inequalities understood componentwise. Then has a unique fixed point , and
- is the optimal value of (24), attained at ;
- every feasible satisfies componentwise;
- if moreover for every , then is the unique optimizer of (24).
This is the tool that turns the linear and nonlinear programs (26)–(28) of the proof of Theorem 3 into fixed-point equations.
Formalization Note As printed, the lemma asserts a unique optimizer for every . That is false when has a zero entry: with and , every , , is optimal. Uniqueness of the optimizer is therefore stated under ; the optimal value, the bound and uniqueness of the fixed point hold for all . The printed hypothesis "if the above problem is feasible" is automatic, since is feasible. "Contractive" is read as a sup-norm contraction with constant (ContractingWith), which is what the proof of Theorem 3 establishes.
import Mathlib
namespace RobustMDP.Discounted
/-- Lemma 2 (Nilim–El Ghaoui 2005, p. 785), in the corrected form the proof of Theorem 3 uses.
Let `q ∈ ℝⁿ₊` and let `g : ℝⁿ → ℝⁿ` be componentwise nondecreasing and a contraction in the sup
norm (`ContractingWith K g`, i.e. `K < 1` and `g` is `K`-Lipschitz for the sup metric of
`Fin n → ℝ`). Consider problem (24): maximise `qᵀ v` subject to `v ≤ g(v)` componentwise.
Then `g` has a unique fixed point `v_∞`, and
1. `qᵀ v_∞` is the maximum of (24) (attained at the feasible point `v_∞`);
2. every feasible `v` satisfies `v ≤ v_∞` componentwise;
3. if moreover `q > 0` componentwise, `v_∞` is the only optimizer of (24).
As printed, the lemma claims a unique optimizer for every `q ∈ ℝⁿ₊`; that fails when `q` has zero
entries (`g ≡ 0`, `q = (1, 0)`: every `(0, -t)`, `t ≥ 0`, is optimal), so uniqueness of the
optimizer is stated under `q > 0`. The printed feasibility hypothesis is automatic. -/
theorem lemma_two {n : ℕ} (q : Fin n → ℝ) (hq : 0 ≤ q) (g : (Fin n → ℝ) → (Fin n → ℝ))
(hmono : Monotone g) (K : NNReal) (hg : ContractingWith K g) :
∃ vinf : Fin n → ℝ,
g vinf = vinf ∧ (∀ w, g w = w → w = vinf) ∧
IsGreatest ((fun v : Fin n → ℝ => ∑ i, q i * v i) '' {v | v ≤ g v})
(∑ i, q i * vinf i) ∧
(∀ v, v ≤ g v → v ≤ vinf) ∧
((∀ i, 0 < q i) →
∀ v, v ≤ g v → ∑ i, q i * v i = ∑ i, q i * vinf i → v = vinf) := by sorry
end RobustMDP.Discounted
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The inputs are:
- an integer ;
- a vector with for all ;
- a map ;
- a nonnegative real .
The map is assumed to be:
- monotone componentwise: in every coordinate implies in every coordinate;
- a contraction with constant : and for all , where is the max-norm.
Call feasible if componentwise. The conclusion is that there exists with all of the following properties:
- , and every with equals (unique fixed point).
- The number is the greatest element of . That is, some feasible has , and for every feasible .
- Every feasible satisfies componentwise.
- If additionally for every , then every feasible with equals .
Items 1–3 are asserted for every , including with zero entries. Item 4 is asserted only under the strict-positivity hypothesis.
Degenerate cases:
- : has a single point, and all claims hold trivially.
- : is constant, and is that constant.
- : item 2 says the maximum value is . Item 4 is vacuous when , but holds trivially for .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.