Documentation

Books.ConvexAnalysis_Rockafellar_1970.Chapters.Chap01.section02_part2

theorem smul_rayNonneg_subset (n : ) (S : Set (Fin n)) {t : } (ht : 0 < t) :

Positive scaling sends the nonnegative ray into itself.

theorem convexHull_rayNonneg_smul_closed (n : ) (S : Set (Fin n)) (x : Fin n) :
x (convexHull ) (rayNonneg n S)∀ (t : ), 0 < tt x (convexHull ) (rayNonneg n S)

The convex hull of the ray is closed under positive scaling.

theorem convexHull_rayNonneg_add_closed (n : ) (S : Set (Fin n)) (x : Fin n) :
x (convexHull ) (rayNonneg n S)y(convexHull ) (rayNonneg n S), x + y (convexHull ) (rayNonneg n S)

The convex hull of the ray is closed under addition.

theorem convexConeGenerated_eq_convexHull_ray (n : ) (S : Set (Fin n)) (hS : S.Nonempty) :
convexConeGenerated n S = (convexHull ) {y : Fin n | xS, ∃ (t : ), 0 t y = t x}

Corollary 2.6.11. For any nonempty subset S ⊆ Real^n, the convex cone generated by S satisfies cone S = conv (ray S).

theorem convexCone_smallest_largest_subspace (n : ) (K : Set (Fin n)) (hK : IsConvexCone n K) (h0 : 0 K) :
(Submodule.span K) = {z : Fin n | xK, yK, z = x - y} (Submodule.span K) = (affineSpan K) ∃ (S : Submodule (Fin n)), S K (∀ (T : Submodule (Fin n)), T KT S) S = {x : Fin n | x K -x K}

Theorem 2.7. Let K be a convex cone containing 0. Then the smallest subspace containing K is the set of differences {x - y | x ∈ K, y ∈ K}, which coincides with aff K, and the largest subspace contained in K is (-K) ∩ K.

def IsNormalToConvexSet (n : ) (C : Set (Fin n)) (a xstar : Fin n) :

Definition 2.7.10. A vector x* is normal to a convex set C at a point a ∈ C if ⟪x - a, x*⟫ ≤ 0 for every x ∈ C; the set of all vectors normal to C at a is called the normal cone to C at a.

