Documentation

Books.ConvexAnalysis_Rockafellar_1970.Chapters.Chap03.section14_part2

def erealDom {F : Type u_2} (f : FEReal) :
Set F

The effective domain dom f of an EReal-valued function, as the set where f is finite (i.e. strictly below ).

Equations
Instances For
    def ProperERealFunction {F : Type u_2} (f : FEReal) :

    A basic notion of properness for an EReal-valued function: it never takes the value and is finite at some point.

    Equations
    Instances For
      def ConvexERealFunction {F : Type u_2} [AddCommGroup F] [Module F] (f : FEReal) :

      A Jensen-style convexity condition for an EReal-valued function on a real vector space.

      Equations
      Instances For
        def ProperConvexERealFunction {F : Type u_2} [AddCommGroup F] [Module F] (f : FEReal) :

        A "proper convex function" (proper + Jensen convex) for EReal-valued functions.

        Equations
        Instances For
          noncomputable def recessionFunctionEReal {F : Type u_2} [AddCommGroup F] (f : FEReal) :
          FEReal

          The recession function f₀⁺(y) = sup { f(x+y) - f(x) | x ∈ dom f } for an EReal-valued function.

          Equations
          Instances For
            def recessionConeEReal {F : Type u_2} [AddCommGroup F] (f : FEReal) :
            Set F

            The recession cone {y | f₀⁺(y) ≤ 0} associated to recessionFunctionEReal.

            Equations
            Instances For
              theorem section14_mem_recessionConeEReal_iff {F : Type u_2} [AddCommGroup F] (g : FEReal) (y : F) :
              y recessionConeEReal g xerealDom g, g (x + y) - g x 0

              Membership in recessionConeEReal is equivalent to a pointwise nonpositivity condition on increment differences over the effective domain.

              theorem section14_mem_polarCone_hull_erealDom_iff {E : Type u_1} [AddCommGroup E] [Module E] {f : EEReal} (φ : Module.Dual E) :
              φ polarCone (ConvexCone.hull (erealDom f)) xerealDom f, φ x 0

              For f : E → EReal, membership in the polar cone of the cone hull of erealDom f is equivalent to being nonpositive on erealDom f.

              If y★ is nonpositive on erealDom f, then the Fenchel conjugate of f is nonincreasing under translation by y★.

              theorem section14_eq_coe_of_lt_top {z : EReal} (hzTop : z < ) (hzBot : z ) :
              ∃ (r : ), z = r

              A finite, non- EReal value is a real coercion.

              The Fenchel conjugate of a proper function never takes the value .

              theorem section14_step_le_of_mem_recessionCone {F : Type u_2} [AddCommGroup F] (g : FEReal) {x y : F} (hy : y recessionConeEReal g) (hx : x erealDom g) :
              g (x + y) g x x + y erealDom g

              If y ∈ recessionConeEReal g and x ∈ erealDom g, then translating by y does not increase g, and the translate remains in the effective domain.

              theorem section14_real_nonpos_of_nat_mul_le (r C : ) (h : ∀ (n : ), n * r C) :
              r 0

              If n * r is uniformly bounded above for all natural n, then r ≤ 0.

              theorem polar_sum_le_one_eq (n : ) :
              have C₂ := {x : EuclideanSpace (Fin n) | (∀ (j : Fin n), 0 x.ofLp j) j : Fin n, x.ofLp j 1}; polar C₂ = {φ : Module.Dual (EuclideanSpace (Fin n)) | ∀ (j : Fin n), φ (EuclideanSpace.single j 1) 1}

              Text 14.0.13 (Example). Define C₂ = {x = (ξ₁, …, ξₙ) | ξⱼ ≥ 0, ξ₁ + ⋯ + ξₙ ≤ 1}. Then its polar is C₂^∘ = {x★ = (ξ₁★, …, ξₙ★) | ξⱼ★ ≤ 1 for j = 1, …, n}.

              In this file, C^∘ is modeled as polar (E := EuclideanSpace ℝ (Fin n)) C : Set (Module.Dual ℝ _), and we express the coordinate inequalities as φ (EuclideanSpace.single j 1) ≤ 1.

              The coefficient vector of a linear functional on ℝ^2 with respect to the standard basis.

              Equations
              Instances For
                noncomputable def section14_C3_center :

                The center (1,0) of the shifted unit disk C₃.

                Equations
                Instances For

                  Expanding the squared distance from the center (1,0) gives the defining quadratic inequality for C₃.

                  Membership in C₃ is equivalent to being within distance 1 from the center (1,0).

                  A linear functional on ℝ^2 acts as an inner product with its coefficient vector.

                  If φ satisfies the support-function bound for the shifted unit disk, then φ belongs to its polar.

                  If φ belongs to the polar of the shifted unit disk, then it satisfies the support-function bound φ(1,0) + ‖vφ‖ ≤ 1.

                  Text 14.0.14 (Example). Define C₃ = {x = (ξ₁, ξ₂) | (ξ₁ - 1)^2 + ξ₂^2 ≤ 1}. Then its polar can be described as C₃^∘ = {x★ = (ξ₁★, ξ₂★) | ξ₁★ + ‖(ξ₁★, ξ₂★)‖ ≤ 1}.

                  In this file, C^∘ is modeled as polar (E := EuclideanSpace ℝ (Fin 2)) C : Set (Module.Dual ℝ _), and we interpret the coordinates ξ₁★, ξ₂★ of a functional φ as the values φ (EuclideanSpace.single 0 1) and φ (EuclideanSpace.single 1 1).

                  A concrete counterexample showing that, for the current definition of C₄ and P, the set P is not a subset of the polar C₄^∘. This indicates that polar_C4_eq_convexHull cannot be proven as stated.

                  @[reducible, inline]
                  noncomputable abbrev section14_e0 :

                  The standard basis vector e₀ in ℝ².

                  Equations
                  Instances For
                    @[reducible, inline]
                    noncomputable abbrev section14_e1 :

                    The standard basis vector e₁ in ℝ².

                    Equations
                    Instances For
                      noncomputable def section14_C4 :

                      The set C₄ = {(ξ₁, ξ₂) | ξ₁ ≤ 1 - √(1+ξ₂^2)} from Text 14.0.15.

                      Equations
                      Instances For
                        noncomputable def section14_P4 :

                        The parabola region P₄ = {(a,b) | b^2 + 1 ≤ 2a} in the dual space.

                        Equations
                        Instances For

                          Coordinate expansion of a linear functional on ℝ².

                          The basic inequality |t| ≤ √(1+t^2).

                          theorem section14_sqrt_mul_sub_ge_sqrt_sub {a b t : } (hb : |b| a) :
                          (a ^ 2 - b ^ 2) a * (1 + t ^ 2) - b * t

                          A squaring identity gives the key inequality used in the C₄ polar computation.

                          theorem section14_convex_polar {E : Type u_1} [AddCommGroup E] [Module E] (C : Set E) :

                          The polar of any set is convex (as a subset of the dual).

                          The parabola region P₄ is contained in the polar of C₄.

                          The easy inclusion conv(P₄ ∪ {0}) ⊆ C₄^∘.

                          A linear functional on ℝ² is determined by its values on the standard basis.

                          theorem section14_sqrt_one_add_sq_sub_nat_le_inv_nat (n : ) (hn : 1 n) :
                          (1 + n ^ 2) - n 1 / n

                          A convenient estimate: for n ≥ 1, √(1+n^2) - n ≤ 1/n.

                          theorem section14_eval_opt_t {a b : } (ha : 0 a) (hba : b ^ 2 < a ^ 2) :
                          have t := b / (a ^ 2 - b ^ 2); a * (1 + t ^ 2) - b * t = (a ^ 2 - b ^ 2)

                          For 0 ≤ a and b^2 < a^2, the choice t = b / √(a^2-b^2) attains the minimum in the expression a * √(1+t^2) - b * t.

                          Membership in the polar of C₄ forces the coordinate constraints needed for the description via P₄.

                          The hard inclusion C₄^∘ ⊆ conv(P₄ ∪ {0}) (to be proven).

                          theorem polar_C4_eq_convexHull :
                          have C₄ := {x : EuclideanSpace (Fin 2) | x.ofLp 0 1 - (1 + x.ofLp 1 ^ 2)}; have P₄ := {φ : Module.Dual (EuclideanSpace (Fin 2)) | φ (EuclideanSpace.single 1 1) ^ 2 + 1 2 * φ (EuclideanSpace.single 0 1)}; polar C₄ = (convexHull ) (P₄ {0})

                          Text 14.0.15 (Example). Define C₄ = {x = (ξ₁, ξ₂) | ξ₁ ≤ 1 - (1 + ξ₂^2)^{1/2}}. Then its polar can be written as C₄^∘ = conv(P ∪ {0}), where P = {x★ = (ξ₁★, ξ₂★) | ξ₁★ ≥ (1 + (ξ₂★)^2)^{1/2}}.

                          Note: the set P above (a "sqrt cone") is not contained in the polar for the current definition of polar (via Fenchel conjugates), as shown by section14_counterexample_P_not_subset_polar_C4. The correct description of C₄^∘ in this formalization uses instead the parabola region P₄ = {x★ = (a,b) | b^2 + 1 ≤ 2a}, which is the closed convex hull of all supporting halfspaces through the origin.

                          In this file, C^∘ is modeled as polar (E := EuclideanSpace ℝ (Fin 2)) C : Set (Module.Dual ℝ _), and we interpret the coordinates ξ₁★, ξ₂★ of a functional φ as the values φ (EuclideanSpace.single 0 1) and φ (EuclideanSpace.single 1 1).