Documentation

Physlib.Relativity.Tensors.ComponentIdx.Basic

Component indices #

i. Overview #

For a tensor species S and a list of colors c : Fin n → C, ComponentIdx S c is the type of choices of a basis index for every color in c. For example, for a tensor with colors ![.up, .down], an element of ComponentIdx ![.up, .down] records one contravariant component index and one covariant component index.

This file contains the basic definition and congruence/cast API. Operations on component indices induced by tensor products and contractions live in sibling files.

ii. Key results #

iii. Table of contents #

iv. References #

A. Basic definitions #

@[reducible, inline]
abbrev TensorSpecies.Tensor.ComponentIdx {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)} {n : ℕ} {S : TensorSpecies k C G V basisIdx rep b} (c : Fin n → C) :

Given a list of indices c : Fin n → C, the type ComponentIdx c is the type of component indices of a tensor with those colors. For instance, if c = ![.up, .down], then an element of ComponentIdx c specifies one basis index for .up and one for .down.

Equations
Instances For
    theorem TensorSpecies.Tensor.ComponentIdx.congr_right {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 → C} (b✝ : ComponentIdx c) (i j : Fin n) (h : i = j) :
    b✝ i = (basisIdxCongr ⋯) (b✝ j)
    def TensorSpecies.Tensor.ComponentIdx.cast {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 m : ℕ} {c : Fin n → C} {cm : Fin m → C} (h : n = m) (hc : c = cm ∘ Fin.cast h) :

    Casting of a ComponentIdx through equivalent color maps.

    Equations
    Instances For