Physlib

Physlib.Relativity.Tensors.Tensorial

Tensorial class

i. Overview

We define a class called `Tensorial`. This class is used to enable the use of index notation on a type `M` via a linear equivalence to a tensor of a `TensorSpecies`.

We define the class `Tensorial` here, and provide an API around its use.

ii. Key results

- `Tensorial` : The class used to allow index notation on a type `M`. - `Tensorial.numIndices` : The number of indices of an element of an `M` carrying a tensorial instance. - `Tensorial.mulAction` : The action of the group `G` on a type `M` carrying a tensorial instance. - `Tensorial.prod` : The product of two tensorial instances is a tensorial instance.

iii. Table of contents

- A. Defining the tensorial class - A.1. Tensors carry a tensorial instance - A.2. The number of indices - B. The action of the group on a module with a tensorial instance - B.1. Relation between the action and the equivalence to tensors - B.2. Linear properties of the action - B.3. The action as a linear map - B.4. The SMulCommClass property - C. Properties of the basis - D. Products of tensorial instances - D.1. The equivalence to tensors on products - D.2. The group action on products - D.3. The basis on products - E. Continuous properties - E.1. Finite dimensionality - E.2. The map to tensors as a continuous linear equivalence - E.3. The Lorentz action as a continuous linear equivalence

iv. References

There are no known references for this material.

A. Defining the tensorial class

We first define the `Tensorial` class.

A.1. Tensors carry a tensorial instance

The module of tensors of a tensor species carries a canonical tensorial instance, through the equivalence.

A.2. The number of indices

B. The action of the group on a module with a tensorial instance

We now define the action of the group `G` on a type `M` carrying a tensorial instance.

B.1. Relation between the action and the equivalence to tensors

B.2. Linear properties of the action

B.3. The action as a linear map

B.4. The SMulCommClass property

C. Properties of the basis

We now prove some properties of the basis induced on a `Tensorial` instance.

D. Products of tensorial instances

D.1. The equivalence to tensors on products

D.2. The group action on products

D.3. The basis on products

E. Continuous properties

E.1. Finite dimensionality

E.2. The map to tensors as a continuous linear equivalence

E.3. The Lorentz action as a continuous linear equivalence

21 declarations

instance

Canonical `Tensorial` instance for S.Tensor cS.\text{Tensor } c

For any tensor species SS and any index configuration c:{0,,n1}Cc: \{0, \dots, n-1\} \to C, the module of tensors S.Tensor cS.\text{Tensor } c is equipped with a canonical `Tensorial` instance. The linear equivalence toTensor\text{toTensor} that identifies the module with its tensor representation is defined as the identity map id:S.Tensor cS.Tensor c\text{id} : S.\text{Tensor } c \cong S.\text{Tensor } c.

theorem

toTensor(t)=t\text{toTensor}(t) = t for the canonical instance of S.Tensor cS.\text{Tensor } c

For any tensor species SS, any index configuration c:{0,,n1}Cc: \{0, \dots, n-1\} \to C, and any tensor tS.Tensor ct \in S.\text{Tensor } c, the linear equivalence toTensor\text{toTensor} provided by the canonical `Tensorial` instance for S.Tensor cS.\text{Tensor } c is the identity map. That is, toTensor(t)=t\text{toTensor}(t) = t.

definition

Number of indices of a tensorial element tMt \in M

For an element tt in a type MM that carries a `Tensorial` instance with respect to a tensor species SS and an index configuration c:{0,,n1}Cc: \{0, \dots, n-1\} \to C, the function returns the natural number nn, representing the number of indices associated with the tensor representation of tt.

instance

Action of GG on a tensorial type MM

For a type MM equipped with a `Tensorial` instance for a tensor species SS and a configuration of indices cc, there exists a linear equivalence ϕ:MS.Tensor(c)\phi: M \cong S.\text{Tensor}(c). This definition provides a scalar multiplication (action) of the group GG on MM, where for any gGg \in G and mMm \in M, the action is defined by gm=ϕ1(gϕ(m))g \cdot m = \phi^{-1}(g \cdot \phi(m)).

instance

Group action of GG on a tensorial type MM

Given a type MM equipped with a `Tensorial` instance for a tensor species SS and an index configuration cc, this definition provides a group action of GG on MM. The action is defined such that for any gGg \in G and mMm \in M, gm=ϕ1(gϕ(m))g \cdot m = \phi^{-1}(g \cdot \phi(m)), where ϕ:MS.Tensor(c)\phi: M \cong S.\text{Tensor}(c) is the linear equivalence between MM and the space of tensors associated with the species SS and configuration cc.

theorem

gt=toTensor1(gtoTensor(t))g \cdot t = \text{toTensor}^{-1}(g \cdot \text{toTensor}(t)) for tensorial MM

Let MM be a type equipped with a `Tensorial` instance for a tensor species SS and index configuration cc. Let ϕ:MS.Tensor(c)\phi: M \cong S.\text{Tensor}(c) be the linear equivalence (denoted as `toTensor`) that identifies MM with its tensor representation. For any group element gGg \in G and any element tMt \in M, the action of gg on tt is defined by the relation gt=ϕ1(gϕ(t))g \cdot t = \phi^{-1}(g \cdot \phi(t)).

