§6.2, p. 791 — the optimal distribution (Gibbs variational principle)
ProvedRobustMDP.EntropyInner.tilted_optimalLet with for all , let and .
- For every ,
- The tilted distribution
belongs to and attains equality in 1.
In words, maximises the penalised objective over the simplex, and the maximum is times the log-moment-generating function of under at . This is what makes the optimal distribution for a given multiplier in the dual of the inner problem.
Formalization Note The paper only displays the formula for ("The optimal distribution is"); the inequality in 1 with equality at is the content that display relies on.
import Mathlib import Definitions.Def_RobustMDP_EntropyInner_klBall import Definitions.Def_RobustMDP_EntropyInner_dualFunction
namespace RobustMDP.EntropyInner
/-- The optimal distribution of §6.2 (Nilim–El Ghaoui 2005, p. 791), in variational form.
For `q ∈ Δₙ` with `q > 0` and `λ > 0`:
(a) every `p ∈ Δₙ` satisfies `pᵀv − λ D(p‖q) ≤ λ log ∑ⱼ q(j) exp (v(j)/λ)`;
(b) the tilted distribution `p*(j) = q(j) exp (v(j)/λ) / ∑ᵢ q(i) exp (v(i)/λ)` lies in `Δₙ` and
attains equality in (a). -/
theorem tilted_optimal {n : ℕ} (q v : Fin n → ℝ)
(hq : q ∈ stdSimplex ℝ (Fin n)) (hq_pos : ∀ j, 0 < q j) (lam : ℝ) (hlam : 0 < lam) :
(∀ p ∈ stdSimplex ℝ (Fin n),
(∑ j, p j * v j) - lam * klDiv p q ≤
lam * Real.log (∑ j, q j * Real.exp (v j / lam))) ∧
tiltedDist q v lam ∈ stdSimplex ℝ (Fin n) ∧
(∑ j, tiltedDist q v lam j * v j) - lam * klDiv (tiltedDist q v lam) q =
lam * Real.log (∑ j, q j * Real.exp (v j / lam)) := 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:
- lies in the probability simplex ;
- for every ;
- .
No appears.
Notation.
- , where a term with contributes .
- , which is strictly positive.
- .
Conclusion (a). For every ,
Conclusion (b). .
Conclusion (c). Equality holds at :
Degenerate cases.
- : impossible, because of the simplex hypothesis on .
- :
- , and .
- Parts (a) and (c) both reduce to and .
- Zero coordinates of : for with some , those coordinates contribute nothing to , which matches the convention .
- : not covered.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.