Documentation

Tdaf.Analysis.Convex.Recession.Closedness

When is a linear image closed? #

A linear image A C of a convex set need not be closed. It is closed, and its recession cone is the image of the recession cone, as soon as

0⁺(cl C) ∩ ker A ⊆ lin (cl C),

that is, as soon as every direction of recession of cl C killed by A is also one backwards. Sums of sets, images and sums and infimal convolutions of functions, and pointwise suprema follow.

Main results #

Implementation notes #

Both halves come from one compactness argument: a decreasing sequence of nonempty closed convex sets, each with recession cone {0}, is a sequence of compact sets, so its intersection is nonempty. The hypothesis says exactly that N := 0⁺(cl C) ∩ ker A is a subspace, and splitting cl C = N + (cl C ∩ M) along a complement M of N leaves the image unchanged while cutting the recession cone down to one that meets ker A only at 0. Finite dimensionality of the source is used only to get that compactness; the target space needs none.

References #

[^1]: R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §9.

Rays in a convex set #

theorem Convex.add_smul_mem_of_le {E : Type u_1} [AddCommGroup E] [Module ℝ E] {C : Set E} (hC : Convex ℝ C) {x₀ z : E} (hx₀ : x₀ ∈ C) {b c : ℝ} (hb : 0 ≤ b) (hbc : b ≤ c) (h : x₀ + c • z ∈ C) :
x₀ + b • z ∈ C

A ray in a convex set is filled in from its base point: if x₀ and x₀ + c • z both lie in C, so does x₀ + b • z for every 0 ≤ b ≤ c.

Convex.add_smul_mem is the same statement with b / c in place of b; this form is the one that comes up when the endpoints are indexed by ℕ.

The unconditional inclusion #

theorem Tdaf.ConvexAnalysis.image_recessionCone_subset {E : Type u_1} {G : Type u_2} [AddCommGroup E] [Module ℝ E] [AddCommGroup G] [Module ℝ G] (A : E →ₗ[ℝ] G) (C : Set E) :
⇑A '' recessionCone C ⊆ recessionCone (⇑A '' C)

A linear map carries directions of recession forward: A (0⁺C) ⊆ 0⁺(A C). No convexity, no closedness, no hypothesis on A.

Images under the reduced hypothesis #

Closedness under the reduced hypothesis: if a closed convex set recedes in no direction of ker A other than 0, its image under A is closed.

The recession cone of the image, under the reduced hypothesis: 0⁺(A C) = A (0⁺C).

Closedness of a linear image #

The reduction step. The hypothesis says exactly that N := 0⁺(cl C) ∩ ker A sits inside the lineality space, hence is a subspace. Splitting cl C along any complement M of N produces a set with the same image, the same image of the recession cone, and the reduced hypothesis 0⁺ ∩ ker A ⊆ {0}. It is packaged as an existential so that the closedness half and the recession-cone half can both consume it.

Closedness of a linear image: if cl C recedes in no direction of ker A other than those it also recedes in backwards, then A (cl C) is closed.

