# Documentation

Mathlib.Analysis.NormedSpace.HahnBanach.Extension

# Extension Hahn-Banach theorem #

In this file we prove the analytic Hahn-Banach theorem. For any continuous linear function on a subspace, we can extend it to a function on the entire space without changing its norm.

We prove

• Real.exists_extension_norm_eq: Hahn-Banach theorem for continuous linear functions on normed spaces over ℝ.
• exists_extension_norm_eq: Hahn-Banach theorem for continuous linear functions on normed spaces over ℝ or ℂ.

In order to state and prove the corollaries uniformly, we prove the statements for a field 𝕜 satisfying IsROrC 𝕜.

In this setting, exists_dual_vector states that, for any nonzero x, there exists a continuous linear form g of norm 1 with g x = ‖x‖ (where the norm has to be interpreted as an element of 𝕜).

theorem Real.exists_extension_norm_eq {E : Type u_1} [] (p : ) (f : { x // x p } →L[] ) :
g, (∀ (x : { x // x p }), g x = f x) g = f

Hahn-Banach theorem for continuous linear functions over ℝ.

theorem exists_extension_norm_eq {𝕜 : Type u_1} [] {F : Type u_2} [] (p : Subspace 𝕜 F) (f : { x // x p } →L[𝕜] 𝕜) :
g, (∀ (x : { x // x p }), g x = f x) g = f

Hahn-Banach theorem for continuous linear functions over 𝕜 satisfying IsROrC 𝕜.

theorem coord_norm' (𝕜 : Type v) [] {E : Type u} [] {x : E} (h : x 0) :
theorem exists_dual_vector (𝕜 : Type v) [] {E : Type u} [] (x : E) (h : x 0) :
g, g = 1 g x = x

Corollary of Hahn-Banach. Given a nonzero element x of a normed space, there exists an element of the dual space, of norm 1, whose value on x is ‖x‖.

theorem exists_dual_vector' (𝕜 : Type v) [] {E : Type u} [] [] (x : E) :
g, g = 1 g x = x

Variant of Hahn-Banach, eliminating the hypothesis that x be nonzero, and choosing the dual element arbitrarily when x = 0.

theorem exists_dual_vector'' (𝕜 : Type v) [] {E : Type u} [] (x : E) :
g, g 1 g x = x

Variant of Hahn-Banach, eliminating the hypothesis that x be nonzero, but only ensuring that the dual element has norm at most 1 (this can not be improved for the trivial vector space).