|
| 1 | +/- |
| 2 | +Copyright (c) 2026 Yongxi Lin. All rights reserved. |
| 3 | +Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | +Authors: Yongxi Lin |
| 5 | +-/ |
| 6 | +module |
| 7 | + |
| 8 | +public import Mathlib.Analysis.Convex.Cone.Extension |
| 9 | +public import Mathlib.Analysis.LocallyConvex.AbsConvexOpen |
| 10 | +public import Mathlib.Analysis.LocallyConvex.WeakDual |
| 11 | +public import Mathlib.Analysis.Normed.Module.RCLike.Extend |
| 12 | +public import Mathlib.Topology.Algebra.Module.FiniteDimension |
| 13 | + |
| 14 | +/-! |
| 15 | +# Hahn-Banach theorem for polynormable spaces |
| 16 | +
|
| 17 | +In this file, we prove the analytic Hahn-Banach theorem for polynormable spaces over a field |
| 18 | +satisfying `IsRCLikeNormedField`. For any continuous linear functional on a subspace, we can extend |
| 19 | +it to the entire space. Note that we cannot use `LocallyConvexSpace` because an |
| 20 | +`IsRCLikeNormedField` has no order structure. |
| 21 | +
|
| 22 | +We prove |
| 23 | +* `Module.Dual.exists_continuous_extension_of_le_seminorm`: Hahn-Banach theorem for linear |
| 24 | + functionals dominated by a continuous seminorm on polynormable spaces over a field satisfying |
| 25 | + `IsRCLikeNormedField`. |
| 26 | +* `StrongDual.exists_extension`: Hahn-Banach theorem for continuous linear functionals on |
| 27 | + polynormable spaces over fields satisfying `IsRCLikeNormedField`. |
| 28 | +
|
| 29 | +-/ |
| 30 | + |
| 31 | +public section |
| 32 | + |
| 33 | +open Module Topology RCLike |
| 34 | + |
| 35 | +open scoped ComplexConjugate |
| 36 | + |
| 37 | +variable {𝕜 E : Type*} [AddCommGroup E] |
| 38 | + |
| 39 | +theorem Module.Dual.exists_extension_of_le_seminorm_real [Module ℝ E] |
| 40 | + (S : Subspace ℝ E) (f : Dual ℝ S) |
| 41 | + {p : Seminorm ℝ E} (hp : ∀ x, f x ≤ p x) : |
| 42 | + ∃ g : Dual ℝ E, (∀ x : S, g x = f x) ∧ ∀ x, |g x| ≤ p x := by |
| 43 | + obtain ⟨g, hg, hl⟩ := by |
| 44 | + refine exists_extension_of_le_sublinear ⟨S, f⟩ p (fun _ hc _ => ?_) ?_ hp |
| 45 | + · simp [map_smul_eq_mul, abs_of_nonneg hc.le] |
| 46 | + · exact fun x y => map_add_le_add p x y |
| 47 | + exact ⟨g, hg, p.abs_le_of_le hl⟩ |
| 48 | + |
| 49 | +variable [NormedField 𝕜] [IsRCLikeNormedField 𝕜] |
| 50 | + |
| 51 | +theorem Module.Dual.exists_extension_of_le_seminorm [Module 𝕜 E] (S : Submodule 𝕜 E) (f : Dual 𝕜 S) |
| 52 | + {p : Seminorm 𝕜 E} (hp : ∀ x, ‖f x‖ ≤ p x) : |
| 53 | + ∃ g : Dual 𝕜 E, (∀ x : S, g x = f x) ∧ ∀ x, ‖g x‖ ≤ p x := by |
| 54 | + letI : RCLike 𝕜 := IsRCLikeNormedField.rclike 𝕜 |
| 55 | + letI : Module ℝ E := .restrictScalars ℝ 𝕜 E |
| 56 | + letI : IsScalarTower ℝ 𝕜 E := .restrictScalars _ _ _ |
| 57 | + let fr : Dual ℝ S := reLm.comp (f.restrictScalars ℝ) |
| 58 | + obtain ⟨g, (hg : ∀ x : S, g x = fr x), hgp⟩ := |
| 59 | + fr.exists_extension_of_le_seminorm_real (S.restrictScalars ℝ) (p := p.restrictScalars ℝ) |
| 60 | + fun x ↦ (re_le_norm (f x)).trans (hp x) |
| 61 | + refine ⟨g.extendRCLike, fun x ↦ ?_, fun x ↦ ?_⟩ |
| 62 | + · rw [g.extendRCLike_apply, ← Submodule.coe_smul, hg, hg] |
| 63 | + simp [fr, mul_comm I] |
| 64 | + · apply norm_extendRCLike_le_seminorm |
| 65 | + exact hgp |
| 66 | + |
| 67 | +variable [TopologicalSpace E] |
| 68 | + |
| 69 | +/-- **Hahn-Banach theorem** for linear functionals dominated by a continuous seminorm on |
| 70 | +polynormable spaces over `ℝ`. -/ |
| 71 | +theorem Module.Dual.exists_continuous_extension_of_le_seminorm_real [IsTopologicalAddGroup E] |
| 72 | + [Module ℝ E] [ContinuousSMul ℝ E] [PolynormableSpace ℝ E] (S : Subspace ℝ E) (f : Dual ℝ S) |
| 73 | + {p : Seminorm ℝ E} (hp_cont : Continuous p) (hp : ∀ x, f x ≤ p x) : |
| 74 | + ∃ g : StrongDual ℝ E, (∀ x : S, g x = f x) ∧ ∀ x, |g x| ≤ p x := by |
| 75 | + obtain ⟨g, hg, hl⟩ := f.exists_extension_of_le_seminorm_real S hp |
| 76 | + exact ⟨⟨g, (PolynormableSpace.withSeminorms ℝ E).continuous_real_rng g |
| 77 | + ⟨{⟨p, hp_cont⟩}, 1, fun x ↦ by simpa using (le_abs_self _).trans (hl x)⟩⟩, hg, hl⟩ |
| 78 | + |
| 79 | +variable [Module 𝕜 E] [PolynormableSpace 𝕜 E] |
| 80 | + |
| 81 | +/-- **Hahn-Banach theorem** for linear functionals dominated by a continuous seminorm on |
| 82 | +polynormable spaces over fields satisfying `IsRCLikeNormedField`. -/ |
| 83 | +theorem Module.Dual.exists_continuous_extension_of_le_seminorm (S : Submodule 𝕜 E) (f : Dual 𝕜 S) |
| 84 | + {p : Seminorm 𝕜 E} (hp_cont : Continuous p) (hp : ∀ x, ‖f x‖ ≤ p x) : |
| 85 | + ∃ g : StrongDual 𝕜 E, (∀ x : S, g x = f x) ∧ ∀ x, ‖g x‖ ≤ p x := by |
| 86 | + obtain ⟨g, hg, hle⟩ := Dual.exists_extension_of_le_seminorm S f hp |
| 87 | + refine ⟨⟨g, (PolynormableSpace.withSeminorms 𝕜 E).continuous_normedSpace_rng 𝕜 g ?_⟩, hg, hle⟩ |
| 88 | + exact ⟨{⟨p, hp_cont⟩}, 1, by simpa⟩ |
| 89 | + |
| 90 | +/-- **Hahn-Banach theorem** for continuous linear functionals on polynormable spaces over a field |
| 91 | +satisfying `IsRCLikeNormedField`. -/ |
| 92 | +theorem StrongDual.exists_extension {𝕜} [NontriviallyNormedField 𝕜] [IsRCLikeNormedField 𝕜] |
| 93 | + [Module 𝕜 E] [PolynormableSpace 𝕜 E] (S : Submodule 𝕜 E) (f : StrongDual 𝕜 S) : |
| 94 | + ∃ g : StrongDual 𝕜 E, ∀ x : S, g x = f x := by |
| 95 | + obtain ⟨q, hq_cont, hq⟩ := Seminorm.exists_le_comp_of_isInducing (f := S.subtype) |
| 96 | + (p := f.toSeminorm) f.continuous.norm IsInducing.subtypeVal |
| 97 | + obtain ⟨g, hg, _⟩ := Dual.exists_continuous_extension_of_le_seminorm S f.toLinearMap hq_cont hq |
| 98 | + exact ⟨g, hg⟩ |
| 99 | + |
| 100 | +variable {F : Type*} [AddCommGroup F] [TopologicalSpace F] [IsTopologicalAddGroup F] [Module 𝕜 F] |
| 101 | + [ContinuousSMul 𝕜 F] [T2Space F] |
| 102 | + |
| 103 | +/-- Corollary of the polynormable **Hahn-Banach theorem**: if `f : S → F` is a continuous |
| 104 | +linear map with finite-dimensional range, then `f` extends to a continuous linear map on the whole |
| 105 | +space. -/ |
| 106 | +lemma ContinuousLinearMap.exist_extension_of_finiteDimensional_range {S : Submodule 𝕜 E} |
| 107 | + (f : S →L[𝕜] F) [FiniteDimensional 𝕜 f.range] : |
| 108 | + ∃ g : E →L[𝕜] F, f = g.comp S.subtypeL := by |
| 109 | + letI : RCLike 𝕜 := IsRCLikeNormedField.rclike 𝕜 |
| 110 | + let b := Module.finBasis 𝕜 f.range |
| 111 | + let e := b.equivFunL |
| 112 | + let fi := fun i ↦ (LinearMap.toContinuousLinearMap (b.coord i)).comp |
| 113 | + (f.codRestrict _ <| LinearMap.mem_range_self _) |
| 114 | + choose gi hgf using fun i ↦ StrongDual.exists_extension S (fi i) |
| 115 | + use f.range.subtypeL.comp <| e.symm.toContinuousLinearMap.comp (.pi gi) |
| 116 | + ext x |
| 117 | + simp [fi, e, hgf] |
| 118 | + |
| 119 | +/-- A finite-dimensional submodule of a polynormable space over a field satisfying |
| 120 | +`IsRCLikeNormedField` is `Submodule.ClosedComplemented`. -/ |
| 121 | +lemma Submodule.ClosedComplemented.of_finiteDimensional [PolynormableSpace 𝕜 F] (S : Submodule 𝕜 F) |
| 122 | + [FiniteDimensional 𝕜 S] : S.ClosedComplemented := by |
| 123 | + let ⟨g, hg⟩ := (ContinuousLinearMap.id 𝕜 S).exist_extension_of_finiteDimensional_range |
| 124 | + exact ⟨g, DFunLike.congr_fun hg.symm⟩ |
0 commit comments