theorem

toTensor(gt)=gtoTensor(t)\text{toTensor}(g \cdot t) = g \cdot \text{toTensor}(t)

Let MM be a type equipped with a `Tensorial` instance for a tensor species SS and index configuration cc. Let ϕ:MS.Tensor(c)\phi: M \cong S.\text{Tensor}(c) be the linear equivalence (denoted as `toTensor`) that identifies elements of MM with their tensor representations. For any group element gGg \in G and any element tMt \in M, the map ϕ\phi is equivariant with respect to the group action, meaning ϕ(gt)=gϕ(t)\phi(g \cdot t) = g \cdot \phi(t).

theorem

gϕ1(t)=ϕ1(gt)g \cdot \phi^{-1}(t) = \phi^{-1}(g \cdot t) for Tensorial MM

Let MM be a module equipped with a `Tensorial` instance for a tensor species SS and index configuration cc. Let ϕ:MS.Tensor(c)\phi: M \cong S.\text{Tensor}(c) be the linear equivalence (denoted as `toTensor`) that identifies MM with its tensor representation. For any group element gGg \in G and any tensor tS.Tensor(c)t \in S.\text{Tensor}(c), the group action of gg on the element ϕ1(t)M\phi^{-1}(t) \in M satisfies the relation gϕ1(t)=ϕ1(gt)g \cdot \phi^{-1}(t) = \phi^{-1}(g \cdot t).

instance

Distributive action of GG on a tensorial module MM

Given a kk-module MM equipped with a `Tensorial` instance for a tensor species SS and index configuration cc, the group action of GG on MM is distributive. This means that for any gGg \in G and m,mMm, m' \in M, the action satisfies g(m+m)=gm+gmg \cdot (m + m') = g \cdot m + g \cdot m' and g0=0g \cdot 0 = 0. These properties are inherited from the action of GG on the space of tensors S.Tensor(c)S.\text{Tensor}(c) through the linear equivalence ϕ:MS.Tensor(c)\phi: M \cong S.\text{Tensor}(c).

definition

Group action on MM as a kk-linear map

Given a group element gGg \in G and a kk-module MM equipped with a tensorial structure (associated with a tensor species SS and index configuration cc), this definition defines a kk-linear map from MM to itself. The map sends an element mMm \in M to gmg \cdot m, where the action is defined via the linear equivalence between MM and the corresponding tensor space.

theorem

smulLinearMap(g)(m)=gm\text{smulLinearMap}(g)(m) = g \cdot m

Let MM be a kk-module equipped with a tensorial structure for a tensor species SS and index configuration cc. For any element gg of the group GG and any element mMm \in M, the application of the linear map smulLinearMap(g)\text{smulLinearMap}(g) to mm is equal to the group action gmg \cdot m.

instance

Action of GG on MM commutes with kk-scalar multiplication

Let MM be a kk-module equipped with a `Tensorial` instance for a tensor species SS and index configuration cc. For any scalar aka \in k, group element gGg \in G, and element mMm \in M, the group action of GG and the scalar multiplication by kk commute, such that a(gm)=g(am)a \cdot (g \cdot m) = g \cdot (a \cdot m).

theorem

Representation of mm in the induced basis equals representation of toTensor(m)\text{toTensor}(m) in the tensor basis

Let MM be a module equipped with a `Tensorial` instance for a tensor species SS and a collection of indices cc. Let ϕ:MT\phi: M \cong \mathcal{T} be the linear equivalence (`toTensor`) between MM and the corresponding tensor space T\mathcal{T} of species SS with indices cc. Let B\mathcal{B} be the canonical basis for T\mathcal{T} (`Tensor.basis c`). For any mMm \in M, the coordinate representation of ϕ(m)\phi(m) with respect to the basis B\mathcal{B} is equal to the coordinate representation of mm with respect to the basis on MM obtained by pulling back B\mathcal{B} via the inverse equivalence ϕ1\phi^{-1}.

instance

Tensorial instance for the tensor product MkM2M \otimes_k M_2

Let SS be a tensor species over a ring kk. Suppose MM and M2M_2 are modules equipped with `Tensorial` instances for index configurations c:{0,,n1}Cc: \{0, \dots, n-1\} \to C and c2:{0,,n21}Cc_2: \{0, \dots, n_2-1\} \to C, respectively. The tensor product MkM2M \otimes_k M_2 is also a `Tensorial` module with the concatenated index configuration c+ ⁣+c2c \mathbin{+\!+} c_2 (denoted `Fin.append c c2`). The associated linear equivalence toTensor:MkM2S.Tensor(c+ ⁣+c2)\text{toTensor} : M \otimes_k M_2 \cong S.\text{Tensor}(c \mathbin{+\!+} c_2) is defined as the composition of the tensor product of the individual maps (toTensorMtoTensorM2\text{toTensor}_M \otimes \text{toTensor}_{M_2}) and the canonical isomorphism S.Tensor(c)kS.Tensor(c2)S.Tensor(c+ ⁣+c2)S.\text{Tensor}(c) \otimes_k S.\text{Tensor}(c_2) \cong S.\text{Tensor}(c \mathbin{+\!+} c_2).

