The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V14. Topological algebra and infinite sums

Mathlib.Topology.Algebra.Module.IsWeak

16 declarations. Mathlib docs · Source

Weak topologies on modules

Given a bilinear form B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜, the weak topology on E is the coarsest topology such that for all y : F every map (B · y) is continuous; equivalently, it is the topology on E induced by the map (B · · : E → (F → 𝕜)).

This file defines a Prop-valued typeclass LinearMap.IsWeak expressing that an existing topology on E is the weak topology. Although this could be passed around explicitly as a hypothesis Topology.IsInducing (B · ·), given the ubiquity of weak topologies in functional analysis, the numerous properties that can be deduced because the inducing map B is bilinear, the fact that several theorems (e.g., one version of the bipolar theorem) require this hypothesis, and we can instantiate this class for several extant types in Mathlib, we choose to make this a typeclass instead.

Note that establishing LinearMap.IsWeak before proving theorems about a particular type can help prevent abuse of definitional equalities. This because spaces equipped with a weak topology are frequently type synonyms of some other type E'. For example, suppose E' is a type (potentially with some extant topology other than the weak topology) and B' : E' →ₗ[𝕜] F →ₗ[𝕜] 𝕜 is a bilinear form. To consider the weak topology on E' induced by B', in practice we must create a type synonym E with an instance TopologicalSpace E := .induced (B' · ·) Pi.topologicalSpace. It would then be tempting to create theorems such as:

example (y : F) : Continuous (fun x : E ↦ B' x y) := sorry

However, this statement contains an abuse of the definitional equality E := E' since x : E, but B' has domain E'. Moreover, one might be tempted to say that B'.IsWeak, but this is impossible because the domain of B' is E', which is equipped with the incorrect topology. Instead, what one should do is to first define a new bilinear form B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜 by composing B' with the linear equivalence between E and E', and then establish B.IsWeak. If then one proves theorems about E using only the LinearMap.IsWeak API, then one can have more confidence that the statements are type correct.

Main definitions

  • LinearMap.IsWeak: a typeclass expressing that the topology on E is the weak topology induced by the bilinear form B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜.
  • LinearMap.IsWeak.eval: the evaluation map F →ₗ[𝕜] StrongDual 𝕜 E sending y : F to the continuous linear functional (B · y).

Main results

We prove the following results characterizing the weak topology:

  • LinearMap.IsWeak.continuous_eval: For any y : F, the evaluation mapping (B · y) is continuous.
  • LinearMap.IsWeak.continuous_of_continuous_eval: For a mapping to WeakBilin B to be continuous, it suffices that its compositions with pairing with B at all points y : F is continuous.
  • LinearMap.IsWeak.tendsto_iff_forall_eval_tendsto: Convergence in WeakBilin B can be characterized in terms of convergence of the evaluations at all points y : F.

class LinearMap.IsWeak E3 #

{𝕜 : Type u_2} →
  {E : Type u_3} →
    {F : Type u_4} →
      [inst : CommSemiring 𝕜] →
        [TopologicalSpace 𝕜] →
          [inst_2 : AddCommMonoid E] →
            [inst_3 : Module 𝕜 E] →
              [inst_4 : AddCommMonoid F] → [inst_5 : Module 𝕜 F] → [t : TopologicalSpace E] → (E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) → Prop

Typeclass expressing that the topology on E is the weak topology induced by the bilinear form B.

theorem LinearMap.isWeak_iff E0 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [t : TopologicalSpace E] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜),
  B.IsWeak ↔ t = TopologicalSpace.induced (fun x1 x2 ↦ (B x1) x2) Pi.topologicalSpace

ctor LinearMap.IsWeak.mk E0 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [t : TopologicalSpace E] {B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜},
  t = TopologicalSpace.induced (fun x1 x2 ↦ (B x1) x2) Pi.topologicalSpace → B.IsWeak

instance LinearMap.IsWeak.instFlip E0 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) [hB : B.IsWeak], B.flip.flip.IsWeak

theorem LinearMap.IsWeak.coeFn_continuous E1 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) [hB : B.IsWeak], Continuous fun x1 x2 ↦ (B x1) x2

The coercion (B · ·) : E → (F → 𝕜) is continuous.

theorem LinearMap.IsWeak.continuous_eval E3 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) [hB : B.IsWeak] (y : F), Continuous fun x ↦ (B x) y

The evaluation map (B · y) : E → 𝕜 is continuous for each y : F.

theorem LinearMap.IsWeak.continuous_of_continuous_eval E3 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) [hB : B.IsWeak] {α : Type u_7} [inst_7 : TopologicalSpace α]
  {f : α → E}, (∀ (y : F), Continuous fun x ↦ (B (f x)) y) → Continuous f

