Documentation

Physlib.Relativity.Tensors.ComponentIdx.Insert

Component indices split at a single slot #

Component-index insertion and evaluation at a distinguished slot.

i. Overview #

ComponentIdx c is ∀ j, basisIdx (c j), so singling out one slot i splits a component index into the label there and a component index for the remaining colours c ∘ i.succAbove. That is mathlib's Fin.insertNthEquiv read at the family fun j => basisIdx (c j), and it carries no transports of its own.

This is the one-slot counterpart of the two-slot DropPairSection.ofFinEquiv, which singles out the pair a contraction consumes, and of ComponentIdx.prod, which splits a concatenated colour list into its two halves. Where those two are shaped by the operation that produced the colour list, this one is shaped by a slot the caller names, which is what a general-rank component formula needs: an operation acting at slot i leaves the other slots alone, and the formula should say so at every rank rather than at the rank where the colour list happens to be a literal.

ii. Key results #

iii. Table of contents #

iv. References #

There are no known references for the material in this module.

A. The single-slot equivalence #

def TensorSpecies.Tensor.ComponentIdx.insert {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1) → C} (i : Fin (n + 1)) :
basisIdx (c i) × ComponentIdx (c ∘ i.succAbove) ≃ ComponentIdx c

Splitting a component index at a named slot: the label at slot i, together with a component index for the colours of the remaining slots. The dependent counterpart of Fin.cons, and the single-slot analogue of the two-slot DropPairSection.ofFinEquiv.

Equations
Instances For
    @[simp]
    theorem TensorSpecies.Tensor.ComponentIdx.insert_apply_self {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1) → C} (i : Fin (n + 1)) (x : basisIdx (c i) × ComponentIdx (c ∘ i.succAbove)) :
    (insert i) x i = x.1
    @[simp]
    theorem TensorSpecies.Tensor.ComponentIdx.insert_apply_succAbove {k : Type} [CommRing k] {C G : Type} [Group G] {V : C → Type} [(c : C) → AddCommGroup (V c)] [(c : C) → Module k (V c)] {basisIdx : C → Type} [(c : C) → Fintype (basisIdx c)] [(c : C) → DecidableEq (basisIdx c)] {rep : (c : C) → Representation k G (V c)} {b : (c : C) → Module.Basis (basisIdx c) k (V c)} {S : TensorSpecies k C G V basisIdx rep b} {n : ℕ} {c : Fin (n + 1) → C} (i : Fin (n + 1)) (x : basisIdx (c i) × ComponentIdx (c ∘ i.succAbove)) (m : Fin n) :
    (insert i) x (i.succAbove m) = x.2 m