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 / V16. Normed spaces and functional analysis

Mathlib.Analysis.CStarAlgebra.Module.Constructions

28 declarations. Mathlib docs · Source

Constructions of Hilbert C⋆-modules

In this file we define the following constructions of CStarModules where A denotes a C⋆-algebra. For some of the types listed below, the instance is declared on the type synonym WithCStarModule E (with the notation C⋆ᵐᵒᵈ E), instead of on E itself; we explain the reasoning behind each decision below.

  1. A as a CStarModule over itself.
  2. C⋆ᵐᵒᵈ(A, E × F) as a CStarModule over A, when E and F are themselves CStarModules over A.
  3. C⋆ᵐᵒᵈ (A, Π i : ι, E i) as a CStarModule over A, when each E i is a CStarModule over A and ι is a Fintype.
  4. E as a CStarModule over ℂ, when E is an InnerProductSpace over ℂ.

For E × F and Π i : ι, E i, we are required to declare the instance on a type synonym rather than on the product or pi-type itself because the existing norm on these types does not agree with the one induced by the C⋆-module structure. Moreover, the norm induced by the C⋆-module structure doesn't agree with any other natural norm on these types (e.g., WithLp 2 (E × F) unless A := ℂ), so we need a new synonym.

On A (a C⋆-algebra) and E (an inner product space), we declare the instances on the types themselves to ease the use of the C⋆-module structure. This does have the potential to cause inconvenience (as sometimes Lean will see terms of type A and apply lemmas pertaining to C⋆-modules to those terms, when the lemmas were actually intended for terms of some other C⋆-module in context, say F, in which case the arguments must be provided explicitly; see for instance the application of CStarModule.norm_eq_sqrt_norm_inner_self in the proof of WithCStarModule.max_le_prod_norm below). However, we believe that this, hopefully rare, inconvenience is outweighed by avoiding translating between type synonyms where possible.

For more details on the importance of the WithCStarModule type synonym, see the module documentation for Analysis.CStarAlgebra.Module.Synonym.

Implementation notes

When A := ℂ and E := ℂ, then ℂ is both a C⋆-algebra (so it inherits a CStarModule instance via (1) above) and an inner product space (so it inherits a CStarModule instance via (4) above). We provide a sanity check ensuring that these two instances are definitionally equal. We also ensure that the Inner ℂ ℂ instance from InnerProductSpace is definitionally equal to the one inherited from the CStarModule instances.

Note that C⋆ᵐᵒᵈ(A, E) is already equipped with a bornology and uniformity whenever E is (namely, the pullback of the respective structures through WithCStarModule.equiv), so in each of the above cases, it is necessary to temporarily instantiate C⋆ᵐᵒᵈ(A, E) with CStarModule.normedAddCommGroup, show the resulting type is bilipschitz equivalent to E via WithCStarModule.equiv (in the first and last case, this map is actually trivially an isometry), and then replace the uniformity and bornology with the correct ones.

A C⋆-algebra as a C⋆-module over itself

Products of C⋆-modules

Pi-types of C⋆-modules

Inner product spaces as C⋆-modules

instance WithCStarModule.instCStarModule E0 #

{A : Type u_1} → [inst : NonUnitalCStarAlgebra A] → [inst_1 : PartialOrder A] → [StarOrderedRing A] → CStarModule A A

Reinterpret a C⋆-algebra A as a CStarModule over itself.

theorem WithCStarModule.inner_def E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] [inst_2 : StarOrderedRing A] (x y : A),
  inner A x y = y * star x

instance WithCStarModule.instNormProd E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {E : Type u_2} →
        {F : Type u_3} →
          [inst_2 : NormedAddCommGroup E] →
            [inst_3 : Module ℂ E] →
              [inst_4 : SMul A E] →
                [inst_5 : NormedAddCommGroup F] →
                  [inst_6 : Module ℂ F] →
                    [inst_7 : SMul A F] → [CStarModule A E] → [CStarModule A F] → Norm (WithCStarModule A (E × F))

theorem WithCStarModule.prod_norm E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {E : Type u_2} {F : Type u_3}
  [inst_2 : NormedAddCommGroup E] [inst_3 : Module ℂ E] [inst_4 : SMul A E] [inst_5 : NormedAddCommGroup F]
  [inst_6 : Module ℂ F] [inst_7 : SMul A F] [inst_8 : CStarModule A E] [inst_9 : CStarModule A F]
  (x : WithCStarModule A (E × F)), ‖x‖ = √‖inner A x.1 x.1 + inner A x.2 x.2‖