A map f : α → E is continuous if all the maps fun a ↦ B (f a) y are continuous for each y : F.

theorem LinearMap.IsWeak.continuous_iff E0 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) [hB : B.IsWeak] {α : Type u_7} [inst_7 : TopologicalSpace α]
  {f : α → E}, Continuous f ↔ ∀ (y : F), Continuous fun x ↦ (B (f x)) y

theorem LinearMap.IsWeak.isInducing E1 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) [hB : B.IsWeak], Topology.IsInducing fun x1 x2 ↦ (B x1) x2

The coercion (B · ·) : E → (F → 𝕜) is an embedding.

theorem LinearMap.IsWeak.isEmbedding E1 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] {B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜} [hB : B.IsWeak],
  Function.Injective ⇑B → Topology.IsEmbedding fun x1 x2 ↦ (B x1) x2

The coercion (B · ·) : E → (F → 𝕜) is an embedding.

theorem LinearMap.IsWeak.tendsto_iff_forall_eval_tendsto E3 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] {B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜} [hB : B.IsWeak] {α : Type u_7} {l : Filter α} {f : α → E}
  {x : E},
  Function.Injective ⇑B →
    (Filter.Tendsto f l (nhds x) ↔ ∀ (y : F), Filter.Tendsto (fun i ↦ (B (f i)) y) l (nhds ((B x) y)))

theorem LinearMap.IsWeak.congr E1 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} {E' : Type u_5} {F' : Type u_6} [inst : CommSemiring 𝕜]
  [inst_1 : TopologicalSpace 𝕜] [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F]
  [inst_5 : Module 𝕜 F] [inst_6 : TopologicalSpace E] [inst_7 : AddCommMonoid E'] [inst_8 : Module 𝕜 E']
  [inst_9 : AddCommMonoid F'] [inst_10 : Module 𝕜 F'] [inst_11 : TopologicalSpace E'] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜)
  (B' : E' →ₗ[𝕜] F' →ₗ[𝕜] 𝕜) (e : E ≃L[𝕜] E') (f : F ≃ₗ[𝕜] F'),
  ((↑e).arrowCongr (f.arrowCongr (LinearEquiv.refl 𝕜 𝕜))) B = B' → ∀ [hB : B.IsWeak], B'.IsWeak

Suppose B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜 and B' : E' →ₗ[𝕜] F' →ₗ[𝕜] 𝕜 are bilinear maps such that E ≃L[𝕜] E' and F ≃ₗ[𝕜] F'. If B.IsWeak, then so also B'.IsWeak.

def LinearMap.IsWeak.eval E3 #

{𝕜 : Type u_2} →
  {E : Type u_3} →
    {F : Type u_4} →
      [inst : CommSemiring 𝕜] →
        [inst_1 : TopologicalSpace 𝕜] →
          [inst_2 : AddCommMonoid E] →
            [inst_3 : Module 𝕜 E] →
              [inst_4 : AddCommMonoid F] →
                [inst_5 : Module 𝕜 F] →
                  [inst_6 : TopologicalSpace E] →
                    (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) →
                      [hB : B.IsWeak] →
                        [inst_7 : ContinuousAdd 𝕜] → [inst_8 : ContinuousConstSMul 𝕜 𝕜] → F →ₗ[𝕜] StrongDual 𝕜 E

Map F into the topological dual of E with the weak topology induced by F

theorem LinearMap.IsWeak.continuousAdd E1 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) [hB : B.IsWeak] [ContinuousAdd 𝕜], ContinuousAdd E

Addition in E is continuous when E is equipped with a LinearMap.IsWeak topology.

theorem LinearMap.IsWeak.continuousSMul E1 #

∀ {𝕜 : Type u_2} {E : Type u_3} {F : Type u_4} [inst : CommSemiring 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommMonoid E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommMonoid F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) [hB : B.IsWeak] [ContinuousSMul 𝕜 𝕜], ContinuousSMul 𝕜 E

Scalar multiplication in E is continuous when E is equipped with a LinearMap.IsWeak topology.

theorem LinearMap.IsWeak.isTopologicalAddGroup E1 #

∀ {𝕜 : Type u_7} {E : Type u_8} {F : Type u_9} [inst : CommRing 𝕜] [inst_1 : TopologicalSpace 𝕜]
  [inst_2 : AddCommGroup E] [inst_3 : Module 𝕜 E] [inst_4 : AddCommGroup F] [inst_5 : Module 𝕜 F]
  [inst_6 : TopologicalSpace E] [ContinuousAdd 𝕜] (B : E →ₗ[𝕜] F →ₗ[𝕜] 𝕜) [hB : B.IsWeak], IsTopologicalAddGroup E

E is a IsTopologicalAddGroup when E is equipped with a LinearMap.IsWeak topology.