The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V16. Normed spaces and functional analysis

Mathlib.Analysis.Convex.Approximation

17 declarations. Mathlib docs · Source

Approximation to convex functions

In this file we show that a convex lower-semicontinuous function is the upper envelope of a family of continuous affine linear functions. We follow the proof in [N. Bourbaki, Topological vector spaces, Chapter II, §5][bourbaki1987].

Main Statement

  • sSup_affine_eq : A function φ : E → ℝ that is convex and lower-semicontinuous on a closed convex subset s is the supremum of a family of functions that are the restrictions to s of continuous affine linear functions.
  • sSup_of_countable_affine_eq : Suppose E is a HereditarilyLindelofSpace. A function φ : E → ℝ that is convex and lower-semicontinuous on a closed convex subset s is the supremum of a family of countably many functions that are the restrictions to s of continuous affine linear functions.

theorem ConvexOn.convex_re_epigraph E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {s : Set E} {φ : E → ℝ} [inst : RCLike 𝕜] [inst_1 : AddCommMonoid E]
  [inst_2 : Module ℝ E], ConvexOn ℝ s φ → Convex ℝ {p | p.1 ∈ s ∧ φ p.1 ≤ RCLike.re p.2}

theorem LowerSemicontinuousOn.isClosed_re_epigraph E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {s : Set E} {φ : E → ℝ} [inst : RCLike 𝕜] [inst_1 : TopologicalSpace E],
  IsClosed s → LowerSemicontinuousOn φ s → IsClosed {p | p.1 ∈ s ∧ φ p.1 ≤ RCLike.re p.2}

theorem ConvexOn.exists_affine_le_of_lt E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} {s : Set E} {φ : E → ℝ} [inst : RCLike 𝕜] [inst_1 : TopologicalSpace E]
  [inst_2 : AddCommGroup E] [inst_3 : Module ℝ E] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E] [LocallyConvexSpace ℝ E] {x : E} {a : ℝ},
  x ∈ s →
    a < φ x →
      IsClosed s →
        LowerSemicontinuousOn φ s →
          ConvexOn ℝ s φ →
            ∃ l c, s.domRestrict (⇑RCLike.re ∘ ⇑l) + Function.const (↑s) c ≤ s.domRestrict φ ∧ RCLike.re (l x) + c = a

Let φ : E → ℝ be a convex and lower-semicontinuous function on a closed convex subset s. For any point x ∈ s and a < φ x, there exists a continuous affine linear function f in E such that f ≤ φ on s and f x = a. This is an auxiliary lemma used in the proof of ConvexOn.sSup_affine_eq.

theorem ConvexOn.exists_affine_le_of_lt_real E1 #

∀ {s : Set ℝ} {f : ℝ → ℝ} {x a : ℝ},
  x ∈ s →
    a < f x →
      IsClosed s → LowerSemicontinuousOn f s → ConvexOn ℝ s f → ∃ c c', (∀ y ∈ s, c * y + c' ≤ f y) ∧ c * x + c' = a

theorem ConvexOn.exists_affine_le_real E1 #

∀ {s : Set ℝ} {f : ℝ → ℝ}, IsClosed s → LowerSemicontinuousOn f s → ConvexOn ℝ s f → ∃ c c', ∀ x ∈ s, c * x + c' ≤ f x

theorem ConvexOn.sSup_affine_eq E3 #

∀ {𝕜 : Type u_1} {E : Type u_2} {s : Set E} {φ : E → ℝ} [inst : RCLike 𝕜] [inst_1 : TopologicalSpace E]
  [inst_2 : AddCommGroup E] [inst_3 : Module ℝ E] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E] [LocallyConvexSpace ℝ E],
  IsClosed s →
    LowerSemicontinuousOn φ s →
      ConvexOn ℝ s φ →
        sSup {f | f ≤ s.domRestrict φ ∧ ∃ l c, f = s.domRestrict (⇑RCLike.re ∘ ⇑l) + Function.const (↑s) c} =
          s.domRestrict φ

A function φ : E → ℝ that is convex and lower-semicontinuous on a closed convex subset s is the supremum of a family of functions that are the restrictions to s of continuous affine linear functions in E.

theorem ConvexOn.sSup_of_countable_affine_eq E3 #

∀ {𝕜 : Type u_1} {E : Type u_2} {s : Set E} {φ : E → ℝ} [inst : RCLike 𝕜] [inst_1 : TopologicalSpace E]
  [inst_2 : AddCommGroup E] [inst_3 : Module ℝ E] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E] [LocallyConvexSpace ℝ E] [HereditarilyLindelofSpace E],
  IsClosed s →
    LowerSemicontinuousOn φ s →
      ConvexOn ℝ s φ →
        ∃ 𝓕',
          𝓕'.Countable ∧
            sSup 𝓕' = s.domRestrict φ ∧
              ∀ f ∈ 𝓕', f ≤ s.domRestrict φ ∧ ∃ l c, f = s.domRestrict (⇑RCLike.re ∘ ⇑l) + Function.const (↑s) c

The countable version of sSup_affine_eq.

theorem ConvexOn.sSup_of_nat_affine_eq E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {s : Set E} {φ : E → ℝ} [inst : RCLike 𝕜] [inst_1 : TopologicalSpace E]
  [inst_2 : AddCommGroup E] [inst_3 : Module ℝ E] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E] [LocallyConvexSpace ℝ E] [HereditarilyLindelofSpace E],
  IsClosed s →
    LowerSemicontinuousOn φ s →
      ConvexOn ℝ s φ →
        ∃ l c,
          (∀ (i : ℕ), s.domRestrict (⇑RCLike.re ∘ ⇑(l i)) + Function.const (↑s) (c i) ≤ s.domRestrict φ) ∧
            ⨆ i, s.domRestrict (⇑RCLike.re ∘ ⇑(l i)) + Function.const (↑s) (c i) = s.domRestrict φ

