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 slotiagainst slotjof a rank-2 tensor and rotate the survivor back into positioni; raising and lowering a named index.TensorSpecies.Tensor.crossToSlot_eq_crossToEnd: the bridge to the result-to-end convention.TensorSpecies.Tensor.crossToSlot_basis_repr_apply: the component bridge from result-to-slot to result-to-end contraction.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_basis_repr_eq_sum_fin: the component formula at arbitrary rank and slot for any species, the contraction of the two contracted basis vectors left as an opaque coefficient.TensorSpecies.Tensor.crossToSlot_basis_repr_eq_sum_dual: the same formula for a species with contraction-dual bases, the δ collapsing the two sums into one.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 theG-action.
iii. Table of contents #
- A. The result-to-slot contraction
iv. References #
- None.
A. The result-to-slot contraction #
The survivor color of crossToEnd i j against a rank-2 tensor of color cM is c with
slot i replaced by the surviving color cM (j.succAbove 0), once the survivors are rotated
back by the inverse of the cycle [i, last].
Contract slot i of t against slot j of the rank-2 tensor M, whose j-slot color must
equal the dual color τ (c i) (propositionally, via hc), and rotate M's surviving slot back
into position i. The result is t with slot i relabelled to M's surviving color.
This is raising and lowering a named index; the metric case is j = 0,
M = metricTensor (τ (c i)). Because hc is propositional, a rank-2 tensor whose slot color
matches only up to an equality enters directly, with no transport.
Equations
- TensorSpecies.Tensor.crossToSlot i j hc M = TensorSpecies.Tensor.permT ⇑(Equiv.symm (i.cycleIcc (Fin.last nA))) ⋯ ∘ₗ (TensorSpecies.Tensor.crossToEnd i j hc).flip M
Instances For
The bridge between the two conventions: crossToSlot i j hc M t is crossToEnd i j hc t M
with the survivor rotated from the last slot back to slot i by the inverse cycle.
A component of crossToSlot is the corresponding component of crossToEnd, with the
surviving indices rotated back into the contracted slot.
crossToSlot of slot i with the first index of M', followed by renaming slot i back to
its original colour c i (he).
Equations
- TensorSpecies.Tensor.crossToSlotInv i he hb M' = TensorSpecies.Tensor.permT id ⋯ ∘ₗ TensorSpecies.Tensor.crossToSlot i 0 ⋯ M'
Instances For
An identity reindexing of the rank-2 tensor becomes the corresponding identity reindexing of
the contracted output: the crossToSlot-level case of crossToEnd_permT_right where the rank-2
tensor's colors are only propositionally recast.
The component formula for a cross contraction into an arbitrary slot, for a species whose bases
are not assumed adapted to the contraction: each contracted label is summed over its own slot and
the contraction of the two basis vectors remains an opaque coefficient. Rotating the survivor back
to its slot only transports the surviving labels, so this is crossToEnd_basis_repr_eq_sum_fin read
through the cycle.
The component formula for a cross contraction into an arbitrary slot, for a species with
contraction-dual bases: the contraction coefficient is δ and one sum remains, the contracted label
of M matched to that of t by contrDualIdxEquiv.
Cross contraction into a slot is G-equivariant, both constituents (crossToEnd, permT)
being so.