Documentation

Mathlib.Analysis.LocallyConvex.Separation

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:

theorem separate_convex_open_set {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [IsTopologicalAddGroup E] [Module E] [ContinuousSMul E] {s : Set E} (hs₀ : 0 s) (hs₁ : Convex s) (hs₂ : IsOpen s) {x₀ : E} (hx₀ : x₀s) :
∃ (f : StrongDual E), f x₀ = 1 xs, 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 {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [IsTopologicalAddGroup E] [ContinuousSMul E] (hs₁ : Convex s) (hs₂ : IsOpen s) (ht : Convex t) (disj : Disjoint s t) :
∃ (f : StrongDual E) (u : ), (∀ as, f a < u) bt, 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 {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s : Set E} {x : E} [IsTopologicalAddGroup E] [ContinuousSMul E] (hs₁ : Convex s) (hs₂ : IsOpen s) (disj : xs) :
∃ (f : StrongDual E), as, f a < f x
theorem geometric_hahn_banach_point_open {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {t : Set E} {x : E} [IsTopologicalAddGroup E] [ContinuousSMul E] (ht₁ : Convex t) (ht₂ : IsOpen t) (disj : xt) :
∃ (f : StrongDual E), bt, f x < f b
theorem geometric_hahn_banach_open_open {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [IsTopologicalAddGroup E] [ContinuousSMul E] (hs₁ : Convex s) (hs₂ : IsOpen s) (ht₁ : Convex t) (ht₃ : IsOpen t) (disj : Disjoint s t) :
∃ (f : StrongDual E) (u : ), (∀ as, f a < u) bt, u < f b
theorem geometric_hahn_banach_of_nonempty_interior {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [IsTopologicalAddGroup E] [ContinuousSMul E] (hs : Convex s) (ht : Convex t) (hst : Disjoint (interior s) t) (hsint : (interior s).Nonempty) (htne : t.Nonempty) :
∃ (f : StrongDual E) (u : ), f 0 (∀ as, f a u) bt, 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' {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [IsTopologicalAddGroup E] [ContinuousSMul E] (hs : Convex s) (ht : Convex t) (hst : Disjoint (interior s) t) (hsint : (interior s).Nonempty) :
∃ (f : StrongDual E) (u : ), (∀ as, f a u) bt, 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 {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {x : E} [IsTopologicalAddGroup E] [ContinuousSMul E] {A : Set E} (hA : Convex A) (hxA : xinterior A) (hAint : (interior A).Nonempty) :
∃ (f : StrongDual E), f 0 aA, 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 {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [IsTopologicalAddGroup E] [ContinuousSMul E] [LocallyConvexSpace E] (hs₁ : Convex s) (hs₂ : IsCompact s) (ht₁ : Convex t) (ht₂ : IsClosed t) (disj : Disjoint s t) :
∃ (f : StrongDual E) (u : ) (v : ), (∀ as, f a < u) u < v bt, 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 {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [IsTopologicalAddGroup E] [ContinuousSMul E] [LocallyConvexSpace E] (hs₁ : Convex s) (hs₂ : IsClosed s) (ht₁ : Convex t) (ht₂ : IsCompact t) (disj : Disjoint s t) :
∃ (f : StrongDual E) (u : ) (v : ), (∀ as, f a < u) u < v bt, 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 {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {t : Set E} {x : E} [IsTopologicalAddGroup E] [ContinuousSMul E] [LocallyConvexSpace E] (ht₁ : Convex t) (ht₂ : IsClosed t) (disj : xt) :
∃ (f : StrongDual E) (u : ), f x < u bt, u < f b
theorem geometric_hahn_banach_closed_point {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s : Set E} {x : E} [IsTopologicalAddGroup E] [ContinuousSMul E] [LocallyConvexSpace E] (hs₁ : Convex s) (hs₂ : IsClosed s) (disj : xs) :
∃ (f : StrongDual E) (u : ), (∀ as, f a < u) u < f x
theorem iInter_halfSpaces_eq {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s : Set E} [IsTopologicalAddGroup E] [ContinuousSMul E] [LocallyConvexSpace E] (hs₁ : Convex s) (hs₂ : IsClosed s) :
⋂ (l : StrongDual E), {x : E | ys, l x l y} = s

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

theorem RCLike.separate_convex_open_set {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] {s : Set E} (hs₀ : 0 s) (hs₁ : Convex s) (hs₂ : IsOpen s) {x₀ : E} (hx₀ : x₀s) :
∃ (f : StrongDual 𝕜 E), re (f x₀) = 1 xs, re (f x) < 1
theorem RCLike.geometric_hahn_banach_open {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] (hs₁ : Convex s) (hs₂ : IsOpen s) (ht : Convex t) (disj : Disjoint s t) :
∃ (f : StrongDual 𝕜 E) (u : ), (∀ as, re (f a) < u) bt, u re (f b)
theorem RCLike.geometric_hahn_banach_open_point {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s : Set E} {x : E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] (hs₁ : Convex s) (hs₂ : IsOpen s) (disj : xs) :
∃ (f : StrongDual 𝕜 E), as, re (f a) < re (f x)
theorem RCLike.geometric_hahn_banach_point_open {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {t : Set E} {x : E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] (ht₁ : Convex t) (ht₂ : IsOpen t) (disj : xt) :
∃ (f : StrongDual 𝕜 E), bt, re (f x) < re (f b)
theorem RCLike.geometric_hahn_banach_open_open {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] (hs₁ : Convex s) (hs₂ : IsOpen s) (ht₁ : Convex t) (ht₃ : IsOpen t) (disj : Disjoint s t) :
∃ (f : StrongDual 𝕜 E) (u : ), (∀ as, re (f a) < u) bt, u < re (f b)
theorem RCLike.geometric_hahn_banach_of_nonempty_interior {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] (hs : Convex s) (ht : Convex t) (hst : Disjoint (interior s) t) (hsint : (interior s).Nonempty) (htne : t.Nonempty) :
∃ (f : StrongDual 𝕜 E) (u : ), f 0 (∀ as, re (f a) u) bt, u re (f b)
theorem RCLike.geometric_hahn_banach_of_nonempty_interior' {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] (hs : Convex s) (ht : Convex t) (hst : Disjoint (interior s) t) (hsint : (interior s).Nonempty) :
∃ (f : StrongDual 𝕜 E) (u : ), (∀ as, re (f a) u) bt, u 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 {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {x : E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] {A : Set E} (hA : Convex A) (hxA : xinterior A) (hAint : (interior A).Nonempty) :
∃ (f : StrongDual 𝕜 E), f 0 aA, re (f a) 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 {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] [LocallyConvexSpace E] (hs₁ : Convex s) (hs₂ : IsCompact s) (ht₁ : Convex t) (ht₂ : IsClosed t) (disj : Disjoint s t) :
∃ (f : StrongDual 𝕜 E) (u : ) (v : ), (∀ as, re (f a) < u) u < v bt, v < re (f b)
theorem RCLike.geometric_hahn_banach_closed_compact {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s t : Set E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] [LocallyConvexSpace E] (hs₁ : Convex s) (hs₂ : IsClosed s) (ht₁ : Convex t) (ht₂ : IsCompact t) (disj : Disjoint s t) :
∃ (f : StrongDual 𝕜 E) (u : ) (v : ), (∀ as, re (f a) < u) u < v bt, v < re (f b)
theorem RCLike.geometric_hahn_banach_point_closed {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {t : Set E} {x : E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] [LocallyConvexSpace E] (ht₁ : Convex t) (ht₂ : IsClosed t) (disj : xt) :
∃ (f : StrongDual 𝕜 E) (u : ), re (f x) < u bt, u < re (f b)
theorem RCLike.geometric_hahn_banach_closed_point {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s : Set E} {x : E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] [LocallyConvexSpace E] (hs₁ : Convex s) (hs₂ : IsClosed s) (disj : xs) :
∃ (f : StrongDual 𝕜 E) (u : ), (∀ as, re (f a) < u) u < re (f x)
theorem RCLike.geometric_hahn_banach_point_point {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {x y : E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] [LocallyConvexSpace E] [T1Space E] (hxy : x y) :
∃ (f : StrongDual 𝕜 E), re (f x) < re (f y)
theorem RCLike.iInter_halfSpaces_eq {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s : Set E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] [LocallyConvexSpace E] (hs₁ : Convex s) (hs₂ : IsClosed s) :
⋂ (l : StrongDual 𝕜 E), {x : E | ys, re (l x) re (l y)} = s
theorem RCLike.iInter_halfSpaces_eq' {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s : Set E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] [LocallyConvexSpace E] (hs₁ : Convex s) (hs₂ : IsClosed s) :
⋂ (l : StrongDual 𝕜 E), ⋂ (c : ), ⋂ (_ : ys, re (l y) c), {x : E | re (l x) c} = s
theorem RCLike.iInter_countable_halfSpaces_eq {𝕜 : Type u_1} {E : Type u_2} [TopologicalSpace E] [AddCommGroup E] [Module E] {s : Set E} [RCLike 𝕜] [Module 𝕜 E] [IsScalarTower 𝕜 E] [IsTopologicalAddGroup E] [ContinuousSMul 𝕜 E] [LocallyConvexSpace E] [HereditarilyLindelofSpace E] (hs₁ : Convex s) (hs₂ : IsClosed s) :
∃ (l : StrongDual 𝕜 E) (c : ), ⋂ (n : ), {x : E | re ((l n) x) c n} = s