Physlib.Relativity.Tensors.Contraction.CrossToSlot
Result-to-slot contraction against a rank-2 tensor
i. Overview
`crossToEnd` deposits the surviving index of a slot contraction at the end of the survivor list. Raising and lowering a named index instead wants the replacement to stay *in place*: contracting slot `i` of `t` against a rank-2 tensor `M` (a metric, the unit tensor) should return `t` with only slot `i`'s color changed, `T^{μ}{}_{νρ} ↦ T_{μνρ}`. `crossToSlot i j hc M` is that operation, and `crossToSlot_eq_crossToEnd` is the one place the two conventions meet.
This module stays at the `CommRing` altitude of `crossToEnd`; the `RCLike` round trips built on the operation live with the unit-tensor collapse theory in `Physlib.Relativity.Tensors.Contraction.UnitTensorContraction`.
ii. Key results
- `TensorSpecies.Tensor.crossToSlot` : contract slot `i` against slot `j` of a rank-2 tensor and rotate the survivor back into position `i`; raising and lowering a named index. - `TensorSpecies.Tensor.crossToSlot_eq_crossToEnd` : the bridge to the result-to-end convention. - `TensorSpecies.Tensor.crossToSlotInv` : the returning half of a round trip, the contraction against the second factor with the round trip's color cast absorbed. - `TensorSpecies.Tensor.crossToSlot_permT_right_id` : an identity reindexing of the rank-2 tensor passes through the contraction. - `TensorSpecies.Tensor.crossToSlot_equivariant` : the contraction commutes with the `G`-action.
iii. Table of contents
- A. The result-to-slot contraction
iv. References
A. The result-to-slot contraction
6 declarations
is a reindexing for result-to-slot contraction
Let be a natural number, be a sequence of tensor index types (colors), and be the colors of a rank-2 tensor. For any index and , the inverse of the cyclic permutation on the interval from to , denoted by , is a reindexing from a source color sequence to a target color sequence. The source sequence is the concatenation of (omitting index ) and (omitting index ). The target sequence is the original sequence where the -th entry is updated to be the surviving index type of (the entry not at index ).
Result-to-slot contraction of slot with slot of a rank-2 tensor
Let be a tensor species over a ring . Let be a sequence of colors for a tensor , and let be the color sequence for a rank-2 tensor . Given indices and , such that the color is dual to the color (i.e., ), the -linear map `crossToSlot` performs a contraction between the -th slot of and the -th slot of . In this operation, the surviving index of (the index ) is placed back into the original position of the resulting tensor. The color sequence of the result is with the -th entry updated to the color . This operation corresponds to raising or lowering the -th index of a tensor using a rank-2 tensor such as a metric.
`crossToSlot` equals `crossToEnd` followed by an inverse cyclic permutation
Let be a tensor species over a ring . Let be a tensor with color sequence and be a rank-2 tensor with color sequence . For indices and such that the color is dual to (i.e., ), the result-to-slot contraction is related to the result-to-end contraction by a cyclic permutation. Specifically: where is the inverse of the cyclic permutation on the interval , which rotates the surviving index from the last slot back into the -th slot.
Inverse result-to-slot contraction of slot with rank-2 tensor
Let be a tensor species over a ring . Let be a color sequence and be a fixed index such that the color at that position is . Let be colors such that the dual of is (i.e., ). Given a rank-2 tensor with color sequence , the -linear map `crossToSlotInv` transforms a tensor from the space (where the -th color of has been replaced by ) to the original space . This is performed by contracting the -th slot of (color ) with the first slot of (color ), and placing the surviving second slot of (color ) back into the -th position. This operation serves as the "returning" half of an index-shifting round trip (such as raising then lowering an index), ensuring the result aligns with the original color sequence .
Identity reindexing of the rank-2 tensor in `crossToSlot` contraction
Let be a tensor species over a ring . Let be a tensor of rank with color sequence , and let be a rank-2 tensor with color sequence . Suppose is another color sequence such that the identity map is a reindexing from to (meaning for ). Let and be indices such that the -th color of is dual to the -th color of under the sequence , i.e., . Then, the `crossToSlot` contraction of with (after has been reindexed to via the identity map) is equal to the identity reindexing of the `crossToSlot` contraction of with using its original colors .
The Result-to-Slot Contraction is -Equivariant
Let be a tensor species over a ring and be a group acting on the tensors of . Let be a tensor of rank with color sequence , and be a rank-2 tensor with color sequence . Given indices and such that the color is dual to (i.e., ), the operation `crossToSlot` contracts the -th slot of with the -th slot of and places the surviving index of into the original position . This operation is -equivariant, meaning that for any :
