PhysLean Documentation

PhysLean.Relativity.Tensors.TensorSpecies.Basic

Tensor species #

structure TensorSpecies (k : Type) [CommRing k] (G : Type) [Group G] :

The structure TensorSpecies contains the necessary structure needed to define a system of tensors with index notation. Examples of TensorSpecies include real Lorentz tensors, complex Lorentz tensors, and ordinary Euclidean tensors.

Instances For
    instance TensorSpecies.instNeZeroNatRepDim {k : Type} [CommRing k] {G : Type} [Group G] (S : TensorSpecies k G) (c : S.C) :

    The field repDim of a TensorSpecies is non-zero for all colors.

    @[simp]
    theorem TensorSpecies.τ_τ_apply {k : Type} [CommRing k] {G : Type} [Group G] (S : TensorSpecies k G) (c : S.C) :
    S.τ (S.τ c) = c
    theorem TensorSpecies.basis_congr {k : Type} [CommRing k] {G : Type} [Group G] (S : TensorSpecies k G) {c c1 : S.C} (h : c = c1) (i : Fin (S.repDim c)) :
    theorem TensorSpecies.basis_congr_repr {k : Type} [CommRing k] {G : Type} [Group G] (S : TensorSpecies k G) {c c1 : S.C} (h : c = c1) (i : Fin (S.repDim c)) (t : (S.FD.obj { as := c }).V) :
    theorem TensorSpecies.FD_map_basis {k : Type} [CommRing k] {G : Type} [Group G] (S : TensorSpecies k G) {c c1 : S.C} (h : c = c1) (i : Fin (S.repDim c)) :

    The lift of the functor S.F to functor.

    Equations
    Instances For
      instance TensorSpecies.F_braided {k : Type} [CommRing k] {G : Type} [Group G] (S : TensorSpecies k G) :

      The functor F is braided.

      Equations
      def TensorSpecies.castToField {k : Type} [CommRing k] {G : Type} [Group G] (S : TensorSpecies k G) {c : S.C} (v : ((𝟙_ (CategoryTheory.Functor (CategoryTheory.Discrete S.C) (Rep k G))).obj { as := c }).V) :
      k

      Casts an element of the monoidal unit of Rep k G to the field k.

      Equations
      Instances For
        def TensorSpecies.castFin0ToField {k : Type} [CommRing k] {G : Type} [Group G] (S : TensorSpecies k G) {c : Fin 0S.C} :

        Casts an element of (S.F.obj (OverColor.mk c)).V for c a map from Fin 0 to an element of the field.

        Equations
        Instances For
          theorem TensorSpecies.castFin0ToField_tprod {k : Type} [CommRing k] {G : Type} [Group G] (S : TensorSpecies k G) {c : Fin 0S.C} (x : (i : Fin 0) → (S.FD.obj { as := c i }).V) :

          Some properties of contractions #

          def TensorSpecies.numIndices {k : Type} [CommRing k] {G : Type} [Group G] {S : TensorSpecies k G} {n : } {c : Fin nS.C} :

          The number of indices n from a tensor.

          Equations
          Instances For