A convex cone is closed under addition
ProvedConvexOptimization.add_mem_of_convex_coneA convex cone contains every conic combination of its elements: Boyd and Vandenberghe note that for in a convex cone and one has . The case is the additive closure recorded here.
Let be convex and positively homogeneous, i.e. whenever and . Then for all ,
The proof is the standard two-step factorisation through the midpoint: convexity places in , and scaling that midpoint by returns . Neither hypothesis alone suffices — a nonconvex cone such as the union of two rays is not closed under addition, and a bounded convex set is not either.
Together with nonnegative scaling this is what makes a convex cone an additively closed structure, and it is the workhorse step whenever one checks that a vector assembled from several conic terms again lies in the cone.
import Mathlib open scoped RealInnerProductSpace ENNReal open MeasureTheory
theorem ConvexOptimization.add_mem_of_convex_cone {d : ℕ}
(K : Set (EuclideanSpace ℝ (Fin d))) (hKconv : Convex ℝ K)
(hKcone : ∀ t : ℝ, 0 < t → ∀ y ∈ K, t • y ∈ K)
(u v : EuclideanSpace ℝ (Fin d)) (hu : u ∈ K) (hv : v ∈ K) :
u + v ∈ K := by sorry