/-
Copyright (c) 2021 Kalle Kytölä. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kalle Kytölä, Moritz Doll
-/
module
public import Mathlib.Topology.Algebra.Module.Spaces.WeakBilin
/-!
# Weak dual topology
We continue in the setting of `Mathlib/Topology/Algebra/Module/WeakBilin.lean`,
which defines the weak topology given two vector spaces `E` and `F` over a commutative semiring
`` and a bilinear form `B : E →ₗ[] F →ₗ[] `. The weak topology on `E` is the coarsest topology
such that for all `y : F` every map `fun x => B x y` is continuous.
In this file, we consider two special cases.
In the case that `F = E →L[] ` and `B` being the canonical pairing, we obtain the weak-\*
topology, `WeakDual E := (E →L[] )`. Interchanging the arguments in the bilinear form yields the
weak topology `WeakSpace E := E`.
## Main definitions
The main definitions are the types `WeakDual E` and `WeakSpace E`,
with the respective topology instances on it.
* `WeakDual E` is a type synonym for `Dual E` (when the latter is defined): both are equal to
the type `E →L[] ` of continuous linear maps from a module `E` over `` to the ring ``.
* The instance `WeakDual.instTopologicalSpace` is the weak-\* topology on `WeakDual E`, i.e., the
coarsest topology making the evaluation maps at all `z : E` continuous.
* `WeakSpace E` is a type synonym for `E` (when the latter is defined).
* The instance `WeakSpace.instTopologicalSpace` is the weak topology on `E`, i.e., the
coarsest topology such that all `v : dual E` remain continuous.
## References
* [H. H. Schaefer, *Topological Vector Spaces*][schaefer1966]
## Tags
weak-star, weak dual, duality
-/
@[expose] public section
noncomputable section
open Filter
open Topology
variable {α E F : Type*}
/-- The weak star topology is the topology coarsest topology on `E →L[] ` such that all
functionals `fun v => v x` are continuous. -/
def WeakDual ( E : Type*) [CommSemiring ] [TopologicalSpace ] [ContinuousAdd ]
[ContinuousConstSMul ] [AddCommMonoid E] [Module E] [TopologicalSpace E] :=
WeakBilin (topDualPairing E)
deriving TopologicalSpace, Inhabited, FunLike, ContinuousLinearMapClass
namespace WeakDual
variable [CommSemiring ] [TopologicalSpace ] [ContinuousAdd ]
variable [ContinuousConstSMul ] [AddCommMonoid E] [Module E] [TopologicalSpace E]
/-- If a monoid `M` distributively continuously acts on `` and this action commutes with
multiplication on ``, then it acts on `WeakDual E`. -/
instance instMulAction (M) [Monoid M] [DistribMulAction M ] [SMulCommClass M ]
[ContinuousConstSMul M ] : MulAction M (WeakDual E) :=
inferInstanceAs <| MulAction M (E →L[] )
deriving instance AddCommMonoid, ContinuousAdd for WeakDual
/-- If a monoid `M` distributively continuously acts on `` and this action commutes with
multiplication on ``, then it acts distributively on `WeakDual E`. -/
instance instDistribMulAction (M) [Monoid M] [DistribMulAction M ] [SMulCommClass M ]
[ContinuousConstSMul M ] : DistribMulAction M (WeakDual E) :=
inferInstanceAs <| DistribMulAction M (E →L[] )
instance instContinuousConstSMul (M) [Monoid M] [DistribMulAction M ] [SMulCommClass M ]
[ContinuousConstSMul M ] : ContinuousConstSMul M (WeakDual E) :=
⟨fun m =>
continuous_induced_rng.2 <| (WeakBilin.coeFn_continuous (topDualPairing E)).const_smul m⟩
/-- If a monoid `M` distributively continuously acts on `` and this action commutes with
multiplication on ``, then it continuously acts on `WeakDual E`. -/
instance instContinuousSMul (M) [Monoid M] [DistribMulAction M ] [SMulCommClass M ]
[TopologicalSpace M] [ContinuousSMul M ] : ContinuousSMul M (WeakDual E) :=
⟨continuous_induced_rng.2 <|
continuous_fst.smul ((WeakBilin.coeFn_continuous (topDualPairing E)).comp continuous_snd)⟩
/-- If `` is a topological module over a semiring `R` and scalar multiplication commutes with the
multiplication on ``, then `WeakDual E` is a module over `R`. -/
instance (priority := 950) instModule'
(R : Type*) [Semiring R] [Module R ] [SMulCommClass R ] [ContinuousConstSMul R ] :
Module R (WeakDual E) :=
inferInstanceAs <| Module R (E →L[] )
instance instModule : Module (WeakDual E) := inferInstance
end WeakDual
namespace StrongDual
variable [CommSemiring ] [TopologicalSpace ] [ContinuousAdd ]
variable [ContinuousConstSMul ] [AddCommMonoid E] [Module E] [TopologicalSpace E]
/-- For vector spaces `E`, there is a canonical map `StrongDual E → WeakDual E` (the "identity"
mapping). It is a linear equivalence. -/
def toWeakDual : StrongDual E ≃ₗ[] WeakDual E :=
LinearEquiv.refl (StrongDual E)
theorem coe_toWeakDual (x' : StrongDual E) : (toWeakDual x' : E → ) = x' := rfl
@[simp]
theorem toWeakDual_apply (x' : StrongDual E) (y : E) : (toWeakDual x') y = x' y := rfl
theorem toWeakDual_inj (x' y' : StrongDual E) : toWeakDual x' = toWeakDual y' ↔ x' = y' :=
(LinearEquiv.injective toWeakDual).eq_iff
end StrongDual
namespace WeakDual
section Semiring
variable [CommSemiring ] [TopologicalSpace ] [ContinuousAdd ]
variable [ContinuousConstSMul ] [AddCommMonoid E] [Module E] [TopologicalSpace E]
/-- For vector spaces `E`, there is a canonical map `WeakDual E → StrongDual E` (the "identity"
mapping). It is a linear equivalence. Here it is implemented as the inverse of the linear
equivalence `StrongDual.toWeakDual` in the other direction. -/
def toStrongDual : WeakDual E ≃ₗ[] StrongDual E :=
StrongDual.toWeakDual.symm
@[simp]
theorem symm_toStrongDual :
(toStrongDual ( := ) (E := E)).symm = StrongDual.toWeakDual :=
rfl
@[simp]
theorem _root_.StrongDual.symm_toWeakDual :
(StrongDual.toWeakDual ( := ) (E := E)).symm = toStrongDual :=
rfl
@[simp]
theorem _root_.StrongDual.toStrongDual_toWeakDual (x : StrongDual E) :
x.toWeakDual.toStrongDual = x :=
rfl
@[simp]
theorem toWeakDual_toStrongDual (x : WeakDual E) : x.toStrongDual.toWeakDual = x :=
rfl
@[simp]
theorem toStrongDual_apply (x : WeakDual E) (y : E) : (toStrongDual x) y = x y := rfl
theorem coe_toStrongDual (x' : WeakDual E) : (toStrongDual x' : E → ) = x' := rfl
theorem toStrongDual_inj (x' y' : WeakDual E) : toStrongDual x' = toStrongDual y' ↔ x' = y' :=
(LinearEquiv.injective toStrongDual).eq_iff
theorem coeFn_continuous : Continuous fun (x : WeakDual E) y => x y :=
continuous_induced_dom
theorem eval_continuous (y : E) : Continuous fun x : WeakDual E => x y :=
continuous_pi_iff.mp coeFn_continuous y
theorem continuous_of_continuous_eval [TopologicalSpace α] {g : α → WeakDual E}
(h : ∀ y, Continuous fun a => (g a) y) : Continuous g :=
continuous_induced_rng.2 (continuous_pi_iff.mpr h)
instance instT2Space [T2Space ] : T2Space (WeakDual E) :=
(WeakBilin.isEmbedding ContinuousLinearMap.coe_injective).t2Space
end Semiring
section Ring
variable [CommRing ] [TopologicalSpace ] [IsTopologicalAddGroup ] [ContinuousConstSMul ]
variable [AddCommGroup E] [Module E] [TopologicalSpace E] [IsTopologicalAddGroup E]
instance instAddCommGroup : AddCommGroup (WeakDual E) :=
inferInstanceAs <| AddCommGroup (WeakBilin (topDualPairing E))
instance instIsTopologicalAddGroup : IsTopologicalAddGroup (WeakDual E) :=
WeakBilin.instIsTopologicalAddGroup (topDualPairing E)
end Ring
end WeakDual
/-- The weak topology is the coarsest topology on `E` such that all functionals
`fun x => v x` are continuous. -/
def WeakSpace ( E) [CommSemiring ] [TopologicalSpace ] [ContinuousAdd ]
[ContinuousConstSMul ] [AddCommMonoid E] [Module E] [TopologicalSpace E] :=
WeakBilin (topDualPairing E).flip
deriving TopologicalSpace
section Semiring
variable [CommSemiring ] [TopologicalSpace ] [ContinuousAdd ]
variable [ContinuousConstSMul ]
variable [AddCommMonoid E] [Module E] [TopologicalSpace E]
-- The `SMul` instance exists to avoid an nsmul diamond.
variable [CommSemiring ] [Module E] in
deriving instance SMul for WeakSpace E
deriving instance AddCommMonoid, ContinuousAdd for WeakSpace
namespace WeakSpace
instance instModule' [CommSemiring ] [Module E] : Module (WeakSpace E) :=
inferInstanceAs <| Module (WeakBilin (topDualPairing E).flip)
instance instModule : Module (WeakSpace E) := inferInstance
instance instIsScalarTower [CommSemiring ] [Module ] [Module E] [IsScalarTower E] :
IsScalarTower (WeakSpace E) :=
WeakBilin.instIsScalarTower (topDualPairing E).flip
instance instContinuousSMul [ContinuousSMul ] : ContinuousSMul (WeakSpace E) :=
WeakBilin.instContinuousSMul _
variable [AddCommMonoid F] [Module F] [TopologicalSpace F]
/-- A continuous linear map from `E` to `F` is still continuous when `E` and `F` are equipped with
their weak topologies. -/
def map (f : E →L[] F) : WeakSpace E →L[] WeakSpace F :=
{ f with
cont :=
WeakBilin.continuous_of_continuous_eval _ fun l => WeakBilin.eval_continuous _ (l ∘L f) }
theorem map_apply (f : E →L[] F) (x : E) : WeakSpace.map f x = f x :=
rfl
@[simp]
theorem coe_map (f : E →L[] F) : (WeakSpace.map f : E → F) = f :=
rfl
end WeakSpace
variable ( E) in
/-- There is a canonical map `E → WeakSpace E` (the "identity"
mapping). It is a linear equivalence. -/
def toWeakSpace : E ≃ₗ[] WeakSpace E := LinearEquiv.refl E
variable ( E) in
/-- For a topological vector space `E`, "identity mapping" `E → WeakSpace E` is continuous.
This definition implements it as a continuous linear map. -/
def toWeakSpaceCLM : E →L[] WeakSpace E where
__ := toWeakSpace E
cont := by
apply WeakBilin.continuous_of_continuous_eval
exact ContinuousLinearMap.continuous
variable ( E) in
@[simp]
theorem toWeakSpaceCLM_eq_toWeakSpace (x : E) :
toWeakSpaceCLM E x = toWeakSpace E x := by rfl
theorem toWeakSpaceCLM_bijective :
Function.Bijective (toWeakSpaceCLM E) :=
(toWeakSpace E).bijective
/-- The canonical map from `WeakSpace E` to `E` is an open map. -/
theorem isOpenMap_toWeakSpace_symm : IsOpenMap (toWeakSpace E).symm :=
IsOpenMap.of_inverse (toWeakSpaceCLM E).cont
(toWeakSpace E).left_inv (toWeakSpace E).right_inv
/-- A set in `E` which is open in the weak topology is open. -/
theorem WeakSpace.isOpen_of_isOpen (V : Set E)
(hV : IsOpen ((toWeakSpaceCLM E) '' V : Set (WeakSpace E))) : IsOpen V := by
simpa [Set.image_image] using isOpenMap_toWeakSpace_symm _ hV
theorem tendsto_iff_forall_eval_tendsto_topDualPairing {l : Filter α} {f : α → WeakDual E}
{x : WeakDual E} :
Tendsto f l ( x) ↔
∀ y, Tendsto (fun i => topDualPairing E (f i) y) l ( (topDualPairing E x y)) :=
WeakBilin.tendsto_iff_forall_eval_tendsto _ ContinuousLinearMap.coe_injective
end Semiring
section Ring
namespace WeakSpace
variable [CommRing ] [TopologicalSpace ] [IsTopologicalAddGroup ] [ContinuousConstSMul ]
variable [AddCommGroup E] [Module E] [TopologicalSpace E] [IsTopologicalAddGroup E]
instance instAddCommGroup : AddCommGroup (WeakSpace E) :=
inferInstanceAs <| AddCommGroup (WeakBilin (topDualPairing E).flip)
instance instIsTopologicalAddGroup : IsTopologicalAddGroup (WeakSpace E) :=
WeakBilin.instIsTopologicalAddGroup (topDualPairing E).flip
end WeakSpace
end Ring
¤ Dauer der Verarbeitung: 0.2 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland