/-
Copyright (c) 2022 Moritz Doll. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Moritz Doll
-/
module
public import Mathlib.Analysis.LocallyConvex.WithSeminorms
public import Mathlib.LinearAlgebra.Dual.Lemmas
public import Mathlib.Topology.Algebra.Module.Spaces.WeakBilin
/-!
# Weak Dual in Topological Vector Spaces
We prove that the weak topology induced by a bilinear form `B : E →ₗ[] F →ₗ[] ` is locally
convex and we explicitly give a neighborhood basis in terms of the family of seminorms
`fun x => ‖B x y‖` for `y : F`.
## Main definitions
* `LinearMap.toSeminorm`: turn a linear form `f : E →ₗ[] ` into a seminorm `fun x => ‖f x‖`.
* `LinearMap.toSeminormFamily`: turn a bilinear form `B : E →ₗ[] F →ₗ[] ` into a map
`F → Seminorm E`.
## Main statements
* `LinearMap.hasBasis_weakBilin`: the seminorm balls of `B.toSeminormFamily` form a
neighborhood basis of `0` in the weak topology.
* `LinearMap.toSeminormFamily.withSeminorms`: the topology of a weak space is induced by the
family of seminorms `B.toSeminormFamily`.
* `WeakBilin.locallyConvexSpace`: a space endowed with a weak topology is locally convex.
* `LinearMap.rightDualEquiv`: When `B` is right-separating, `F` is linearly equivalent to the
strong dual of `E` with the weak topology.
* `LinearMap.leftDualEquiv`: When `B` is left-separating, `E` is linearly equivalent to the
strong dual of `F` with the weak topology.
## References
* [Bourbaki, *Topological Vector Spaces*][bourbaki1987]
* [Rudin, *Functional Analysis*][rudin1991]
## Tags
weak dual, seminorm
-/
@[expose] public section
variable { E F : Type*}
open scoped Topology
section BilinForm
namespace LinearMap
variable [NormedField ] [AddCommGroup E] [Module E] [AddCommGroup F] [Module F]
/-- Construct a seminorm from a linear form `f : E →ₗ[] ` over a normed field `` by
`fun x => ‖f x‖` -/
def toSeminorm (f : E →ₗ[] ) : Seminorm E :=
(normSeminorm ).comp f
theorem coe_toSeminorm {f : E →ₗ[] } : ⇑f.toSeminorm = fun x => ‖f x‖ :=
rfl
@[simp]
theorem toSeminorm_apply {f : E →ₗ[] } {x : E} : f.toSeminorm x = ‖f x‖ :=
rfl
theorem toSeminorm_ball_zero {f : E →ₗ[] } {r : ℝ} :
Seminorm.ball f.toSeminorm 0 r = { x : E | ‖f x‖ < r } := by
simp only [Seminorm.ball_zero_eq, toSeminorm_apply]
theorem toSeminorm_comp (f : F →ₗ[] ) (g : E →ₗ[] F) :
f.toSeminorm.comp g = (f.comp g).toSeminorm := by
ext
simp only [Seminorm.comp_apply, toSeminorm_apply, coe_comp, Function.comp_apply]
/-- Construct a family of seminorms from a bilinear form. -/
def toSeminormFamily (B : E →ₗ[] F →ₗ[] ) : SeminormFamily E F := fun y =>
(B.flip y).toSeminorm
@[simp]
theorem toSeminormFamily_apply {B : E →ₗ[] F →ₗ[] } {x y} : (B.toSeminormFamily y) x = ‖B x y‖ :=
rfl
lemma dualEmbedding_injective_of_separatingRight (B : E →ₗ[] F →ₗ[] ) (hr : B.SeparatingRight) :
Function.Injective (WeakBilin.eval B) :=
(injective_iff_map_eq_zero _).mpr (fun f hf ↦
(separatingRight_iff_linear_flip_nontrivial.mp hr) f (ContinuousLinearMap.coe_inj.mpr hf))
variable {ι E F : Type*}
open TopologicalSpace
open scoped Topology NNReal
section
section TopologicalRing
variable [Finite ι] [Field ] [t : TopologicalSpace ] [IsTopologicalRing ]
[AddCommGroup E] [Module E] [T0Space ]
/-- A linear functional `φ` can be expressed as a linear combination of linear functionals `f₁,…,fₙ`
if and only if `φ` is continuous with respect to the topology induced by `f₁,…,fₙ`. See
`LinearMap.mem_span_iff_continuous` for a result about arbitrary collections of linear functionals.
-/
theorem mem_span_iff_continuous_of_finite {f : ι → E →ₗ[] } (φ : E →ₗ[] ) :
φ ∈ Submodule.span (Set.range f) ↔ Continuous[⨅ i, induced (f i) t, t] φ := by
let _ := ⨅ i, induced (f i) t
constructor
· exact Submodule.span_induction
(Set.forall_mem_range.mpr fun i ↦ continuous_iInf_dom continuous_induced_dom) continuous_zero
(fun _ _ _ _ ↦ .add) (fun c _ _ h ↦ h.const_smul c)
· intro φ_cont
refine mem_span_of_iInf_ker_le_ker fun x hx ↦ ?_
simp_rw [Submodule.mem_iInf, LinearMap.mem_ker] at hx ⊢
have : Inseparable x 0 := by
-- Maybe missing lemmas about `Inseparable`?
simp_rw [Inseparable, nhds_iInf, nhds_induced, hx, map_zero]
simpa only [map_zero] using (this.map φ_cont).eq
end TopologicalRing
section NontriviallyNormedField
variable [NontriviallyNormedField ] [AddCommGroup E] [Module E]
/-- A linear functional `φ` is in the span of a collection of linear functionals if and only if `φ`
is continuous with respect to the topology induced by the collection of linear functionals. See
`LinearMap.mem_span_iff_continuous_of_finite` for a result about finite collections of linear
functionals. -/
theorem mem_span_iff_continuous {f : ι → E →ₗ[] } (φ : E →ₗ[] ) :
φ ∈ Submodule.span (Set.range f) ↔
Continuous[⨅ i, induced (f i) inferInstance, inferInstance] φ := by
let t : TopologicalSpace := inferInstance
let t₁ : TopologicalSpace E := ⨅ i, induced (f i) t
let t₂ (s : Finset ι) : TopologicalSpace E := ⨅ i : s, induced (f i) t
suffices
Continuous[t₁, t] φ ↔ ∃ s : Finset ι, Continuous[t₂ s, t] φ by
simp_rw [this, ← mem_span_iff_continuous_of_finite, Submodule.span_range_eq_iSup,
iSup_subtype]
rw [Submodule.mem_iSup_iff_exists_finset]
have t₁_group : @IsTopologicalAddGroup E t₁ _ :=
isTopologicalAddGroup_iInf fun _ ↦ isTopologicalAddGroup_induced _
have t₂_group (s : Finset ι) : @IsTopologicalAddGroup E (t₂ s) _ :=
isTopologicalAddGroup_iInf fun _ ↦ isTopologicalAddGroup_induced _
have t₁_smul : @ContinuousSMul E _ _ t₁ :=
continuousSMul_iInf fun _ ↦ continuousSMul_induced _
have t₂_smul (s : Finset ι) : @ContinuousSMul E _ _ (t₂ s) :=
continuousSMul_iInf fun _ ↦ continuousSMul_induced _
simp_rw [WithSeminorms.continuous_iff_continuous_comp (norm_withSeminorms ), forall_const]
conv in Continuous _ => rw [Seminorm.continuous_iff one_pos, nhds_iInf]
conv in Continuous _ =>
rw [letI := t₂ s; Seminorm.continuous_iff one_pos, nhds_iInf, iInf_subtype]
rw [Filter.mem_iInf_finite]
theorem mem_span_iff_bound {f : ι → E →ₗ[] } (φ : E →ₗ[] ) :
φ ∈ Submodule.span (Set.range f) ↔
∃ s : Finset ι, ∃ c : ℝ≥0, φ.toSeminorm ≤
c • (s.sup fun i ↦ (f i).toSeminorm) := by
let t : TopologicalSpace := inferInstance
let t := ⨅ i, induced (f i) t
have : IsTopologicalAddGroup E := isTopologicalAddGroup_iInf fun _ ↦
isTopologicalAddGroup_induced _
have : WithSeminorms (fun i ↦ (f i).toSeminorm) := by
simp_rw [SeminormFamily.withSeminorms_iff_nhds_eq_iInf, nhds_iInf, nhds_induced, map_zero,
← comap_norm_nhds_zero (E := ), Filter.comap_comap]
rfl
rw [LinearMap.mem_span_iff_continuous]
constructor <;> intro H
· rw [WithSeminorms.continuous_iff_continuous_comp (norm_withSeminorms ), forall_const] at H
rcases Seminorm.bound_of_continuous this _ H with ⟨s, C, -, hC⟩
exact ⟨s, C, hC⟩
· exact WithSeminorms.continuous_normedSpace_rng _ this _ H
variable [AddCommGroup F] [Module F] (B : E →ₗ[] F →ₗ[] )
/-- The Weak Representation Theorem: Every continuous functional on `E` endowed with
the `σ(E, F; B)`-topology is of the form `x ↦ B(x, y)` for some `y : F`. -/
theorem dualEmbedding_surjective : Function.Surjective (WeakBilin.eval B) := fun f ↦ by
have : f.toLinearMap ∈
Submodule.span (ContinuousLinearMap.coeLM ∘ₗ WeakBilin.eval B).range := by
simpa [coe_range, mem_span_iff_continuous, continuous_iff_le_induced, ← induced_to_pi] using!
f.continuous.le_induced
simpa
/-- When `B` is right-separating, `F` is linearly equivalent to the strong dual of `E` with the
weak topology. -/
noncomputable def rightDualEquiv (hr : B.SeparatingRight) : F ≃ₗ[] StrongDual (WeakBilin B) :=
LinearEquiv.ofBijective (WeakBilin.eval B)
⟨dualEmbedding_injective_of_separatingRight B hr, dualEmbedding_surjective B⟩
/-- When `B` is left-separating, `E` is linearly equivalent to the strong dual of `F` with the
weak topology. -/
noncomputable def leftDualEquiv (hl : B.SeparatingLeft) : E ≃ₗ[] StrongDual (WeakBilin B.flip) :=
rightDualEquiv _ (LinearMap.flip_separatingRight.mpr hl)
end NontriviallyNormedField
end
end LinearMap
end BilinForm
section Topology
variable [NormedField ] [AddCommGroup E] [Module E] [AddCommGroup F] [Module F]
theorem LinearMap.weakBilin_withSeminorms (B : E →ₗ[] F →ₗ[] ) :
WithSeminorms (LinearMap.toSeminormFamily B : F → Seminorm (WeakBilin B)) :=
let e : F ≃ (Σ _ : F, Unit) := .symm <| .sigmaUnique _ _
withSeminorms_induced (withSeminorms_pi (fun _ ↦ norm_withSeminorms ))
(LinearMap.ltoFun F ∘ₗ B : (WeakBilin B) →ₗ[] (F → )) |>.congr_equiv e
theorem LinearMap.hasBasis_weakBilin (B : E →ₗ[] F →ₗ[] ) :
( (0 : WeakBilin B)).HasBasis (· ∈ B.toSeminormFamily.basisSets) _root_.id :=
LinearMap.weakBilin_withSeminorms B |>.hasBasis
end Topology
section LocallyConvex
variable [NormedField ] [AddCommGroup E] [Module E] [AddCommGroup F] [Module F]
variable [NormedSpace ℝ ] [Module ℝ E] [IsScalarTower ℝ E]
instance WeakBilin.locallyConvexSpace {B : E →ₗ[] F →ₗ[] } :
LocallyConvexSpace ℝ (WeakBilin B) :=
B.weakBilin_withSeminorms.toLocallyConvexSpace
end LocallyConvex
¤ Dauer der Verarbeitung: 0.37 Sekunden
¤
*© Formatika GbR, Deutschland