theorem WithCStarModule.prod_norm_sq E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {E : Type u_2} {F : Type u_3}
  [inst_2 : NormedAddCommGroup E] [inst_3 : Module ℂ E] [inst_4 : SMul A E] [inst_5 : NormedAddCommGroup F]
  [inst_6 : Module ℂ F] [inst_7 : SMul A F] [inst_8 : CStarModule A E] [inst_9 : CStarModule A F]
  (x : WithCStarModule A (E × F)), ‖x‖ ^ 2 = ‖inner A x.1 x.1 + inner A x.2 x.2‖

theorem WithCStarModule.prod_norm_le_norm_add E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {E : Type u_2} {F : Type u_3}
  [inst_2 : NormedAddCommGroup E] [inst_3 : Module ℂ E] [inst_4 : SMul A E] [inst_5 : NormedAddCommGroup F]
  [inst_6 : Module ℂ F] [inst_7 : SMul A F] [inst_8 : CStarModule A E] [inst_9 : CStarModule A F]
  (x : WithCStarModule A (E × F)), ‖x‖ ≤ ‖x.1‖ + ‖x.2‖

instance WithCStarModule.instCStarModuleProd E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {E : Type u_2} →
        {F : Type u_3} →
          [inst_2 : NormedAddCommGroup E] →
            [inst_3 : Module ℂ E] →
              [inst_4 : SMul A E] →
                [inst_5 : NormedAddCommGroup F] →
                  [inst_6 : Module ℂ F] →
                    [inst_7 : SMul A F] →
                      [inst_8 : CStarModule A E] →
                        [inst_9 : CStarModule A F] → [StarOrderedRing A] → CStarModule A (WithCStarModule A (E × F))

theorem WithCStarModule.prod_inner E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {E : Type u_2} {F : Type u_3}
  [inst_2 : NormedAddCommGroup E] [inst_3 : Module ℂ E] [inst_4 : SMul A E] [inst_5 : NormedAddCommGroup F]
  [inst_6 : Module ℂ F] [inst_7 : SMul A F] [inst_8 : CStarModule A E] [inst_9 : CStarModule A F]
  [inst_10 : StarOrderedRing A] (x y : WithCStarModule A (E × F)), inner A x y = inner A x.1 y.1 + inner A x.2 y.2

theorem WithCStarModule.max_le_prod_norm E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {E : Type u_2} {F : Type u_3}
  [inst_2 : NormedAddCommGroup E] [inst_3 : Module ℂ E] [inst_4 : SMul A E] [inst_5 : NormedAddCommGroup F]
  [inst_6 : Module ℂ F] [inst_7 : SMul A F] [inst_8 : CStarModule A E] [inst_9 : CStarModule A F] [StarOrderedRing A]
  (x : WithCStarModule A (E × F)), max ‖x.1‖ ‖x.2‖ ≤ ‖x‖

theorem WithCStarModule.norm_equiv_le_norm_prod E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {E : Type u_2} {F : Type u_3}
  [inst_2 : NormedAddCommGroup E] [inst_3 : Module ℂ E] [inst_4 : SMul A E] [inst_5 : NormedAddCommGroup F]
  [inst_6 : Module ℂ F] [inst_7 : SMul A F] [inst_8 : CStarModule A E] [inst_9 : CStarModule A F] [StarOrderedRing A]
  (x : WithCStarModule A (E × F)), ‖(WithCStarModule.equiv A (E × F)) x‖ ≤ ‖x‖

def WithCStarModule.normedAddCommGroupProdAux E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {E : Type u_2} →
        {F : Type u_3} →
          [inst_2 : NormedAddCommGroup E] →
            [inst_3 : Module ℂ E] →
              [inst_4 : SMul A E] →
                [inst_5 : NormedAddCommGroup F] →
                  [inst_6 : Module ℂ F] →
                    [inst_7 : SMul A F] →
                      [CStarModule A E] →
                        [CStarModule A F] → [StarOrderedRing A] → NormedAddCommGroup (WithCStarModule A (E × F))

A normed additive commutative group structure on C⋆ᵐᵒᵈ(A, E × F) with the wrong topology, uniformity and bornology. This is only used to build the instance with the correct forgetful inheritance data.

instance WithCStarModule.instNormedAddCommGroupProd E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {E : Type u_2} →
        {F : Type u_3} →
          [inst_2 : NormedAddCommGroup E] →
            [inst_3 : Module ℂ E] →
              [inst_4 : SMul A E] →
                [inst_5 : NormedAddCommGroup F] →
                  [inst_6 : Module ℂ F] →
                    [inst_7 : SMul A F] →
                      [CStarModule A E] →
                        [CStarModule A F] → [StarOrderedRing A] → NormedAddCommGroup (WithCStarModule A (E × F))

