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.LocallyConvex.Separation

31 declarations. Mathlib docs · Source

Separation Hahn-Banach theorem

In this file we prove the geometric Hahn-Banach theorem. For any two disjoint convex sets, there exists a continuous linear functional separating them, geometrically meaning that we can intercalate a plane between them.

We provide many variations to stricten the result under more assumptions on the convex sets:

  • geometric_hahn_banach_open: One set is open. Weak separation.
  • geometric_hahn_banach_open_point, geometric_hahn_banach_point_open: One set is open, the other is a singleton. Weak separation.
  • geometric_hahn_banach_open_open: Both sets are open. Semistrict separation.
  • geometric_hahn_banach_of_nonempty_interior': One set has nonempty interior. Nonstrict separation.
  • geometric_hahn_banach_of_nonempty_interior: One set has nonempty interior, the other one is nonempty. Nonstrict separation by a nonzero functional.
  • geometric_hahn_banach_of_nonempty_interior_point: One set has nonempty interior, the other one is a singleton outside this interior. Nonstrict separation, with the maximum attained at the singleton.
  • geometric_hahn_banach_compact_closed, geometric_hahn_banach_closed_compact: One set is closed, the other one is compact. Strict separation.
  • geometric_hahn_banach_point_closed, geometric_hahn_banach_closed_point: One set is closed, the other one is a singleton. Strict separation.
  • geometric_hahn_banach_point_point: Both sets are singletons. Strict separation.

theorem StrongDual.extendRCLikeₗ.congr_simp E1 #

∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] {F : Type u_2} [inst_1 : TopologicalSpace F] [inst_2 : AddCommGroup F]
  [inst_3 : Module 𝕜 F] [inst_4 : ContinuousConstSMul 𝕜 F] [inst_5 : Module ℝ F] [inst_6 : IsScalarTower ℝ 𝕜 F],
  StrongDual.extendRCLikeₗ = StrongDual.extendRCLikeₗ

theorem separate_convex_open_set E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [IsTopologicalAddGroup E] [inst_3 : Module ℝ E]
  [ContinuousSMul ℝ E] {s : Set E},
  0 ∈ s → Convex ℝ s → IsOpen s → ∀ {x₀ : E}, x₀ ∉ s → ∃ f, f x₀ = 1 ∧ ∀ x ∈ s, f x < 1

Given a set s which is a convex neighbourhood of 0 and a point x₀ outside of it, there is a continuous linear functional f separating x₀ and s, in the sense that it sends x₀ to 1 and all of s to values strictly below 1.

theorem geometric_hahn_banach_open E2 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s t : Set E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E],
  Convex ℝ s → IsOpen s → Convex ℝ t → Disjoint s t → ∃ f u, (∀ a ∈ s, f a < u) ∧ ∀ b ∈ t, u ≤ f b

A version of the Hahn-Banach theorem: given disjoint convex sets s, t where s is open, there is a continuous linear functional which separates them.

theorem geometric_hahn_banach_open_point E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s : Set E} {x : E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E], Convex ℝ s → IsOpen s → x ∉ s → ∃ f, ∀ a ∈ s, f a < f x

theorem geometric_hahn_banach_point_open E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {t : Set E} {x : E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E], Convex ℝ t → IsOpen t → x ∉ t → ∃ f, ∀ b ∈ t, f x < f b

theorem geometric_hahn_banach_open_open E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s t : Set E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E],
  Convex ℝ s → IsOpen s → Convex ℝ t → IsOpen t → Disjoint s t → ∃ f u, (∀ a ∈ s, f a < u) ∧ ∀ b ∈ t, u < f b

theorem geometric_hahn_banach_of_nonempty_interior E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s t : Set E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E],
  Convex ℝ s →
    Convex ℝ t →
      Disjoint (interior s) t →
        (interior s).Nonempty → t.Nonempty → ∃ f u, f ≠ 0 ∧ (∀ a ∈ s, f a ≤ u) ∧ ∀ b ∈ t, u ≤ f b

If s and t are convex, interior s is nonempty and disjoint from t, then a nonzero continuous linear functional weakly separates s and t. The proof first separates interior s from t, then extends the inequality from interior s to all of s using closure (interior s) = closure s.

theorem geometric_hahn_banach_of_nonempty_interior' E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s t : Set E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E],
  Convex ℝ s →
    Convex ℝ t → Disjoint (interior s) t → (interior s).Nonempty → ∃ f u, (∀ a ∈ s, f a ≤ u) ∧ ∀ b ∈ t, u ≤ f b

