Physlib.Relativity.Tensors.Contraction.Basic
6 declarations
Tensor contraction at indices and
#contrTFor a tensor species over a ring , let be a color sequence of length . Given two distinct indices such that the color at is the dual of the color at (i.e., ), the contraction map `contrT` is the -linear map defined by lifting the multilinear contraction map of pure tensors to the tensor product. This map reduces the rank of the tensor from to by contracting the -th and -th indices using the natural pairing of dual colors, where the resulting tensor's color sequence is obtained by skipping the indices and in .
of a Pure Tensor equals
#contrT_pureFor a tensor species over a ring and a color sequence , let be a pure tensor. Given two distinct indices such that the color at is the dual of the color at (), the -linear contraction map applied to the image of in the tensor product space is equal to the contraction of the pure tensor . That is, where is the tensor product and is the contraction defined by the pairing of the -th and -th components of .
Tensor Contraction is -Equivariant:
#contrT_equivariantLet be a tensor species over a ring and be a group. For a sequence of colors , let be a tensor. Given two distinct indices such that the color at is the dual of the color at (i.e., ), the tensor contraction map is equivariant with respect to the group action of . That is, for any : where the action on the left is on the tensor space of rank and the action on the right is on the contracted tensor space of rank .
of a Permuted Tensor equals the Permutation of the
#contrT_permTLet be a tensor species over a ring . Let and be color sequences, and let be a map satisfying the permutation condition (which implies is a bijection). For any tensor and any two distinct indices such that the color at index is the dual of the color at index (i.e., ), the contraction of the permuted tensor at indices and is equal to the permutation of the contraction of at indices and by the induced map : where is the bijection between the reduced index sets and induced by after removing indices from the domain and from the codomain.
Symmetry of Tensor Contraction:
#contrT_symmFor a tensor species over a ring and a tensor with rank and color sequence , let be distinct indices such that the color at is the dual of the color at (i.e., ). The -linear contraction of at indices and is equal to the contraction of at indices and up to an identity permutation: where is the -linear map that reorders indices, is the identity map on , and is the permutation condition ensuring that the resulting color sequences and are equivalent.
Commutativity of Successive Tensor Contractions ()
#contrT_commLet be a tensor species over a ring . Let be a tensor of rank associated with a color sequence . Suppose we perform two successive contractions. The first contraction is at indices where and . This results in a tensor of rank . We then perform a second contraction at indices where and the colors of the corresponding indices in the reduced tensor are duals. To express the commutativity, we define the corresponding indices for the reverse order: - Let and be the indices in the original rank tensor that correspond to and after and have been removed. - Let and be the indices in the rank tensor (obtained after contracting and ) that correspond to the original indices and . Then the result of the sequential contractions is independent of the order, up to a canonical identification: where is the canonical isomorphism (reindexing) between the resulting tensor spaces.
