§6.1, p. 791 — for the entropy set is the whole simplex and the worst case is
ProvedRobustMDP.EntropyInner.whole_simplexLet with for all , let and . Let .
- The quantity is the maximum of the relative entropy over the simplex:
and the maximum is attained. 2. If , then and the worst-case value of over is
again attained.
This identifies the regime in which the entropy constraint is inactive and the robust inner problem ignores the nominal distribution .
Formalization Note Both maxima are stated with IsGreatest (the value lies in the image and bounds it from above); is the indexed supremum ⨆ i, -Real.log (q i) over the finite index set.
import Mathlib import Definitions.Def_RobustMDP_EntropyInner_klBall import Definitions.Def_RobustMDP_EntropyInner_dualFunction
namespace RobustMDP.EntropyInner
/-- §6.1 (Nilim–El Ghaoui 2005, p. 791). Let `q ∈ Δₙ` with `q > 0` and `β > 0`.
(a) `maxᵢ (−log qᵢ)` is the maximum of `p ↦ D(p‖q)` over the simplex `Δₙ` (attained).
(b) If `β ≥ maxᵢ (−log qᵢ)`, the entropy set `𝒫 = {p ∈ Δₙ : D(p‖q) ≤ β}` is the whole simplex, and
the worst-case value of `pᵀv` over `𝒫` is `v_max = maxⱼ v(j)` (attained). -/
theorem whole_simplex {n : ℕ} (q v : Fin n → ℝ) (β : ℝ)
(hq : q ∈ stdSimplex ℝ (Fin n)) (hq_pos : ∀ j, 0 < q j) (hβ : 0 < β) :
IsGreatest ((fun p => klDiv p q) '' stdSimplex ℝ (Fin n)) (⨆ i, -Real.log (q i)) ∧
((⨆ i, -Real.log (q i)) ≤ β →
klBall q β = stdSimplex ℝ (Fin n) ∧
IsGreatest ((fun p : Fin n → ℝ => ∑ j, p j * v j) '' klBall q β) (vmax v)) := by sorry
end RobustMDP.EntropyInner
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let , let and let . Assume:
- , where is the probability simplex;
- for every ;
- .
Notation.
- The divergence is , with the convention that a term with contributes . Since , no other convention is involved for .
- The set .
- , the supremum of the coordinates of .
- . Since every , this is the largest of the real numbers .
Conclusion (a). is the greatest element of the set of values . That is:
- for every ;
- some has .
Conclusion (b). If , then both of the following hold:
- , as sets;
- is the greatest element of , meaning:
The vector is arbitrary. The hypothesis is assumed throughout, including in part (a), where does not appear.
Degenerate cases.
- : impossible, since requires . So and are genuine maxima.
- :
- , , and with there.
- Part (a) says is the greatest value of .
- Since , part (b) always applies: the set is and the greatest value of is .
- uniform: every , so .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.