Rockafellar, §2: Convex Sets and Cones #
Convex sets, convex hulls and convex combinations; the dimension of a convex set; cones, convex
cones and the smallest convex cone including a set. All 13 numbered results of §2 are formalized.
The section is thin: eight of them are one-line specialisations of Mathlib's Convex/convexHull
API, and Theorem 2.6 is the backbone's convex_iff_add_mem_of_isCone verbatim.
Main definitions #
IsCone— the book's cone: closed under positive scalar multiplication, with the origin free to belong or not. Deliberately not Mathlib'sPointedCone, which contains0by definition; the cones produced by Corollaries 2.6.2 and 2.6.3 need not contain the origin.isCone_iff_smul_set_eqbridges to the backbone's∀ a > 0, a • s = s, andtoPointedConebridges to Mathlib when0 ∈ K, which is the hypothesis of Theorem 2.7.posCombinations— the positive linear combinations of a set, the object of Corollaries 2.6.1 and 2.6.2.
The dimension of a convex set is dim from §1: the dimension of the subspace parallel to aff C.
Theorem 2.7 is split into four declarations, because the book's single sentence asserts four things.
References #
- R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §2.
Rockafellar's cones #
Rockafellar's cone: a subset of ℝⁿ closed under positive scalar multiplication, the
origin free to belong or not. Not Mathlib's PointedCone, which contains 0 by definition;
Corollaries 2.6.2 and 2.6.3 produce cones that need not contain the origin.
Instances For
Intersections: Theorems 2.1 and 2.5 #
Corollary 2.1.1. The solution set {x | ⟨x, bᵢ⟩ ≤ βᵢ for all i} of an arbitrary system
of weak linear inequalities is convex.
Corollary 2.5.1. The solution set of a homogeneous system of weak linear inequalities is a convex cone.
Convex combinations: Theorems 2.2, 2.3 and 2.4 #
Theorem 2.2. A subset of ℝⁿ is convex iff it contains all convex combinations of its
elements.
Theorem 2.3. For any S ⊆ ℝⁿ, conv S consists of all convex combinations of elements
of S. Indexed by Fin k, so that the statement reads as the book's λ₁x₁ + ⋯ + λ_m x_m.
Corollary 2.3.1. The convex hull of {b₀, …, b_m} is the set of λ₀b₀ + ⋯ + λ_m b_m
with λᵢ ≥ 0 and λ₀ + ⋯ + λ_m = 1.
Theorem 2.4. The dimension of a convex set C is the largest dimension of a simplex
included in C. A simplex is the convex hull of an affinely independent set, which in ℝⁿ is
automatically finite, so no finiteness hypothesis is carried. Needs C non-empty, which the book
does not say: for C = ∅ there is no simplex at all, and the maximum does not exist.
Convex cones: Theorems 2.6 and 2.7 #
Rockafellar's positive linear combinations of S: the sums λ₁x₁ + ⋯ + λ_m x_m with
m ≥ 1, every λᵢ > 0 and every xᵢ ∈ S. The index is an arbitrary non-empty finite type rather
than Fin (m+1), which makes the concatenation in Corollary 2.6.2 a Sum.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Positive linear combinations are monotone in the set.
A one-term positive combination is the element itself.
Corollary 2.6.1. A subset of ℝⁿ is a convex cone iff it contains all positive linear
combinations of its elements.
Corollary 2.6.2. The positive linear combinations of S form the smallest convex cone
including S. This cone need not contain the origin: it is the book's cone S only after the
origin is adjoined.
Corollary 2.6.3. For a convex set C, the set {λx | λ > 0, x ∈ C} is the
smallest convex cone which includes C.
A convex cone containing the origin, bundled as a Mathlib PointedCone. This is the bridge
Theorem 2.7 crosses: Rockafellar's cone plus 0 ∈ K is exactly PointedCone.
Equations
- Rockafellar.toPointedCone hK hconv h0 = { carrier := K, add_mem' := ⋯, zero_mem' := h0, smul_mem' := ⋯ }
Instances For
The carrier of toPointedCone is the set it came from.
Theorem 2.7, second half: for a convex cone K containing 0 there is a largest
subspace contained in K, namely (-K) ∩ K.
Theorem 2.7, first half: the smallest subspace containing a set is its linear span.
Theorem 2.7, first half continued: for a convex cone K containing 0, that
smallest subspace is K - K.
Theorem 2.7, first half continued: that smallest subspace is aff K. This is
the last sentence of the book's proof — the affine hull of a set containing 0 is a subspace, by
Theorem 1.1.