instance WithCStarModule.instNormedSpaceComplexProd E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {E : Type u_2} →
        {F : Type u_3} →
          [inst_2 : NormedAddCommGroup E] →
            [inst_3 : Module ℂ E] →
              [inst_4 : SMul A E] →
                [inst_5 : NormedAddCommGroup F] →
                  [inst_6 : Module ℂ F] →
                    [inst_7 : SMul A F] →
                      [inst_8 : CStarModule A E] →
                        [inst_9 : CStarModule A F] →
                          [inst_10 : StarOrderedRing A] → NormedSpace ℂ (WithCStarModule A (E × F))

instance WithCStarModule.instNormForall E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {ι : Type u_2} →
        {E : ι → Type u_3} →
          [Fintype ι] →
            [inst_3 : (i : ι) → NormedAddCommGroup (E i)] →
              [inst_4 : (i : ι) → Module ℂ (E i)] →
                [inst_5 : (i : ι) → SMul A (E i)] →
                  [(i : ι) → CStarModule A (E i)] → Norm (WithCStarModule A ((i : ι) → E i))

theorem WithCStarModule.pi_norm E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {ι : Type u_2} {E : ι → Type u_3}
  [inst_2 : Fintype ι] [inst_3 : (i : ι) → NormedAddCommGroup (E i)] [inst_4 : (i : ι) → Module ℂ (E i)]
  [inst_5 : (i : ι) → SMul A (E i)] [inst_6 : (i : ι) → CStarModule A (E i)] (x : WithCStarModule A ((i : ι) → E i)),
  ‖x‖ = √‖∑ i, inner A (x i) (x i)‖

theorem WithCStarModule.pi_norm_sq E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {ι : Type u_2} {E : ι → Type u_3}
  [inst_2 : Fintype ι] [inst_3 : (i : ι) → NormedAddCommGroup (E i)] [inst_4 : (i : ι) → Module ℂ (E i)]
  [inst_5 : (i : ι) → SMul A (E i)] [inst_6 : (i : ι) → CStarModule A (E i)] (x : WithCStarModule A ((i : ι) → E i)),
  ‖x‖ ^ 2 = ‖∑ i, inner A (x i) (x i)‖

theorem WithCStarModule.pi_norm_le_sum_norm E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {ι : Type u_2} {E : ι → Type u_3}
  [inst_2 : Fintype ι] [inst_3 : (i : ι) → NormedAddCommGroup (E i)] [inst_4 : (i : ι) → Module ℂ (E i)]
  [inst_5 : (i : ι) → SMul A (E i)] [inst_6 : (i : ι) → CStarModule A (E i)] (x : WithCStarModule A ((i : ι) → E i)),
  ‖x‖ ≤ ∑ i, ‖x i‖

instance WithCStarModule.instCStarModuleForall E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {ι : Type u_2} →
        {E : ι → Type u_3} →
          [inst_2 : Fintype ι] →
            [inst_3 : (i : ι) → NormedAddCommGroup (E i)] →
              [inst_4 : (i : ι) → Module ℂ (E i)] →
                [inst_5 : (i : ι) → SMul A (E i)] →
                  [inst_6 : (i : ι) → CStarModule A (E i)] →
                    [StarOrderedRing A] → CStarModule A (WithCStarModule A ((i : ι) → E i))

theorem WithCStarModule.pi_inner E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {ι : Type u_2} {E : ι → Type u_3}
  [inst_2 : Fintype ι] [inst_3 : (i : ι) → NormedAddCommGroup (E i)] [inst_4 : (i : ι) → Module ℂ (E i)]
  [inst_5 : (i : ι) → SMul A (E i)] [inst_6 : (i : ι) → CStarModule A (E i)] [inst_7 : StarOrderedRing A]
  (x y : WithCStarModule A ((i : ι) → E i)), inner A x y = ∑ i, inner A (x i) (y i)

theorem WithCStarModule.inner_single_left E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {ι : Type u_2} {E : ι → Type u_3}
  [inst_2 : Fintype ι] [inst_3 : (i : ι) → NormedAddCommGroup (E i)] [inst_4 : (i : ι) → Module ℂ (E i)]
  [inst_5 : (i : ι) → SMul A (E i)] [inst_6 : (i : ι) → CStarModule A (E i)] [inst_7 : StarOrderedRing A]
  [inst_8 : DecidableEq ι] (x : WithCStarModule A ((i : ι) → E i)) {i : ι} (y : E i),
  inner A ((WithCStarModule.equiv A ((j : ι) → E j)).symm (Pi.single i y)) x = inner A y (x i)

theorem WithCStarModule.inner_single_right E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {ι : Type u_2} {E : ι → Type u_3}
  [inst_2 : Fintype ι] [inst_3 : (i : ι) → NormedAddCommGroup (E i)] [inst_4 : (i : ι) → Module ℂ (E i)]
  [inst_5 : (i : ι) → SMul A (E i)] [inst_6 : (i : ι) → CStarModule A (E i)] [inst_7 : StarOrderedRing A]
  [inst_8 : DecidableEq ι] (x : WithCStarModule A ((i : ι) → E i)) {i : ι} (y : E i),
  inner A x ((WithCStarModule.equiv A ((i : ι) → E i)).symm (Pi.single i y)) = inner A (x i) y