The sequential version of sSup_of_countable_affine_eq.

theorem ConvexOn.univ_sSup_affine_eq E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {φ : E → ℝ} [inst : RCLike 𝕜] [inst_1 : TopologicalSpace E] [inst_2 : AddCommGroup E]
  [inst_3 : Module ℝ E] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  [LocallyConvexSpace ℝ E],
  LowerSemicontinuous φ → ConvexOn ℝ Set.univ φ → sSup {f | f ≤ φ ∧ ∃ l c, f = ⇑RCLike.re ∘ ⇑l + Function.const E c} = φ

A function φ : E → ℝ that is convex and lower-semicontinuous is the supremum of a family of continuous affine linear functions.

theorem ConvexOn.univ_sSup_of_countable_affine_eq E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {φ : E → ℝ} [inst : RCLike 𝕜] [inst_1 : TopologicalSpace E] [inst_2 : AddCommGroup E]
  [inst_3 : Module ℝ E] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  [LocallyConvexSpace ℝ E] [HereditarilyLindelofSpace E],
  LowerSemicontinuous φ →
    ConvexOn ℝ Set.univ φ →
      ∃ 𝓕', 𝓕'.Countable ∧ sSup 𝓕' = φ ∧ ∀ f ∈ 𝓕', f ≤ φ ∧ ∃ l c, f = ⇑RCLike.re ∘ ⇑l + Function.const E c

The countable version of univ_sSup_affine_eq.

theorem ConvexOn.univ_sSup_of_nat_affine_eq E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} {φ : E → ℝ} [inst : RCLike 𝕜] [inst_1 : TopologicalSpace E] [inst_2 : AddCommGroup E]
  [inst_3 : Module ℝ E] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  [LocallyConvexSpace ℝ E] [HereditarilyLindelofSpace E],
  LowerSemicontinuous φ →
    ConvexOn ℝ Set.univ φ →
      ∃ l c,
        (∀ (i : ℕ), ⇑RCLike.re ∘ ⇑(l i) + Function.const E (c i) ≤ φ) ∧
          ⨆ i, ⇑RCLike.re ∘ ⇑(l i) + Function.const E (c i) = φ

The sequential version of univ_sSup_of_countable_affine_eq.

theorem ConvexOn.real_sSup_affine_eq E0 #

∀ {E : Type u_2} {s : Set E} {φ : E → ℝ} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E],
  IsClosed s →
    LowerSemicontinuousOn φ s →
      ConvexOn ℝ s φ →
        sSup {f | f ≤ s.domRestrict φ ∧ ∃ l c, f = s.domRestrict ⇑l + Function.const (↑s) c} = s.domRestrict φ

The real version of sSup_affine_eq.

theorem ConvexOn.real_sSup_of_countable_affine_eq E0 #

∀ {E : Type u_2} {s : Set E} {φ : E → ℝ} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E] [HereditarilyLindelofSpace E],
  IsClosed s →
    LowerSemicontinuousOn φ s →
      ConvexOn ℝ s φ →
        ∃ 𝓕',
          𝓕'.Countable ∧
            sSup 𝓕' = s.domRestrict φ ∧
              ∀ f ∈ 𝓕', f ≤ s.domRestrict φ ∧ ∃ l c, f = s.domRestrict ⇑l + Function.const (↑s) c

The real version of sSup_of_countable_affine_eq.

theorem ConvexOn.real_sSup_of_nat_affine_eq E0 #

∀ {E : Type u_2} {s : Set E} {φ : E → ℝ} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E] [HereditarilyLindelofSpace E],
  IsClosed s →
    LowerSemicontinuousOn φ s →
      ConvexOn ℝ s φ →
        ∃ l c,
          (∀ (i : ℕ), s.domRestrict ⇑(l i) + Function.const (↑s) (c i) ≤ s.domRestrict φ) ∧
            ⨆ i, s.domRestrict ⇑(l i) + Function.const (↑s) (c i) = s.domRestrict φ

The real version of sSup_of_nat_affine_eq.

theorem ConvexOn.real_univ_sSup_affine_eq E0 #

∀ {E : Type u_2} {φ : E → ℝ} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E],
  LowerSemicontinuous φ → ConvexOn ℝ Set.univ φ → sSup {f | f ≤ φ ∧ ∃ l c, f = ⇑l + Function.const E c} = φ

The real version of univ_sSup_affine_eq.

theorem ConvexOn.real_univ_sSup_of_countable_affine_eq E0 #

∀ {E : Type u_2} {φ : E → ℝ} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E] [HereditarilyLindelofSpace E],
  LowerSemicontinuous φ →
    ConvexOn ℝ Set.univ φ → ∃ 𝓕', 𝓕'.Countable ∧ sSup 𝓕' = φ ∧ ∀ f ∈ 𝓕', f ≤ φ ∧ ∃ l c, f = ⇑l + Function.const E c

The real version of univ_sSup_of_countable_affine_eq.

theorem ConvexOn.real_univ_sSup_of_nat_affine_eq E0 #

∀ {E : Type u_2} {φ : E → ℝ} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E] [HereditarilyLindelofSpace E],
  LowerSemicontinuous φ →
    ConvexOn ℝ Set.univ φ →
      ∃ l c, (∀ (i : ℕ), ⇑(l i) + Function.const E (c i) ≤ φ) ∧ ⨆ i, ⇑(l i) + Function.const E (c i) = φ

The real version of univ_sSup_of_nat_affine_eq.