theorem Tdaf.ConvexAnalysis.Convex.closure_image_eq {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {C : Set E} (hC : Convex ℝ C) (A : E →ₗ[ℝ] G) (h : ∀ z ∈ recessionCone (closure C), A z = 0 → z ∈ linealitySpace (closure C)) :
closure (⇑A '' C) = ⇑A '' closure C

The closure of a linear image: cl (A C) = A (cl C).

The recession cone of a linear image: 0⁺(A (cl C)) = A (0⁺(cl C)).

The closure and the recession cone of a linear image, both conclusions together.

Sums of sets #

The sum C + D is the image of C ×ˢ D under the linear map (x, y) ↦ x + y. This is what turns a question about a sum into a question about a linear image.

theorem Tdaf.ConvexAnalysis.forall_mem_linealitySpace_prod {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {C D : Set E} (hCne : C.Nonempty) (hDne : D.Nonempty) (h : ∀ z ∈ recessionCone (closure C), ∀ w ∈ recessionCone (closure D), z + w = 0 → z ∈ linealitySpace (closure C) ∧ w ∈ linealitySpace (closure D)) (p : E × E) :

The cancellation hypothesis for two sets, transported to the product.

theorem Tdaf.ConvexAnalysis.Convex.isClosed_add {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {C D : Set E} (hC : Convex ℝ C) (hCc : IsClosed C) (hCne : C.Nonempty) (hD : Convex ℝ D) (hDc : IsClosed D) (hDne : D.Nonempty) (h : ∀ z ∈ recessionCone C, ∀ w ∈ recessionCone D, z + w = 0 → z ∈ linealitySpace C ∧ w ∈ linealitySpace D) :
IsClosed (C + D)

Closedness of a sum: the sum of two closed convex sets is closed as soon as the only way a direction of recession of C and a direction of recession of D can cancel is inside the two lineality spaces.

theorem Tdaf.ConvexAnalysis.Convex.closure_add_eq {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {C D : Set E} (hC : Convex ℝ C) (hCne : C.Nonempty) (hD : Convex ℝ D) (hDne : D.Nonempty) (h : ∀ z ∈ recessionCone (closure C), ∀ w ∈ recessionCone (closure D), z + w = 0 → z ∈ linealitySpace (closure C) ∧ w ∈ linealitySpace (closure D)) :

The closure of a sum: cl (C + D) = cl C + cl D.

The recession cone of a sum: 0⁺(cl C + cl D) = 0⁺(cl C) + 0⁺(cl D).

Sums under a no-cancellation hypothesis #

theorem Tdaf.ConvexAnalysis.forall_mem_linealitySpace_of_neg_notMem {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {C D : Set E} (h : ∀ z ∈ recessionCone C, -z ∈ recessionCone D → z = 0) (z : E) :
z ∈ recessionCone C → ∀ w ∈ recessionCone D, z + w = 0 → z ∈ linealitySpace C ∧ w ∈ linealitySpace D

The no-cancellation hypothesis implies the lineality one: if no direction of recession of C has its opposite among the directions of recession of D, the only cancelling pair is (0, 0), which lies in both lineality spaces.

theorem Tdaf.ConvexAnalysis.Convex.isClosed_add_of_neg_notMem_recessionCone {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {C D : Set E} (hC : Convex ℝ C) (hCc : IsClosed C) (hCne : C.Nonempty) (hD : Convex ℝ D) (hDc : IsClosed D) (hDne : D.Nonempty) (h : ∀ z ∈ recessionCone C, -z ∈ recessionCone D → z = 0) :
IsClosed (C + D)

The sum of two closed convex sets is closed as soon as no direction of recession of one is the opposite of a direction of recession of the other.

Under the same hypothesis, 0⁺(C + D) = 0⁺C + 0⁺D.

theorem Tdaf.ConvexAnalysis.Convex.isClosed_add_of_isBounded {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {C D : Set E} (hC : Convex ℝ C) (hCc : IsClosed C) (hCne : C.Nonempty) (hCb : Bornology.IsBounded C) (hD : Convex ℝ D) (hDc : IsClosed D) (hDne : D.Nonempty) :
IsClosed (C + D)

A bounded summand suffices: a bounded set recedes in no direction, so the hypothesis is automatic and C + D is closed.

theorem Tdaf.ConvexAnalysis.closure_add_coe_pointedCone {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] (K L : PointedCone ℝ E) (h : ∀ z ∈ closure ↑K, ∀ w ∈ closure ↑L, z + w = 0 → z ∈ linealitySpace (closure ↑K) ∧ w ∈ linealitySpace (closure ↑L)) :
closure (↑K + ↑L) = closure ↑K + closure ↑L

The closure of a sum of two pointed convex cones: the cancellation hypothesis reads on the closures, and gives cl (K + L) = cl K + cl L.

Images of functions #

The hypothesis at the level of the epigraph: (z, 0) is a direction of recession of epi f exactly when f recedes in the direction z, and it lies in the lineality space exactly when f is constant along z.

theorem Tdaf.ConvexAnalysis.closedProperConvexFn_mapLin {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {f : E → EReal} (hf : ConvexFn f) (hp : Proper f) (hc : IsClosed (epi f)) (A : E →ₗ[ℝ] G) (h : ∀ (z : E), recessionFn f z ≤ 0 → A z = 0 → z ∈ constancySpace f) :

The image of a function under a linear map: the image of a closed proper convex function is again closed proper convex, and the infimum defining it is attained, provided f is constant along every direction of recession that A kills.

The three conclusions are packaged together because they come from one application of the image theorem to epi f: the epigraph identity is the statement that the infimum is attained, and closedness and properness are read off it.

theorem Tdaf.ConvexAnalysis.exists_mapLin_eq {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {f : E → EReal} (hf : ConvexFn f) (hp : Proper f) (hc : IsClosed (epi f)) (A : E →ₗ[ℝ] G) (h : ∀ (z : E), recessionFn f z ≤ 0 → A z = 0 → z ∈ constancySpace f) {y : G} {μ : ℝ} (hμ : mapLin A f y ≤ ↑μ) :
∃ (x : E), A x = y ∧ f x ≤ ↑μ

Attainment on its own: under the same hypothesis the infimum defining (A f) y is attained whenever it is bounded above by a real.

Infimal convolution #

theorem Tdaf.ConvexAnalysis.forall_eq_zero_of_recessionFn_add_pos {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {f g : E → EReal} (hpf : Proper f) (hpg : Proper g) (h : ∀ (z : E), z ≠ 0 → 0 < recessionFn f z + recessionFn g (-z)) (q : E × ℝ) :
q ∈ recessionCone (epi f) → -q ∈ recessionCone (epi g) → q = 0

The positivity hypothesis, transported to the epigraphs: a direction of recession of epi f whose opposite recedes from epi g has to be zero.

The vertical coordinate is what makes this more than a restatement: at z = 0 the hypothesis says nothing, and it is properness — f0⁺ 0 = g0⁺ 0 = 0 — that pins the vertical coordinate to 0.

theorem Tdaf.ConvexAnalysis.forall_mem_linealitySpace_epi_of_recessionFn_symm {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {f g : E → EReal} (hpf : Proper f) (hpg : Proper g) (h : ∀ (z : E), recessionFn f z + recessionFn g (-z) ≤ 0 → recessionFn f (-z) + recessionFn g z ≤ 0) (q : E × ℝ) :
q ∈ recessionCone (epi f) → ∀ r ∈ recessionCone (epi g), q + r = 0 → q ∈ linealitySpace (epi f) ∧ r ∈ linealitySpace (epi g)

Call z a direction of joint recession for f and g when (f0⁺) z + (g0⁺) (-z) ≤ 0; it is the direction in which f □ g fails to increase. If the set of such directions is symmetric, then a direction of recession of epi f whose opposite recedes from epi g lies in the lineality space of epi f, and its opposite in that of epi g — which is the hypothesis of Convex.isClosed_add.

The vertical coordinates are what make this more than a restatement: the hypothesis speaks only about directions in E, and it is properness — through le_recessionFn_of_neg_le — that pins the two vertical coordinates against each other.

Infimal convolution under a symmetry hypothesis. If f and g are closed proper convex and the set of directions of joint recession — those z with (f0⁺) z + (g0⁺) (-z) ≤ 0 — is symmetric, then f □ g is a closed proper convex function, the infimum defining it is attained, and (f □ g)0⁺ = f0⁺ □ g0⁺.

This is strictly weaker in hypothesis than closedProperConvexFn_infConv, which asks the set of directions of joint recession to be {0}. Symmetry allows a whole subspace of directions along which f and g are affine with opposite slopes; f = g = 0 is already such a pair, and the conclusions hold for it.

Properness is where the symmetry does its work. A vertical line in epi f + epi g produces directions with (f0⁺) z + (g0⁺) (-z) ≤ -1; symmetry then forces the reversed sum to be ≤ 0 too, and (f0⁺) (-z) + (g0⁺) z ≥ 1 by le_recessionFn_of_neg_le.

theorem Tdaf.ConvexAnalysis.recessionFn_symm_of_recessionFn_add_pos {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {f g : E → EReal} (hpf : Proper f) (hpg : Proper g) (h : ∀ (z : E), z ≠ 0 → 0 < recessionFn f z + recessionFn g (-z)) (z : E) :

The positivity hypothesis implies the symmetry one: if the only direction of joint recession is 0, the set of them is trivially symmetric.

Infimal convolution under a positivity hypothesis. If f and g are closed proper convex functions with (f0⁺) z + (g0⁺) (-z) > 0 for every z ≠ 0, then f □ g is a closed proper convex function, the infimum defining it is attained, and (f □ g)0⁺ = f0⁺ □ g0⁺.

The three conclusions come from one application of the no-cancellation sum rule to epi f and epi g: the epigraph identity epi (f □ g) = epi f + epi g is the attainment statement, since a sum of epigraphs is an epigraph exactly when every infimum defining f □ g is achieved.

The hypothesis is stronger than it needs to be: it is enough that the set of directions of joint recession be symmetric, not that it be {0}. That is closedProperConvexFn_infConv_of_recessionFn_symm, of which this is a specialisation.

theorem Tdaf.ConvexAnalysis.exists_add_eq_of_infConv_le_of_recessionFn_symm {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {f g : E → EReal} (hf : ClosedProperConvexFn f) (hg : ClosedProperConvexFn g) (h : ∀ (z : E), recessionFn f z + recessionFn g (-z) ≤ 0 → recessionFn f (-z) + recessionFn g z ≤ 0) {x : E} {μ : ℝ} (hμ : infConv f g x ≤ ↑μ) :
∃ (y : E) (ν : ℝ) (ρ : ℝ), y + (x - y) = x ∧ ν + ρ = μ ∧ f y ≤ ↑ν ∧ g (x - y) ≤ ↑ρ

Attainment for infimal convolution, under the symmetry hypothesis: the infimum defining (f □ g) x is attained whenever it is bounded above by a real.

theorem Tdaf.ConvexAnalysis.exists_add_eq_of_infConv_le {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {f g : E → EReal} (hf : ClosedProperConvexFn f) (hg : ClosedProperConvexFn g) (h : ∀ (z : E), z ≠ 0 → 0 < recessionFn f z + recessionFn g (-z)) {x : E} {μ : ℝ} (hμ : infConv f g x ≤ ↑μ) :
∃ (y : E) (ν : ℝ) (ρ : ℝ), y + (x - y) = x ∧ ν + ρ = μ ∧ f y ≤ ↑ν ∧ g (x - y) ≤ ↑ρ

Attainment for infimal convolution, under the positivity hypothesis.

Sums of functions #

theorem Tdaf.ConvexAnalysis.add_ne_bot {E : Type u_1} {f g : E → EReal} (hf : ∀ (x : E), f x ≠ ⊥) (hg : ∀ (x : E), g x ≠ ⊥) (x : E) :
(f + g) x ≠ ⊥

A sum of two functions that never take ⊥ never takes ⊥.

theorem Tdaf.ConvexAnalysis.Proper.add {E : Type u_1} {f g : E → EReal} (hf : Proper f) (hg : Proper g) (hne : (dom (f + g)).Nonempty) :
Proper (f + g)

Properness of a sum: properness of the summands plus one common domain point.

A sum of two closed proper convex functions is again closed proper convex, as soon as it is not identically +∞.

Lower semicontinuity of the sum is Mathlib's LowerSemicontinuous.add', whose explicit continuity hypothesis is exactly what properness supplies: neither summand is ⊥, so EReal addition is continuous at every pair of values.

theorem Tdaf.ConvexAnalysis.closedProperConvexFn_finsetSum {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {ι : Type u_2} {s : Finset ι} {g : ι → E → EReal} (hg : ∀ i ∈ s, ClosedProperConvexFn (g i)) {x₀ : E} (hx₀ : ∀ i ∈ s, x₀ ∈ dom (g i)) :
ClosedProperConvexFn (∑ i ∈ s, g i)

A finite sum: f₁ + ⋯ + fₘ is closed proper convex as soon as the summands are and their effective domains share a point.

The binary rule needs a point of the domain at every step, so the induction carries one: what is proved is the conjunction of the conclusion with x₀ ∈ dom (∑ i ∈ s, gᵢ).

The recession function of a sum: (f + g)0⁺ = f0⁺ + g0⁺.

Both sides are limits of difference quotients based at one common point of dom f ∩ dom g, and Tdaf.EReal.coe_mul_sub_add_coe_mul_sub says the quotients themselves add up. Uniqueness of limits finishes; closedness is what makes a single base point enough.

theorem Tdaf.ConvexAnalysis.lscHull_add {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {f g : E → EReal} (hf : ConvexFn f) (hpf : Proper f) (hg : ConvexFn g) (hpg : Proper g) {x : E} (hxf : x ∈ intrinsicInterior ℝ (dom f)) (hxg : x ∈ intrinsicInterior ℝ (dom g)) :

The lower semicontinuous hull of a sum: when the two effective domains share a relative interior point, the hull of a sum is the sum of the hulls.

Each of the three hulls at y is a limit along one and the same segment based at the common point, which lies in ri (dom (f + g)) because the relative interior of an intersection of convex sets with a common relative interior point is the intersection of the relative interiors.

theorem Tdaf.ConvexAnalysis.clFn_add {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {f g : E → EReal} (hf : ConvexFn f) (hpf : Proper f) (hg : ConvexFn g) (hpg : Proper g) {x : E} (hxf : x ∈ intrinsicInterior ℝ (dom f)) (hxg : x ∈ intrinsicInterior ℝ (dom g)) :
clFn (f + g) = clFn f + clFn g

The closure of a sum: cl (f + g) = cl f + cl g when the effective domains share a relative interior point.

Pointwise suprema #

theorem Tdaf.ConvexAnalysis.isClosed_epi_iSup {E : Type u_1} [NormedAddCommGroup E] {ι : Type u_2} {f : ι → E → EReal} (hc : ∀ (i : ι), IsClosed (epi (f i))) :
IsClosed (epi fun (z : E) => ⨆ (i : ι), f i z)

A pointwise supremum of closed functions is closed, because its epigraph is an intersection of epigraphs. Nothing else is needed.

theorem Tdaf.ConvexAnalysis.recessionFn_iSup {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {ι : Type u_2} {f : ι → E → EReal} (hconv : ∀ (i : ι), ConvexFn (f i)) (hc : ∀ (i : ι), IsClosed (epi (f i))) (hne : (epi fun (z : E) => ⨆ (i : ι), f i z).Nonempty) :
(recessionFn fun (z : E) => ⨆ (i : ι), f i z) = fun (z : E) => ⨆ (i : ι), recessionFn (f i) z

The recession function of a pointwise supremum: (⨆ i, fᵢ)0⁺ = ⨆ i, (fᵢ)0⁺. It is the recession cone of an intersection, read through epi_recessionFn.

theorem Tdaf.ConvexAnalysis.lscHull_iSup {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] {ι : Type u_2} {f : ι → E → EReal} (hconv : ∀ (i : ι), ConvexFn (f i)) {x : E} (hx : ∀ (i : ι), x ∈ intrinsicInterior ℝ (dom (f i))) (hfin : ⨆ (i : ι), f i x < ⊤) :
(lscHull fun (z : E) => ⨆ (i : ι), f i z) = fun (z : E) => ⨆ (i : ι), lscHull (f i) z

The lower semicontinuous hull of a pointwise supremum: cl (⨆ i, fᵢ) = ⨆ i, cl fᵢ.

A point x lying in every ri (dom fᵢ) at which the supremum is finite supplies a common relative interior point of the epigraphs: (x, μ) lies in every ri (epi fᵢ) for any real μ above the supremum, which is what lets the closure pass inside the intersection.

Composition with a linear map #

Closedness of a composition: g A is closed whenever g is, with no relative interior hypothesis, because epi (g A) is a preimage of epi g under a continuous map.

theorem Tdaf.ConvexAnalysis.recessionFn_compLin {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] {g : G → EReal} (hg : ConvexFn g) (hc : IsClosed (epi g)) (A : E →ₗ[ℝ] G) (hne : (dom (compLin g A)).Nonempty) :

The recession function of a composition: (gA)0⁺ = (g0⁺)A. It is the recession cone of a preimage, read through epi_recessionFn.

The relative interior hypothesis, transported to epigraphs: if A x is a relative interior point of dom g, some (x, μ) is carried into ri (epi g).

The lower semicontinuous hull of a composition: cl (g A) = (cl g) A as soon as some A x is a relative interior point of dom g. It is the rule for the closure of a preimage, applied to epi g.

theorem Tdaf.ConvexAnalysis.clFn_compLin {E : Type u_1} {G : Type u_2} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] [NormedAddCommGroup G] [NormedSpace ℝ G] [FiniteDimensional ℝ G] {g : G → EReal} (hg : ConvexFn g) (hp : Proper g) (A : E →ₗ[ℝ] G) {x : E} (hx : A x ∈ intrinsicInterior ℝ (dom g)) :
clFn (compLin g A) = compLin (clFn g) A

The same for clFn: cl (g A) = (cl g) A for proper g.