theorem WithCStarModule.norm_single E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {ι : Type u_2} {E : ι → Type u_3}
  [inst_2 : Fintype ι] [inst_3 : (i : ι) → NormedAddCommGroup (E i)] [inst_4 : (i : ι) → Module ℂ (E i)]
  [inst_5 : (i : ι) → SMul A (E i)] [inst_6 : (i : ι) → CStarModule A (E i)] [StarOrderedRing A]
  [inst_8 : DecidableEq ι] (i : ι) (y : E i), ‖(WithCStarModule.equiv A ((j : ι) → E j)).symm (Pi.single i y)‖ = ‖y‖

theorem WithCStarModule.norm_apply_le_norm E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {ι : Type u_2} {E : ι → Type u_3}
  [inst_2 : Fintype ι] [inst_3 : (i : ι) → NormedAddCommGroup (E i)] [inst_4 : (i : ι) → Module ℂ (E i)]
  [inst_5 : (i : ι) → SMul A (E i)] [inst_6 : (i : ι) → CStarModule A (E i)] [StarOrderedRing A]
  (x : WithCStarModule A ((i : ι) → E i)) (i : ι), ‖x i‖ ≤ ‖x‖

theorem WithCStarModule.norm_equiv_le_norm_pi E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] {ι : Type u_2} {E : ι → Type u_3}
  [inst_2 : Fintype ι] [inst_3 : (i : ι) → NormedAddCommGroup (E i)] [inst_4 : (i : ι) → Module ℂ (E i)]
  [inst_5 : (i : ι) → SMul A (E i)] [inst_6 : (i : ι) → CStarModule A (E i)] [StarOrderedRing A]
  (x : WithCStarModule A ((i : ι) → E i)), ‖(WithCStarModule.equiv A ((i : ι) → E i)) x‖ ≤ ‖x‖

def WithCStarModule.normedAddCommGroupPiAux E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {ι : Type u_2} →
        {E : ι → Type u_3} →
          [Fintype ι] →
            [inst_3 : (i : ι) → NormedAddCommGroup (E i)] →
              [inst_4 : (i : ι) → Module ℂ (E i)] →
                [inst_5 : (i : ι) → SMul A (E i)] →
                  [(i : ι) → CStarModule A (E i)] →
                    [StarOrderedRing A] → NormedAddCommGroup (WithCStarModule A ((i : ι) → E i))

A normed additive commutative group structure on C⋆ᵐᵒᵈ(A, Π i, E i) with the wrong topology, uniformity and bornology. This is only used to build the instance with the correct forgetful inheritance data.

instance WithCStarModule.instNormedAddCommGroupForall E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {ι : Type u_2} →
        {E : ι → Type u_3} →
          [Fintype ι] →
            [inst_3 : (i : ι) → NormedAddCommGroup (E i)] →
              [inst_4 : (i : ι) → Module ℂ (E i)] →
                [inst_5 : (i : ι) → SMul A (E i)] →
                  [(i : ι) → CStarModule A (E i)] →
                    [StarOrderedRing A] → NormedAddCommGroup (WithCStarModule A ((i : ι) → E i))

instance WithCStarModule.instNormedSpaceComplexForall E0 #

{A : Type u_1} →
  [inst : NonUnitalCStarAlgebra A] →
    [inst_1 : PartialOrder A] →
      {ι : Type u_2} →
        {E : ι → Type u_3} →
          [inst_2 : Fintype ι] →
            [inst_3 : (i : ι) → NormedAddCommGroup (E i)] →
              [inst_4 : (i : ι) → Module ℂ (E i)] →
                [inst_5 : (i : ι) → SMul A (E i)] →
                  [inst_6 : (i : ι) → CStarModule A (E i)] →
                    [inst_7 : StarOrderedRing A] → NormedSpace ℂ (WithCStarModule A ((i : ι) → E i))

instance WithCStarModule.instCStarModuleComplex E0 #

{E : Type u_2} → [inst : NormedAddCommGroup E] → [inst_1 : InnerProductSpace ℂ E] → CStarModule ℂ E

Reinterpret an inner product space E over ℂ as a CStarModule over ℂ.

Note: this instance requires SMul ℂᵐᵒᵖ E and IsCentralScalar ℂ E instances to exist on E, which is unlikely to occur in practice. However, in practice one could either add those instances to the type E in question, or else supply them to this instance manually, which is reason behind the naming of these two instance arguments.