Documentation

Books.ConvexAnalysis_Rockafellar_1970.Chapters.Chap04.section17_part4

theorem caratheodory_on_range_preserves_distinct_indices {n k : } {I : Type u_1} (Cᵢ : ISet (Fin n)) {idx : Fin kI} {p : Fin kFin n} {x : Fin n} (hidx : Function.Injective idx) (hp : ∀ (j : Fin k), p j Cᵢ (idx j)) (hx : x conv (Set.range p)) :
mn + 1, ∃ (idx' : Fin mI) (p' : Fin mFin n) (w : Fin m), Function.Injective idx' (∀ (j : Fin m), p' j Cᵢ (idx' j)) AffineIndependent p' IsConvexWeights m w x = convexCombination n m p' w

Apply Carathéodory on a finite range while preserving distinct indices.

theorem mem_conv_iUnion_imp_exists_affineIndependent_convexCombination_le_add_one {n : } {I : Type u_1} (Cᵢ : ISet (Fin n)) (hconv : ∀ (i : I), Convex (Cᵢ i)) {x : Fin n} :
x conv (⋃ (i : I), Cᵢ i)mn + 1, ∃ (idx : Fin mI) (p : Fin mFin n) (w : Fin m), Function.Injective idx (∀ (j : Fin m), p j Cᵢ (idx j)) AffineIndependent p IsConvexWeights m w x = convexCombination n m p w

Corollary 17.1.1. Let {Cᵢ | i ∈ I} be an arbitrary collection of convex sets in ℝⁿ, and let C be the convex hull of the union ⋃ i, Cᵢ i. Then every point x ∈ C can be expressed as a convex combination of n + 1 (or fewer) affinely independent points, each belonging to a different Cᵢ.

The cone generated by the empty set is just {0}.

theorem mem_convexConeGenerated_imp_exists_nonnegLinearCombination_le {n : } {T : Set (Fin n)} {x : Fin n} (hT : T.Nonempty) :
x convexConeGenerated n Tkn, ∃ (v : Fin kFin n) (c : Fin k), (∀ (j : Fin k), v j T) (∀ (j : Fin k), 0 c j) x = j : Fin k, c j v j

Extract a bounded nonnegative linear combination from a cone membership.

theorem coalesce_nonnegLinearCombination_iUnion_to_injective {n k : } {I : Type u_1} (Cᵢ : ISet (Fin n)) (hconv : ∀ (i : I), Convex (Cᵢ i)) {x : Fin n} (v : Fin kFin n) (c : Fin k) (hc : ∀ (j : Fin k), 0 c j) (hx : x = j : Fin k, c j v j) (hmem : ∀ (j : Fin k), ∃ (i : I), v j Cᵢ i) :
mk, ∃ (idx : Fin mI) (v' : Fin mFin n) (c' : Fin m), Function.Injective idx (∀ (j : Fin m), v' j Cᵢ (idx j)) (∀ (j : Fin m), 0 c' j) x = j : Fin m, c' j v' j

Coalesce a nonnegative linear combination in a union into one indexed by distinct sets.

theorem drop_zero_coeff_sum_smul_to_shorter_fin {n m : } {y : Fin n} (s : Fin (m + 1)Fin n) (c : Fin (m + 1)) (hc : ∀ (i : Fin (m + 1)), 0 c i) (hsum : y = i : Fin (m + 1), c i s i) (i0 : Fin (m + 1)) (hci0 : c i0 = 0) :
∃ (e : Fin m Fin (m + 1)) (c' : Fin m), (∀ (j : Fin m), 0 c' j) y = j : Fin m, c' j s (e j)

Remove a zero coefficient from a nonnegative sum and shorten the index set.

theorem conic_elim_one_generator_pos_to_shorter_fin {n m : } {y : Fin n} (s : Fin (m + 1)Fin n) (c : Fin (m + 1)) (hc : ∀ (i : Fin (m + 1)), 0 < c i) (hsum : y = i : Fin (m + 1), c i s i) (hlin : ¬LinearIndependent s) :
∃ (e : Fin m Fin (m + 1)) (c' : Fin m), (∀ (j : Fin m), 0 c' j) y = j : Fin m, c' j s (e j)

Eliminate one generator from a positive conic combination under linear dependence.

theorem exists_linearIndependent_nonnegLinearCombination_subfamily {n k : } {x : Fin n} (v : Fin kFin n) (c : Fin k) (hc : ∀ (j : Fin k), 0 c j) (hx : x = j : Fin k, c j v j) (hx_ne : x 0) :
mk, ∃ (e : Fin m Fin k) (c' : Fin m), (∀ (j : Fin m), 0 c' j) (LinearIndependent fun (j : Fin m) => v (e j)) x = j : Fin m, c' j v (e j)

Reduce a nonnegative sum to a linearly independent subfamily.

theorem mem_convexConeGenerated_iUnion_imp_exists_linearIndependent_nonnegLinearCombination_le {n : } {I : Type u_1} (Cᵢ : ISet (Fin n)) (hnonempty : ∀ (i : I), (Cᵢ i).Nonempty) (hconv : ∀ (i : I), Convex (Cᵢ i)) {x : Fin n} :
x convexConeGenerated n (⋃ (i : I), Cᵢ i)x 0mn, ∃ (idx : Fin mI) (v : Fin mFin n) (c : Fin m), Function.Injective idx (∀ (j : Fin m), v j Cᵢ (idx j)) LinearIndependent v (∀ (j : Fin m), 0 c j) x = j : Fin m, c j v j

Corollary 17.1.2. Let {Cᵢ | i ∈ I} be an arbitrary collection of nonempty convex sets in ℝⁿ, and let K be the convex cone generated by the union ⋃ i, Cᵢ i. Then every nonzero vector x ∈ K can be expressed as a nonnegative linear combination of n (or fewer) linearly independent vectors, each belonging to a different Cᵢ.

theorem bdd_toReal_of_sum_ne_top {n : } {ι : Sort u_1} {f : ι(Fin n)EReal} (hf : ∀ (i : ι), ProperConvexFunctionOn Set.univ (f i)) {m : } {idx : Fin mι} {x' : Fin mFin n} {w : Fin m} (hw : IsConvexWeights m w) (hwnz : ∀ (j : Fin m), w j 0) {z : EReal} (hz : z = j : Fin m, (w j) * f (idx j) (x' j)) (hz_top : z ) (j : Fin m) :
f (idx j) (x' j)

If a convex-weighted EReal sum is not , then each term is not .

theorem exists_affine_relation_of_not_affineIndependent {n m : } {p : Fin (m + 1)Fin n} (h : ¬AffineIndependent p) :
∃ (μ : Fin (m + 1)), i : Fin (m + 1), μ i = 0 i : Fin (m + 1), μ i p i = 0 ∃ (i : Fin (m + 1)), μ i 0

Non-affine-independence yields a nontrivial affine relation.

theorem exists_pos_mu_of_sum_eq_zero_of_ne_zero {m : } {μ : Fin (m + 1)} (hsum : i : Fin (m + 1), μ i = 0) (hne : ∃ (i : Fin (m + 1)), μ i 0) :
∃ (i : Fin (m + 1)), 0 < μ i

A nontrivial affine relation with zero sum has a positive coefficient.

theorem convex_elim_one_point_obj_to_shorter_fin {n m : } {p : Fin (m + 1)Fin n} {w : Fin (m + 1)} {x : Fin n} {a : Fin (m + 1)} (hw : IsConvexWeights (m + 1) w) (hwnz : ∀ (i : Fin (m + 1)), w i 0) (hx : x = convexCombination n (m + 1) p w) (hdep : ¬AffineIndependent p) :
∃ (i0 : Fin (m + 1)) (w1 : Fin (m + 1)), IsConvexWeights (m + 1) w1 x = convexCombination n (m + 1) p w1 w1 i0 = 0 i : Fin (m + 1), w1 i * a i i : Fin (m + 1), w i * a i

Eliminate one point from a convex combination while not increasing a linear objective.