Eq. (15): the dual objective function separates over scenarios
ProvedPhiDivRobust.Counterpart.dualFunction_eqLet be a φ-divergence function, , , , , , , and let with for all . Write and for the -th columns of and . For every and the dual objective function satisfies
where .
The maximization over decouples into one-dimensional problems, one per scenario, each of which is a scaled conjugate of .
Formalization Note The identity holds in EReal. The paper's standing assumption is ; the change of variables in the third equality of (15) needs , which is assumed here (see the goal theorem for why is not enough).
import Mathlib import Definitions.Def_PhiDivRobust_Counterpart_IsPhiDivergenceFunction import Definitions.Def_PhiDivRobust_Counterpart_scaledConj import Definitions.Def_PhiDivRobust_Counterpart_dualFunction open Matrix
namespace PhiDivRobust.Counterpart
/-- Ben-Tal et al. 2013, p. 347, Eq. (15): for `q > 0`, `λ ≥ 0` and `η ∈ ℝᵏ`, the dual objective
function separates over scenarios,
`g(λ, η) = aᵀx + dᵀη + ρλ + ∑ᵢ qᵢ (λφ)*(bᵢᵀx − cᵢᵀη)`, where `bᵢ`, `cᵢ` are the `i`-th columns of
`B` and `C`. -/
theorem dualFunction_eq {n m k : ℕ} (φ : ℝ → EReal) (hφ : IsPhiDivergenceFunction φ)
(a : Fin n → ℝ) (B : Matrix (Fin n) (Fin m) ℝ) (C : Matrix (Fin k) (Fin m) ℝ)
(d : Fin k → ℝ) (q : Fin m → ℝ) (ρ : ℝ) (hq : ∀ i, 0 < q i) (x : Fin n → ℝ)
(lam : ℝ) (hlam : 0 ≤ lam) (η : Fin k → ℝ) :
dualFunction φ a B C d q ρ x lam η =
((a ⬝ᵥ x + d ⬝ᵥ η + ρ * lam : ℝ) : EReal) +
∑ i, (q i : EReal) *
scaledConj φ lam ((fun j => B j i) ⬝ᵥ x - (fun j => C j i) ⬝ᵥ η) := by sorry
end PhiDivRobust.Counterpart
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Hypotheses.
- .
- is a φ-divergence function: it is never , is finite on , satisfies , and is convex on in the extended-real sense.
- and .
- is a real matrix and is a real matrix.
- and , with no sign restriction on .
- with for every .
- , with no sign restriction.
- is real.
Notation. Write for the -th column of and for the -th column of . The dual function is
a supremum in over componentwise nonnegative . The scaled conjugate is , also in .
Claim. The following equality holds in :
All sums and products on the right are extended-real. The right-hand side equals as soon as any scaled-conjugate term is . For example, when the -th term is whenever .
Degenerate cases:
- . The positivity condition on is vacuous. The claim reduces to , where the supremum is over the single empty vector.
- . , and every are empty, so every -term is .
- . and .
- . This case is permitted.
- Sign of . may have negative entries.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.