Documentation

ConvexAnalysis.FenchelRockafellar

Fenchel–Rockafellar duality #

Strong duality for the primal problem inf_x f x + g (A x) and its Fenchel–Rockafellar dual sup_w -f* (A† w) - g* (-w), for convex f : H → EReal, g : K → EReal and a bounded linear map A : H →L[ℝ] K between real Hilbert spaces, under a continuity qualification; the dual problem is solvable, and no primal minimizer is needed.

Main statements #

Implementation notes #

Strong duality follows from the sandwich theorem ConvexAnalysis.exists_affine_sandwich of ConvexAnalysis.SumRule, applied to the infimum c of f + g ∘ A. Weak duality, sup ≤ inf for every f, g and A, is ConvexAnalysis.iSup_neg_fenchelConjugate_sub_le_iInf_add_comp in ConvexAnalysis.Conjugate.

References #

Tags #

Fenchel–Rockafellar duality, Fenchel duality, strong duality, conjugate function, primal–dual optimality conditions

theorem ConvexAnalysis.exists_neg_fenchelConjugate_sub_eq_iInf_add_comp {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ℝ K] {f : H → EReal} {g : K → EReal} [CompleteSpace K] (hf : ConvexFun f) (hg : ConvexFun g) (A : H →L[ℝ] K) {x₀ : H} (hx₀ : x₀ ∈ effectiveDomain f) {M : ℝ} (hM : ∀ᶠ (z : K) in nhds (A x₀), g z ≤ ↑M) :
∃ (w : K), -fenchelConjugate f ((ContinuousLinearMap.adjoint A) w) - fenchelConjugate g (-w) = ⨅ (x : H), f x + g (A x)

Strong Fenchel–Rockafellar duality BC, Theorem 15.23, R, Corollary 31.2.1 (R, Theorem 31.1 for A = id): for convex f, g with g bounded above near A x₀ for some x₀ ∈ dom f, some w attains the primal value in the dual problem: -f* (A† w) - g* (-w) = inf_x f x + g (A x). No primal minimizer is needed; if the primal value is ⊥, weak duality makes every dual value ⊥. [BC17] assumes f, g proper, lower semicontinuous and convex with 0 ∈ sri (dom g - A (dom f)); here f and g need not be lower semicontinuous, and the qualification is that g is bounded above near a point of A (dom f), a continuity condition as in BC, Proposition 15.24. Rockafellar works on ℝⁿ with closed f, g and a relative interior condition.

theorem ConvexAnalysis.iSup_neg_fenchelConjugate_sub_eq_iInf_add_comp {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ℝ K] {f : H → EReal} {g : K → EReal} [CompleteSpace K] (hf : ConvexFun f) (hg : ConvexFun g) (A : H →L[ℝ] K) {x₀ : H} (hx₀ : x₀ ∈ effectiveDomain f) {M : ℝ} (hM : ∀ᶠ (z : K) in nhds (A x₀), g z ≤ ↑M) :
⨆ (w : K), -fenchelConjugate f ((ContinuousLinearMap.adjoint A) w) - fenchelConjugate g (-w) = ⨅ (x : H), f x + g (A x)

Zero duality gap: under the qualification of exists_neg_fenchelConjugate_sub_eq_iInf_add_comp, the dual value equals the primal value.

theorem ConvexAnalysis.exists_neg_fenchelConjugate_sub_eq_iInf_add_comp_of_continuousAt {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ℝ K] {f : H → EReal} {g : K → EReal} [CompleteSpace K] (hf : ConvexFun f) (hg : ConvexFun g) (A : H →L[ℝ] K) {x₀ : H} (hx₀ : x₀ ∈ effectiveDomain f) (hAx₀ : A x₀ ∈ effectiveDomain g) (hgc : ContinuousAt g (A x₀)) :
∃ (w : K), -fenchelConjugate f ((ContinuousLinearMap.adjoint A) w) - fenchelConjugate g (-w) = ⨅ (x : H), f x + g (A x)

Strong Fenchel–Rockafellar duality with the qualification that g is continuous at A x₀, for a point x₀ ∈ dom f with A x₀ ∈ dom g.

Primal–dual optimality conditions BC, Theorem 19.1, the Kuhn–Tucker conditions of R, Theorem 31.3: at a point x with finite primal value, A† w ∈ ∂f x and -w ∈ ∂g (A x) iff the dual value at w equals the primal value at x; by weak duality such x and w then solve the primal and the dual problem. No convexity is needed.

theorem ConvexAnalysis.isMinOn_add_comp_iff {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ℝ K] {f : H → EReal} {g : K → EReal} [CompleteSpace K] (hf : ConvexFun f) (hg : ConvexFun g) (A : H →L[ℝ] K) {x₀ : H} (hx₀ : x₀ ∈ effectiveDomain f) {M : ℝ} (hM : ∀ᶠ (z : K) in nhds (A x₀), g z ≤ ↑M) {x : H} (hx : ⊥ < f x + g (A x)) :

Primal optimality condition under the qualification of strong duality BC, Theorem 27.2 (there for lower semicontinuous f, g under interiority conditions): x minimizes f + g ∘ A (with a value greater than ⊥) iff -A† w ∈ ∂f x for some w ∈ ∂g (A x).

theorem ConvexAnalysis.exists_neg_fenchelConjugate_sub_eq_iInf_add_comp_of_mem_interior {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {K : Type u_2} [NormedAddCommGroup K] [InnerProductSpace ℝ K] {f : H → EReal} {g : K → EReal} [FiniteDimensional ℝ K] (hf : ConvexFun f) (hg : ConvexFun g) (A : H →L[ℝ] K) {x₀ : H} (hx₀ : x₀ ∈ effectiveDomain f) (hAx₀ : A x₀ ∈ interior (effectiveDomain g)) :
∃ (w : K), -fenchelConjugate f ((ContinuousLinearMap.adjoint A) w) - fenchelConjugate g (-w) = ⨅ (x : H), f x + g (A x)

Strong Fenchel–Rockafellar duality in finite dimension, with the qualification A x₀ ∈ interior (dom g) for a point x₀ ∈ dom f.

theorem ConvexAnalysis.exists_neg_fenchelConjugate_sub_eq_iInf_add {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f g : H → EReal} (hf : ConvexFun f) (hg : ConvexFun g) {x₀ : H} (hx₀ : x₀ ∈ effectiveDomain f) {M : ℝ} (hM : ∀ᶠ (z : H) in nhds x₀, g z ≤ ↑M) :
∃ (w : H), -fenchelConjugate f w - fenchelConjugate g (-w) = ⨅ (x : H), f x + g x

Fenchel duality BC, Proposition 15.13: for convex f, g : H → EReal with g bounded above near a point of dom f, some w attains -f* w - g* (-w) = inf_x f x + g x.

theorem ConvexAnalysis.iSup_neg_fenchelConjugate_sub_eq_iInf_add {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] [CompleteSpace H] {f g : H → EReal} (hf : ConvexFun f) (hg : ConvexFun g) {x₀ : H} (hx₀ : x₀ ∈ effectiveDomain f) {M : ℝ} (hM : ∀ᶠ (z : H) in nhds x₀, g z ≤ ↑M) :
⨆ (w : H), -fenchelConjugate f w - fenchelConjugate g (-w) = ⨅ (x : H), f x + g x

Fenchel duality, zero gap: sup_w -f* w - g* (-w) = inf_x f x + g x.