PhysLean Documentation

PhysLean.Relativity.Tensors.TensorSpecies.Basic

Tensor species #

structure TensorSpecies :

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

    The field k of a TensorSpecies has the instance of a commutative ring.

    Equations

    The field G of a TensorSpecies has the instance of a group.

    Equations

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

    theorem TensorSpecies.FD_map_basis (S : TensorSpecies) {c c1 : S.C} (h : c = c1) (i : Fin (S.repDim c)) :

    The lift of the functor S.F to functor.

    Equations
    Instances For
      def TensorSpecies.castToField (S : TensorSpecies) {c : S.C} (v : ((𝟙_ (CategoryTheory.Functor (CategoryTheory.Discrete S.C) (Rep S.k S.G))).obj { as := c }).V) :
      S.k

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

      Equations
      Instances For

        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 (S : TensorSpecies) {c : Fin 0S.C} (x : (i : Fin 0) → (S.FD.obj { as := c i }).V) :

          Evalutation of indices. #

          The isomorphism of objects in Rep S.k S.G given an i in Fin n.succ allowing us to undertake evaluation.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem TensorSpecies.evalIso_tprod (S : TensorSpecies) {n : } {c : Fin n.succS.C} (i : Fin n.succ) (x : (i : Fin n.succ) → (S.FD.obj { as := c i }).V) :
            def TensorSpecies.evalLinearMap (S : TensorSpecies) {n : } {c : Fin n.succS.C} (i : Fin n.succ) (e : Fin (S.repDim (c i))) :
            (S.FD.obj { as := c i }).V →ₗ[S.k] S.k

            The linear map giving the coordinate of a vector with respect to the given basis. Important Note: This is not a morphism in the category of representations. In general, it cannot be lifted thereto.

            Equations
            Instances For
              def TensorSpecies.evalMap (S : TensorSpecies) {n : } {c : Fin n.succS.C} (i : Fin n.succ) (e : Fin (S.repDim (c i))) :

              The evaluation map, used to evaluate indices of tensors. Important Note: The evaluation map is in general, not equivariant with respect to group actions. It is a morphism in the underlying module category, not the category of representations.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem TensorSpecies.evalMap_tprod (S : TensorSpecies) {n : } {c : Fin n.succS.C} (i : Fin n.succ) (e : Fin (S.repDim (c i))) (x : (i : Fin n.succ) → (S.FD.obj { as := c i }).V) :

                The equivalence turning vecs into tensors #

                The equivalence between tensors based on ![c] and vectors in S.FD.obj (Discrete.mk c).

                Equations
                Instances For

                  Lift #

                  def TensorSpecies.liftTensor (S : TensorSpecies) {n : } {c : Fin nS.C} {E : Type} [AddCommMonoid E] [Module S.k E] :
                  MultilinearMap S.k (fun (i : Fin n) => (S.FD.obj { as := c i }).V) E ≃ₗ[S.k] (S.F.obj (IndexNotation.OverColor.mk c)).V →ₗ[S.k] E

                  The lift of a linear map (S.F.obj (OverColor.mk c) →ₗ[S.k] E) to a multi-linear map from fun i => S.FD.obj (Discrete.mk (c i)) (i.e. pure tensors) to E.

                  Equations
                  Instances For
                    def TensorSpecies.numIndices {S : TensorSpecies} {n : } {c : Fin nS.C} :

                    The number of indices n from a tensor.

                    Equations
                    Instances For