If s and t are convex, interior s is nonempty and disjoint from t, then a continuous linear functional weakly separates s and t. If t is nonempty, this follows from geometric_hahn_banach_of_nonempty_interior; if t = ∅, the zero functional works.

theorem geometric_hahn_banach_of_nonempty_interior_point E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {x : E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] {A : Set E},
  Convex ℝ A → x ∉ interior A → (interior A).Nonempty → ∃ f, f ≠ 0 ∧ ∀ a ∈ A, f a ≤ f x

If A is convex with nonempty interior and x ∉ interior A, then there is a nonzero continuous linear functional whose maximum on A is attained at x.

theorem geometric_hahn_banach_compact_closed E2 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s t : Set E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E],
  Convex ℝ s →
    IsCompact s → Convex ℝ t → IsClosed t → Disjoint s t → ∃ f u v, (∀ a ∈ s, f a < u) ∧ u < v ∧ ∀ b ∈ t, v < f b

A version of the Hahn-Banach theorem: given disjoint convex sets s, t where s is compact and t is closed, there is a continuous linear functional which strongly separates them.

theorem geometric_hahn_banach_closed_compact E2 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s t : Set E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E],
  Convex ℝ s →
    IsClosed s → Convex ℝ t → IsCompact t → Disjoint s t → ∃ f u v, (∀ a ∈ s, f a < u) ∧ u < v ∧ ∀ b ∈ t, v < f b

A version of the Hahn-Banach theorem: given disjoint convex sets s, t where s is closed, and t is compact, there is a continuous linear functional which strongly separates them.

theorem geometric_hahn_banach_point_closed E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {t : Set E} {x : E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E],
  Convex ℝ t → IsClosed t → x ∉ t → ∃ f u, f x < u ∧ ∀ b ∈ t, u < f b

theorem geometric_hahn_banach_closed_point E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s : Set E} {x : E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E],
  Convex ℝ s → IsClosed s → x ∉ s → ∃ f u, (∀ a ∈ s, f a < u) ∧ u < f x

theorem geometric_hahn_banach_point_point E1 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {x y : E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E] [T1Space E], x ≠ y → ∃ f, f x < f y

See also SeparatingDual.eq_iff_forall_dual_eq.

theorem iInter_halfSpaces_eq E0 #

∀ {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s : Set E}
  [IsTopologicalAddGroup E] [ContinuousSMul ℝ E] [LocallyConvexSpace ℝ E],
  Convex ℝ s → IsClosed s → ⋂ l, {x | ∃ y ∈ s, l x ≤ l y} = s

A closed convex set is the intersection of the half-spaces containing it.

theorem RCLike.separate_convex_open_set E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  {s : Set E},
  0 ∈ s → Convex ℝ s → IsOpen s → ∀ {x₀ : E}, x₀ ∉ s → ∃ f, RCLike.re (f x₀) = 1 ∧ ∀ x ∈ s, RCLike.re (f x) < 1

theorem RCLike.geometric_hahn_banach_open E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  {s t : Set E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E],
  Convex ℝ s →
    IsOpen s → Convex ℝ t → Disjoint s t → ∃ f u, (∀ a ∈ s, RCLike.re (f a) < u) ∧ ∀ b ∈ t, u ≤ RCLike.re (f b)

theorem RCLike.geometric_hahn_banach_open_point E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s : Set E}
  {x : E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E], Convex ℝ s → IsOpen s → x ∉ s → ∃ f, ∀ a ∈ s, RCLike.re (f a) < RCLike.re (f x)

theorem RCLike.geometric_hahn_banach_point_open E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {t : Set E}
  {x : E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E], Convex ℝ t → IsOpen t → x ∉ t → ∃ f, ∀ b ∈ t, RCLike.re (f x) < RCLike.re (f b)

theorem RCLike.geometric_hahn_banach_open_open E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  {s t : Set E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E],
  Convex ℝ s →
    IsOpen s →
      Convex ℝ t → IsOpen t → Disjoint s t → ∃ f u, (∀ a ∈ s, RCLike.re (f a) < u) ∧ ∀ b ∈ t, u < RCLike.re (f b)

