Documentation

Physlib.Relativity.Tensors.UnitTensor

The unit tensors #

noncomputable def TensorSpecies.unitTensor {k : Type} [RCLike 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} (c : C) :
S.Tensor ![S.τ c, c]

The unit tensor associated with a color c.

Equations
Instances For
    theorem TensorSpecies.unitTensor_basis_repr {k : Type} [RCLike 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} (c : C) (φ : Tensor.ComponentIdx ![S.τ c, c]) :
    ((Tensor.basis ![S.τ c, c]).repr (unitTensor c)) φ = (((b (S.τ c)).tensorProduct (b c)).repr ((S.unit c) 1)) (φ 0, φ 1)

    A component of the unit tensor is the corresponding component of the unit intertwiner in the tensor-product basis.

    theorem TensorSpecies.unitTensor_congr {k : Type} [RCLike 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} {c c1 : C} (h : c = c1) :
    theorem TensorSpecies.unitTensor_eq_permT_dual {k : Type} [RCLike 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} (c : C) :

    The unit tensor is symmetric on dualing the color.

    theorem TensorSpecies.dual_unitTensor_eq_permT_unitTensor {k : Type} [RCLike 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} (c : C) :
    theorem TensorSpecies.unit_fromSingleTContrFromPairT_eq_fromSingleT {k : Type} [RCLike 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} {c : C} (x : V c) :
    @[simp]
    theorem TensorSpecies.contrT_single_unitTensor {k : Type} [RCLike 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} {c : C} (x : S.Tensor ![c]) :
    (Tensor.contrT 1 0 1 ⋯) ((Tensor.prodT x) (unitTensor c)) = (Tensor.permT id ⋯) x

    This lemma represents the de-categorification of S.contr_unit.

    theorem TensorSpecies.contrT_unitTensor_dual_single {k : Type} [RCLike 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} {c : C} (x : S.Tensor ![S.τ c]) :
    (Tensor.contrT 1 1 2 ⋯) ((Tensor.prodT (unitTensor c)) x) = (Tensor.permT id ⋯) x
    @[simp]
    theorem TensorSpecies.unitTensor_invariant {k : Type} [RCLike 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} {c : C} (g : G) :
    theorem TensorSpecies.unitTensor_pair_basis_repr {k : Type} [RCLike 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} [S.HasContrDualBases] (c : C) (J y : basisIdx c) :

    For a species with dual bases at dual colours, the unit tensor's components are a Kronecker δ, the first label carried across the variance dual by contrDualIdxEquiv.

    theorem TensorSpecies.unitTensor_basis_repr_eq_ite {k : Type} [RCLike 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} [S.HasContrDualBases] (c : C) (φ : Tensor.ComponentIdx ![S.τ c, c]) :

    unitTensor_pair_basis_repr at an arbitrary component index.

    theorem TensorSpecies.Tensor.toMatrix_permT_unitTensor {k : Type} [RCLike 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} [S.HasContrDualBases] (c : C) {cs : Fin 2 → C} {σ : Fin 2 → Fin 2} (hσ : ∀ (i : Fin 2), σ i = i) (hperm : IsReindexing ![S.τ c, c] cs σ) :
    ((permT σ hperm) (unitTensor c)).toMatrix = Matrix.submatrix 1 (fun (x : basisIdx (cs 0)) => (HasContrDualBases.contrDualIdxEquiv S c) ((basisIdxCongr ⋯) x)) fun (y : basisIdx (cs 1)) => (basisIdxCongr ⋯) y

    The component matrix of a unit tensor recoloured without moving its slots is the identity, with the labels transported back to the unit tensor's colours.

    theorem TensorSpecies.Tensor.toMatrix_unitTensor {k : Type} [RCLike 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} [S.HasContrDualBases] (c : C) :

    The unit tensor's component matrix is the identity, carried along contrDualIdxEquiv.

    theorem TensorSpecies.Tensor.IsReindexing.unitTensor_of_tau_eq {k : Type} [RCLike 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} {a e : C} (h : S.τ e = a) :

    If τ e = a, the identity is a reindexing from ![τ e, e] to ![a, e], so permT renames the colours of unitTensor e to ![a, e].

    theorem TensorSpecies.Tensor.toMatrix_permT_unitTensor_of_tau_eq {k : Type} [RCLike 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} [S.HasContrDualBases] {a e : C} (h : S.τ e = a) :

    The matrix of unitTensor e, with its colours renamed to ![a, e], is the identity matrix with its rows relabelled by dualIdxEquiv h.