Equations
Instances For
    def normalConeAt (n : ) (C : Set (Fin n)) (a : Fin n) :
    Set (Fin n)

    Definition 2.7.10. The normal cone to C at a is the set of all vectors normal to C at a.

    Equations
    Instances For
      def barrierCone (n : ) (C : Set (Fin n)) :
      Set (Fin n)

      Definition 2.7.11. The barrier cone of a convex set C is the set of all vectors x* such that there exists β ∈ ℝ with ⟪x, x*⟫ ≤ β for every x ∈ C.

      Equations
      Instances For
        theorem barrierCone_smul_mem (n : ) (C : Set (Fin n)) {xstar : Fin n} (hx : xstar barrierCone n C) {t : } (ht : 0 < t) :
        t xstar barrierCone n C

        The barrier cone is closed under positive scalar multiplication.

        theorem barrierCone_add_mem (n : ) (C : Set (Fin n)) {xstar1 : Fin n} (hx1 : xstar1 barrierCone n C) {xstar2 : Fin n} (hx2 : xstar2 barrierCone n C) :
        xstar1 + xstar2 barrierCone n C

        The barrier cone is closed under addition.

        theorem normalConeAt_add_mem (n : ) (C : Set (Fin n)) (a : Fin n) {xstar1 : Fin n} (hx1 : xstar1 normalConeAt n C a) {xstar2 : Fin n} (hx2 : xstar2 normalConeAt n C a) :
        xstar1 + xstar2 normalConeAt n C a

        The normal cone at a is closed under addition.

        theorem normalConeAt_smul_mem (n : ) (C : Set (Fin n)) (a : Fin n) {xstar : Fin n} (hx : xstar normalConeAt n C a) {t : } (ht : 0 < t) :
        t xstar normalConeAt n C a

        The normal cone at a is closed under positive scalar multiplication.

        theorem normalConeAt_isConvexCone (n : ) (C : Set (Fin n)) (a : Fin n) (_hC : Convex C) (_ha : a C) :

        Proposition 2.7.12. For a convex set C ⊆ ℝ^n and a point a ∈ C, the normal cone to C at a is a convex cone.

        theorem barrierCone_isConvexCone (n : ) (C : Set (Fin n)) (_hC : Convex C) :

        Proposition 2.7.13. For a convex set C ⊆ ℝ^n, the barrier cone of C is a convex cone.

        theorem convex_closedHalfSpaceLE_dotProduct (n : ) (b : Fin n) (β : ) :

        The dot-product half-space is convex.

        theorem convex_closedHalfSpaceGE_dotProduct (n : ) (b : Fin n) (β : ) :

        The dot-product half-space is convex.

        The strict dot-product half-spaces (< and >) are convex.

        Corollary 2.0.4. For non-zero b ∈ Real^n and β ∈ Real, each of the four half-spaces {x | ⟪x, b⟫ ≤ β}, {x | ⟪x, b⟫ ≥ β}, {x | ⟪x, b⟫ < β}, {x | ⟪x, b⟫ > β} is a convex subset of Real^n.

        theorem isAffineSet_imp_convex (n : ) (M : Set (Fin n)) (hM : IsAffineSet n M) :

        Proposition 2.0.5. Every affine subset of ℝ^n (including and ℝ^n itself) is convex.

        theorem dotProduct_self_pos_of_ne_zero {n : } {b : Fin n} (hb : b 0) :
        0 < b ⬝ᵥ b

        A nonzero vector has positive dot product with itself.

        theorem exists_dotProduct_eq_of_ne_zero (n : ) (b : Fin n) (β : ) (hb : b 0) :
        ∃ (x0 : Fin n), x0 ⬝ᵥ b = β

        For nonzero b, there is a vector with prescribed dot product with b.

        theorem dotProduct_shift_by_b (n : ) (b x : Fin n) :
        (x + b) ⬝ᵥ b = x ⬝ᵥ b + b ⬝ᵥ b (x - b) ⬝ᵥ b = x ⬝ᵥ b - b ⬝ᵥ b

        Dot products with b after shifting by ± b in the left argument.

        Proposition 2.0.6. For any non-zero b ∈ Real^n and any β ∈ Real, each of the four half-spaces {x | ⟪x, b⟫ ≤ β}, {x | ⟪x, b⟫ ≥ β}, {x | ⟪x, b⟫ < β}, {x | ⟪x, b⟫ > β} is non-empty.

        A comparison symbol for linear inequalities/equations.

        Instances For
          theorem convex_dotProduct_eq (n : ) (b : Fin n) (β : ) :
          Convex {x : Fin n | x ⬝ᵥ b = β}

          The hyperplane {x | ⟪x, b⟫ = β} is convex, as an intersection of the two closed half-spaces {x | ⟪x, b⟫ ≤ β} and {x | ⟪x, b⟫ ≥ β}.

          theorem convex_linearComparisonSet (n : ) (b : Fin n) (β : ) (r : LinearComparison) :

          Each of the five comparison relations (, , <, >, =) defines a convex subset of Real^n via linearComparisonSet.

          theorem solutionSet_linearComparison_eq_iInter {ι : Sort u_1} (n : ) (b : ιFin n) (β : ι) (rel : ιLinearComparison) :
          {x : Fin n | ∀ (i : ι), x linearComparisonSet n (b i) (β i) (rel i)} = ⋂ (i : ι), linearComparisonSet n (b i) (β i) (rel i)

          The solution set of a family of linear comparisons is the intersection of the individual constraint sets.

          theorem convex_solutionSet_linearComparison {ι : Sort u_1} (n : ) (b : ιFin n) (β : ι) (rel : ιLinearComparison) :
          Convex {x : Fin n | ∀ (i : ι), x linearComparisonSet n (b i) (β i) (rel i)}

          Corollary 2.1.2. Given any system of simultaneous linear inequalities and equations in n variables, obtained by combining relations of the form ⟪x, b i⟫ ≤ β i, ⟪x, b i⟫ ≥ β i, ⟪x, b i⟫ < β i, ⟪x, b i⟫ > β i, and ⟪x, b i⟫ = β i (with b i ∈ Real^n and β i ∈ Real), the set of all solutions C ⊆ Real^n is convex.

          If D lies in an affine subspace A, then the dimension of D is at most the finrank of A.direction.

          theorem two_le_convexSetDim_of_exists_simplex_two {n : } {D : Set (Fin n)} (hsimplex : PD, IsSimplex n 2 P) :

          If D contains a 2-simplex, then the dimension of D is at least 2.

          theorem convexDisk_convexSetDim_eq_two (n : ) (D : Set (Fin n)) (hconv : Convex D) (hsub : ∃ (A : AffineSubspace (Fin n)), D A Module.finrank A.direction = 2) (hsimplex : PD, IsSimplex n 2 P) :

          Proposition 2.4.11. Every convex disk in ℝ^n has dimension 2, independently of the ambient dimension n.

          theorem setOf_forall_dotProduct_ge_zero_eq_setOf_forall_dotProduct_le_zero_neg {ι : Sort u_1} (n : ) (b : ιFin n) :
          {x : Fin n | ∀ (i : ι), 0 x ⬝ᵥ b i} = {x : Fin n | ∀ (i : ι), x ⬝ᵥ -b i 0}

          Rewrite ∀ i, 0 ≤ ⟪x, b i⟫ as ∀ i, ⟪x, -b i⟫ ≤ 0.

          theorem convexCone_of_dotProduct_ge_zero {ι : Sort u_1} (n : ) (b : ιFin n) :
          IsConvexCone n {x : Fin n | ∀ (i : ι), 0 x ⬝ᵥ b i}

          Corollary 2.5.2. Let b i ∈ Real^n for i ∈ I, where I is an arbitrary index set. Then K = {x ∈ Real^n | ⟪x, b i⟫ ≥ 0, i ∈ I} is a convex cone.

          theorem add_mem_setOf_forall_dotProduct_pos {ι : Sort u_1} {n : } {b : ιFin n} {x y : Fin n} :
          (∀ (i : ι), 0 < x ⬝ᵥ b i)(∀ (i : ι), 0 < y ⬝ᵥ b i)∀ (i : ι), 0 < (x + y) ⬝ᵥ b i

          Pointwise add-closure for {x | ∀ i, 0 < x ⬝ᵥ b i}.

          theorem smul_mem_setOf_forall_dotProduct_pos {ι : Sort u_1} {n : } {b : ιFin n} {x : Fin n} {t : } :
          (∀ (i : ι), 0 < x ⬝ᵥ b i)0 < t∀ (i : ι), 0 < t x ⬝ᵥ b i

          Pointwise positive-scalar closure for {x | ∀ i, 0 < x ⬝ᵥ b i}.

          theorem convexCone_of_dotProduct_pos {ι : Sort u_1} (n : ) (b : ιFin n) :
          IsConvexCone n {x : Fin n | ∀ (i : ι), 0 < x ⬝ᵥ b i}

          Corollary 2.5.3. Let b i ∈ Real^n for i ∈ I, where I is an arbitrary index set. Then K = {x ∈ Real^n | ⟪x, b i⟫ > 0, i ∈ I} is a convex cone.

          theorem setOf_forall_dotProduct_lt_zero_eq_setOf_forall_dotProduct_pos_neg {ι : Sort u_1} (n : ) (b : ιFin n) :
          {x : Fin n | ∀ (i : ι), x ⬝ᵥ b i < 0} = {x : Fin n | ∀ (i : ι), 0 < x ⬝ᵥ -b i}

          Rewrite ∀ i, ⟪x, b i⟫ < 0 as ∀ i, 0 < ⟪x, -b i⟫.

          theorem convexCone_of_dotProduct_lt_zero {ι : Sort u_1} (n : ) (b : ιFin n) :
          IsConvexCone n {x : Fin n | ∀ (i : ι), x ⬝ᵥ b i < 0}

          Corollary 2.5.4. Let b i ∈ Real^n for i ∈ I, where I is an arbitrary index set. Then K = {x ∈ Real^n | ⟪x, b i⟫ < 0, i ∈ I} is a convex cone.

          theorem add_mem_setOf_forall_dotProduct_eq_zero {ι : Sort u_1} {n : } {b : ιFin n} {x y : Fin n} :
          (∀ (i : ι), x ⬝ᵥ b i = 0)(∀ (i : ι), y ⬝ᵥ b i = 0)∀ (i : ι), (x + y) ⬝ᵥ b i = 0

          Pointwise add-closure for {x | ∀ i, x ⬝ᵥ b i = 0}.

          theorem smul_mem_setOf_forall_dotProduct_eq_zero {ι : Sort u_1} {n : } {b : ιFin n} {x : Fin n} {t : } :
          (∀ (i : ι), x ⬝ᵥ b i = 0)∀ (i : ι), t x ⬝ᵥ b i = 0

          Pointwise scalar closure for {x | ∀ i, x ⬝ᵥ b i = 0}.

          theorem convexCone_of_dotProduct_eq_zero {ι : Sort u_1} (n : ) (b : ιFin n) :
          IsConvexCone n {x : Fin n | ∀ (i : ι), x ⬝ᵥ b i = 0}

          Corollary 2.5.5. Let b i ∈ Real^n for i ∈ I, where I is an arbitrary index set. Then K = {x ∈ Real^n | ⟪x, b i⟫ = 0, i ∈ I} is a convex cone.

          Each homogeneous linear comparison set ⟪x, b⟫ (rel) 0 is a convex cone.

          theorem convexCone_solutionSet_homogeneous_linearComparison {ι : Sort u_1} (n : ) (b : ιFin n) (rel : ιLinearComparison) :
          IsConvexCone n {x : Fin n | ∀ (i : ι), x linearComparisonSet n (b i) 0 (rel i)}

          Corollary 2.5.6. Let b i ∈ Real^n for i ∈ I, where I is an arbitrary index set, and consider a system of homogeneous linear relations of the form ⟪x, b i⟫ ≤ 0, ⟪x, b i⟫ ≥ 0, ⟪x, b i⟫ < 0, ⟪x, b i⟫ > 0, and ⟪x, b i⟫ = 0 for various indices i ∈ I. Then the set K of all solutions x ∈ Real^n is a convex cone.

          theorem submodule_add_closed (n : ) (S : Submodule (Fin n)) (x : Fin n) :
          x SyS, x + y S

          A submodule (linear subspace) is closed under addition.

          theorem submodule_pos_smul_closed (n : ) (S : Submodule (Fin n)) (x : Fin n) :
          x S∀ (t : ), 0 < tt x S

          A submodule (linear subspace) is closed under positive scalar multiplication.

          theorem submodule_isConvexCone (n : ) (S : Submodule (Fin n)) :

          Proposition 2.5.14. Every linear subspace of Real^n is a convex cone.

          The nonnegative orthant is closed under addition.

          theorem nonNegativeOrthant_pos_smul_mem (n : ) (x : Fin n) :
          x nonNegativeOrthant n∀ (t : ), 0 < tt x nonNegativeOrthant n

          The nonnegative orthant is closed under positive scalar multiplication.

          theorem positiveOrthant_add_mem (n : ) (x : Fin n) :

          The positive orthant is closed under addition.

          theorem positiveOrthant_pos_smul_mem (n : ) (x : Fin n) :
          x positiveOrthant n∀ (t : ), 0 < tt x positiveOrthant n

          The positive orthant is closed under positive scalar multiplication.

          Proposition 2.5.15. The non-negative orthant and the positive orthant of Real^n are convex cones.

          Proposition 2.5.16. The open and closed half-spaces corresponding to a hyperplane through the origin are convex cones. Concretely, for b : Real^n, the hyperplane {x | ⟪x, b⟫ = 0} has associated closed half-spaces {x | ⟪x, b⟫ ≤ 0}, {x | ⟪x, b⟫ ≥ 0} and open half-spaces {x | ⟪x, b⟫ < 0}, {x | ⟪x, b⟫ > 0}.

          theorem convexConeSection_sum_weights_eq_one_of_cons_eq {n m : } {y : Fin n} {x : Fin (m + 1)Fin n} {w : Fin (m + 1)} (h : Fin.cons 1 y = i : Fin (m + 1), w i Fin.cons 1 (x i)) :
          i : Fin (m + 1), w i = 1

          Reading off the 0-th coordinate of a Fin.cons equality gives the normalization ∑ w = 1.

          theorem convexConeSection_tail_eq_sum_smul_of_cons_eq {n m : } {y : Fin n} {x : Fin (m + 1)Fin n} {w : Fin (m + 1)} (h : Fin.cons 1 y = i : Fin (m + 1), w i Fin.cons 1 (x i)) :
          y = i : Fin (m + 1), w i x i

          Reading off the tail coordinates of a Fin.cons equality gives the corresponding weighted-sum identity in Fin n → ℝ.

          theorem exists_convexCone_section_eq (n : ) (C : Set (Fin n)) (hC : Convex C) :
          ∃ (K : Set (Fin (n + 1))), IsConvexCone (n + 1) K C = {x : Fin n | Fin.cons 1 x K}

          Proposition 2.6.12. Every convex set C ⊆ ℝ^n can be realized as a cross-section of a convex cone in a higher-dimensional space: there exists a convex cone K ⊆ ℝ^{n+1} such that C = {x ∈ ℝ^n | (1, x) ∈ K}.