theorem RCLike.geometric_hahn_banach_of_nonempty_interior E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  {s t : Set E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E],
  Convex ℝ s →
    Convex ℝ t →
      Disjoint (interior s) t →
        (interior s).Nonempty →
          t.Nonempty → ∃ f u, f ≠ 0 ∧ (∀ a ∈ s, RCLike.re (f a) ≤ u) ∧ ∀ b ∈ t, u ≤ RCLike.re (f b)

theorem RCLike.geometric_hahn_banach_of_nonempty_interior' E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  {s t : Set E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E],
  Convex ℝ s →
    Convex ℝ t →
      Disjoint (interior s) t →
        (interior s).Nonempty → ∃ f u, (∀ a ∈ s, RCLike.re (f a) ≤ u) ∧ ∀ b ∈ t, u ≤ RCLike.re (f b)

If s and t are convex, interior s is nonempty and disjoint from t, then a continuous 𝕜-linear functional weakly separates s and t. If t is nonempty, this follows from geometric_hahn_banach_of_nonempty_interior; if t = ∅, the zero functional works.

theorem RCLike.geometric_hahn_banach_of_nonempty_interior_point E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {x : E}
  [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  {A : Set E},
  Convex ℝ A → x ∉ interior A → (interior A).Nonempty → ∃ f, f ≠ 0 ∧ ∀ a ∈ A, RCLike.re (f a) ≤ RCLike.re (f x)

If A is convex with nonempty interior and x ∉ interior A, then there is a nonzero continuous 𝕜-linear functional whose real part attains its maximum on A at x.

theorem RCLike.geometric_hahn_banach_compact_closed E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  {s t : Set E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E] [LocallyConvexSpace ℝ E],
  Convex ℝ s →
    IsCompact s →
      Convex ℝ t →
        IsClosed t → Disjoint s t → ∃ f u v, (∀ a ∈ s, RCLike.re (f a) < u) ∧ u < v ∧ ∀ b ∈ t, v < RCLike.re (f b)

theorem RCLike.geometric_hahn_banach_closed_compact E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
  {s t : Set E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E]
  [ContinuousSMul 𝕜 E] [LocallyConvexSpace ℝ E],
  Convex ℝ s →
    IsClosed s →
      Convex ℝ t →
        IsCompact t → Disjoint s t → ∃ f u v, (∀ a ∈ s, RCLike.re (f a) < u) ∧ u < v ∧ ∀ b ∈ t, v < RCLike.re (f b)

theorem RCLike.geometric_hahn_banach_point_closed E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {t : Set E}
  {x : E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  [LocallyConvexSpace ℝ E], Convex ℝ t → IsClosed t → x ∉ t → ∃ f u, RCLike.re (f x) < u ∧ ∀ b ∈ t, u < RCLike.re (f b)

theorem RCLike.geometric_hahn_banach_closed_point E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s : Set E}
  {x : E} [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  [LocallyConvexSpace ℝ E],
  Convex ℝ s → IsClosed s → x ∉ s → ∃ f u, (∀ a ∈ s, RCLike.re (f a) < u) ∧ u < RCLike.re (f x)

theorem RCLike.geometric_hahn_banach_point_point E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {x y : E}
  [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  [LocallyConvexSpace ℝ E] [T1Space E], x ≠ y → ∃ f, RCLike.re (f x) < RCLike.re (f y)

theorem RCLike.iInter_halfSpaces_eq E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s : Set E}
  [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  [LocallyConvexSpace ℝ E], Convex ℝ s → IsClosed s → ⋂ l, {x | ∃ y ∈ s, RCLike.re (l x) ≤ RCLike.re (l y)} = s

theorem RCLike.iInter_halfSpaces_eq' E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s : Set E}
  [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  [LocallyConvexSpace ℝ E],
  Convex ℝ s → IsClosed s → ⋂ l, ⋂ c, ⋂ (_ : ∀ y ∈ s, RCLike.re (l y) ≤ c), {x | RCLike.re (l x) ≤ c} = s

theorem RCLike.iInter_countable_halfSpaces_eq E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : TopologicalSpace E] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] {s : Set E}
  [inst_3 : RCLike 𝕜] [inst_4 : Module 𝕜 E] [IsScalarTower ℝ 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E]
  [LocallyConvexSpace ℝ E] [HereditarilyLindelofSpace E],
  Convex ℝ s → IsClosed s → ∃ l c, ⋂ n, {x | RCLike.re ((l n) x) ≤ c n} = s