Rockafellar, §3: The Algebra of Convex Sets #
Operations that preserve convexity: scalar multiples, sums, convex combinations of a family of sets, images and inverse images under linear maps, direct sums, partial addition, and the inverse sum. All 9 numbered results of §3 are formalized.
Main definitions #
convexCombinations— the union of all finite convex combinations∑ λᵢ Cᵢof a family of sets, which is the right-hand side of Theorem 3.3.partialAdd— the partial addition of Theorem 3.6: add in the second argument, intersect in the first. The book describes the operation informally and fixes no symbol for it, so its commutativity, associativity and two extreme cases (m = 0is ordinary addition,p = 0is intersection) are proved here; §5 rests on them.invSum— Rockafellar's inverse sumC₁ # C₂. It has no backbone counterpart, so it comes with three bridges:mem_invSum_iff_exists,invSum_eq_iUnion_singleton, andinvSum_eq_partialAdd_coneLift, the derivation from partial addition that Theorem 3.7's one-line proof appeals to.coneLift— the convex cone inℝⁿ⁺¹with cross-sectionC, through which the book derives#from partial addition.
λC, −C and C₁ + C₂ need no definition of their own: they are Mathlib's pointwise a • s,
-s and s + t, and the book's displayed formulas for them are those definitions on the nose.
ℝᵐ⁺ᵖ is Rn m × Rn p here, which is the shape in which §3 actually uses it — a vector of
ℝᵐ⁺ᵖ is written (y, z) throughout. theorem_3_8_invSum drops the convexity the book assumes,
its proof not using it; theorem_3_8_add keeps it.
References #
- R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §3.
Scalar multiples, reflections and sums #
Additive inverses do not exist for sets with more than one point; the best one can say in
general is that 0 ∈ C + (-C) when C ≠ ∅.
Theorem 3.2. (λ₁ + λ₂) C = λ₁ C + λ₂ C for convex C and λ₁, λ₂ ≥ 0. This is the one
law of set algebra in §3 that depends on convexity: ⊆ holds for any C, and ⊇ is the
convexity relation C ⊇ (λ₁/(λ₁+λ₂)) C + (λ₂/(λ₁+λ₂)) C multiplied through by λ₁ + λ₂.
Rockafellar, §3 (p. 19). C + C = 2C for convex C, the first consequence the book draws
from Theorem 3.2.
Theorem 3.3: the convex hull of a union #
The right-hand side of Theorem 3.3: the union of all finite convex
combinations λ₁ C_{i₁} + ⋯ + λ_m C_{i_m} of the family C, taken over all non-negative choices
of the coefficients λᵢ of which only finitely many are non-zero and which add up to 1.
Equations
Instances For
Membership in convexCombinations, with the four nested unions unpacked.
Theorem 3.3. The convex hull of the union of a collection of non-empty convex sets Cᵢ
is ⋃ ∑ᵢ λᵢ Cᵢ, the union over all non-negative coefficient families with finite support summing
to 1.
Theorem 3.4: images and inverse images #
Theorem 3.4 (first clause). The image AC = {Ax | x ∈ C} of a convex set under a linear
transformation is convex.
Theorem 3.4 (second clause). The inverse image A⁻¹D = {x | Ax ∈ D} of a convex set is
convex. The notation does not imply that A is invertible.
Corollary 3.4.1. The orthogonal projection of a convex set C on a subspace
L is another convex set: the projection assigns to each x the unique y ∈ L with x - y ⊥ L,
and that assignment is linear, so Theorem 3.4 applies.
Theorem 3.5: the direct sum #
Theorem 3.5. The direct sum C ⊕ D = {(y, z) | y ∈ C, z ∈ D} of convex sets is convex.
C ⊕ D is Mathlib's C ×ˢ D, on Rn m × Rn p rather than Rn (m + p).
Each x ∈ C + D decomposes uniquely as x = y + z with y ∈ C, z ∈ D — the case in which
C + D is also called a direct sum — iff (C - C) ∩ (D - D) = {0}. The book states this
without proof.
Theorem 3.6: partial addition #
Partial addition, the operation of Theorem 3.6: partialAdd C₁ C₂ is the set of (y, z)
for which there are z₁, z₂ with (y, z₁) ∈ C₁, (y, z₂) ∈ C₂ and z₁ + z₂ = z. The book
describes this in words as "adding in the z argument alone" and fixes no symbol for it; there is
one such operation for each decomposition of ℝⁿ into a direct sum of two subspaces.
Equations
Instances For
Rockafellar, §3 (p. 20). Partial addition is commutative.
Rockafellar, §3 (p. 20). Partial addition is associative.
Rockafellar, §3 (p. 20), the extreme case m = 0. When the first factor is trivial,
partial addition is ordinary addition of sets.
Rockafellar, §3 (p. 20), the extreme case p = 0. When the second factor is trivial,
partial addition is intersection.
Theorem 3.6. Let C₁ and C₂ be convex sets in ℝᵐ⁺ᵖ, and let C be the
set of vectors x = (y, z) such that there exist z₁ and z₂ with (y, z₁) ∈ C₁,
(y, z₂) ∈ C₂ and z₁ + z₂ = z. Then C is a convex set in ℝᵐ⁺ᵖ.
Rockafellar, §3 (p. 20). Ordinary addition of convex sets in ℝⁿ is the extreme case
m = 0 of Theorem 3.6.
Rockafellar, §3 (p. 20). Intersection of convex sets in ℝⁿ is the extreme case p = 0
of Theorem 3.6.
Theorem 3.7: the inverse sum #
Rockafellar's inverse sum C₁ # C₂ = ⋃ {(1 - λ) C₁ ∩ λ C₂ | 0 ≤ λ ≤ 1}. The book obtains
it as the partial addition "in the λ argument alone" of the cones in ℝⁿ⁺¹ corresponding to
C₁ and C₂; that derivation is invSum_eq_partialAdd_coneLift.
Instances For
Rockafellar, §3 (p. 21). C₁ # C₂ consists of all the vectors x which can be expressed
in the form x = (1 - λ) x₁ = λ x₂ with 0 ≤ λ ≤ 1, x₁ ∈ C₁ and x₂ ∈ C₂.
Inverse addition is monotone in both arguments.
Inverse addition is pointwise, C₁ # C₂ = {x₁ # x₂ | x₁ ∈ C₁, x₂ ∈ C₂}, in parallel with the
formula for C₁ + C₂; {x₁} # {x₂} is non-empty exactly when x₁ and x₂ lie on a common ray
through the origin.
The inverse sum of two vectors on a common ray: {α₁ e} # {α₂ e} = {[α₁α₂/(α₁+α₂)] e} for
α₁, α₂ ≥ 0. The coefficient is stated as a product, not as the book's harmonic (α₁⁻¹+α₂⁻¹)⁻¹:
since 0⁻¹ = 0 in Lean the harmonic form evaluates to α₂ at α₁ = 0, which is wrong, whereas
the product form is correct throughout (0 / 0 = 0).
The cone correspondence behind inverse addition #
Rockafellar, §3 (p. 20). The convex cone in ℝⁿ⁺¹ associated with a convex set C in
ℝⁿ: the one generated by {(x, 1) | x ∈ C}, written here with the height in the second
coordinate so that partial addition in the height is partialAdd.
Instances For
coneLift C is exactly the union of the non-negative multiples of the cross-section
{(x, 1) | x ∈ C}, which is why it deserves the name "the cone generated by" that section.
coneLift C contains the origin of ℝⁿ⁺¹ whenever C is non-empty — the book's cones K
are exactly the ones "containing the origin".
coneLift C is a convex cone whenever C is convex. This, together with
coneLift_eq_iUnion_smul, is the "convex cone K in ℝⁿ⁺¹ containing the origin and having a
cross-section identifiable with C" of the book.
The inverse sum is the partial addition "in the λ argument alone" of coneLift C₁ and
coneLift C₂, read off at height 1: the bridge between invSum and Theorem 3.6.
Theorem 3.8: cones #
Theorem 3.8 (first equation). For convex cones K₁, K₂ containing the origin,
K₁ + K₂ = conv (K₁ ∪ K₂).
Theorem 3.8 (second equation). For cones K₁, K₂ containing the origin,
K₁ # K₂ = K₁ ∩ K₂. Stated without the convexity the book carries over from the first equation:
closure under positive scaling and membership of the origin suffice.