theorem

toTensor(mm2)=prodT(toTensor m,toTensor m2)\text{toTensor}(m \otimes m_2) = \text{prodT}(\text{toTensor } m, \text{toTensor } m_2)

Let SS be a tensor species over a ring kk. Suppose MM and M2M_2 are modules equipped with `Tensorial` instances for index configurations c:Fin nCc: \text{Fin } n \to C and c2:Fin n2Cc_2: \text{Fin } n_2 \to C, respectively. For any elements mMm \in M and m2M2m_2 \in M_2, let mm2m \otimes m_2 be their tensor product in MkM2M \otimes_k M_2. The linear equivalence toTensor\text{toTensor} (which maps elements to the corresponding tensor space of the species SS) satisfies: toTensor(mm2)=prodT(toTensor m,toTensor m2)\text{toTensor}(m \otimes m_2) = \text{prodT}(\text{toTensor } m, \text{toTensor } m_2) where prodT\text{prodT} is the kk-bilinear map that computes the tensor product of two tensors within the tensor species SS.

theorem

g(mm2)=(gm)(gm2)g \cdot (m \otimes m_2) = (g \cdot m) \otimes (g \cdot m_2) for Tensorial Modules

Let SS be a tensor species over a ring kk and GG a group. Suppose MM and M2M_2 are modules equipped with `Tensorial` instances for index configurations cc and c2c_2, respectively. For any group element gGg \in G and any elements mMm \in M and m2M2m_2 \in M_2, the group action on the tensor product MkM2M \otimes_k M_2 satisfies: g(mm2)=(gm)(gm2)g \cdot (m \otimes m_2) = (g \cdot m) \otimes (g \cdot m_2) where \otimes denotes the tensor product of elements and \cdot denotes the action of GG on the respective tensorial modules.

theorem

The induced basis of MkM2M \otimes_k M_2 is the product of the induced bases of MM and M2M_2

Let SS be a tensor species over a ring kk. Suppose MM and M2M_2 are modules equipped with `Tensorial` instances for index configurations c:Fin nCc: \text{Fin } n \to C and c2:Fin n2Cc_2: \text{Fin } n_2 \to C, respectively. Let toTensorM:MS.Tensor(c)\text{toTensor}_M: M \cong S.\text{Tensor}(c) and toTensorM2:M2S.Tensor(c2)\text{toTensor}_{M_2}: M_2 \cong S.\text{Tensor}(c_2) be the associated linear equivalences. The basis of MkM2M \otimes_k M_2 induced by its `Tensorial` instance (for the concatenated configuration c+ ⁣+c2c \mathbin{+\!+} c_2) is obtained by mapping the canonical basis of S.Tensor(c+ ⁣+c2)S.\text{Tensor}(c \mathbin{+\!+} c_2) through the inverse equivalence toTensorMM21\text{toTensor}_{M \otimes M_2}^{-1}. This theorem states that this induced basis is equal to the tensor product of the induced bases of MM and M2M_2, reindexed by the canonical equivalence between the product of component indices and the concatenated component indices.

instance

Tensorial Spaces are Finite-Dimensional

Let MM be a module over a field kk. If MM is equipped with a `Tensorial` instance for a tensor species SS and a configuration of indices cc, then MM is a finite-dimensional vector space over kk.

definition

Continuous linear equivalence from MM to its tensor representation S.Tensor(c)S.\text{Tensor}(c)

For a topological module MM over a field kk that carries a `Tensorial` instance for a tensor species SS with index components cc, this definition provides the continuous linear equivalence (topological isomorphism) between MM and the space of tensors S.Tensor(c)S.\text{Tensor}(c). The map ML,kS.Tensor(c)M \simeq_{L,k} S.\text{Tensor}(c) identifies elements of MM with their formal tensor representations while preserving both the linear structure and the topology, provided that MM is a Hausdorff space (T2T_2) with continuous addition and scalar multiplication.

definition

Continuous linear map of the group action gmg \cdot m

Let MM be a topological kk-module equipped with a `Tensorial` structure for a tensor species SS and index configuration cc. For any group element gGg \in G, the map mgmm \mapsto g \cdot m defines a continuous kk-linear map from MM to itself. This definition constructs the action as an element of the space of continuous linear maps Lk(M;M)\mathcal{L}_k(M; M), utilizing the fact that the module MM is a Hausdorff space with continuous addition and scalar multiplication. In the context of physics-related tensor species, this represents the Lorentz action on the tensorial type MM.

theorem

`actionCLM S g m = g \cdot m`

Let MM be a topological kk-module that is a Hausdorff space with continuous scalar multiplication, and suppose MM is equipped with a `Tensorial` structure for a tensor species SS and index configuration cc. For any group element gGg \in G and any mMm \in M, applying the continuous linear map associated with the group action, denoted as actionCLMS(g)\text{actionCLM}_S(g), to the element mm is equal to the group action gmg \cdot m.