Imports
/-
Copyright (c) 2024 Joseph Tooby-Smith. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith
-/
module
public import Physlib.Relativity.Tensors.BasicBasis for tensors in a tensor species
@[expose] public sectionA tensor with integer components with respect to the basis.
abbrev TensorInt {n : ℕ} (c : Fin n → C) := (ComponentIdx (S := S) c) → ℤlemma basis_repr_apply {n : ℕ} {c : Fin n → C}
(f : TensorInt S c) (b : ComponentIdx c) :
(Tensor.basis c).repr (toTensor f) b = Int.cast (f b) := k:Typeinst✝⁵:CommRing kC:TypeG:Typeinst✝⁴:Group GV:C → Typeinst✝³:(c : C) → AddCommGroup (V c)inst✝²:(c : C) → Module k (V c)basisIdx:C → Typeinst✝¹:(c : C) → Fintype (basisIdx c)inst✝:(c : C) → DecidableEq (basisIdx c)rep:(c : C) → Representation k G (V c)b✝:(c : C) → Basis (basisIdx c) k (V c)S:TensorSpecies k C G V basisIdx rep b✝n:ℕc:Fin n → Cf:TensorInt S cb:ComponentIdx c⊢ ((basis c).repr f.toTensor) b = ↑(f b)
k:Typeinst✝⁵:CommRing kC:TypeG:Typeinst✝⁴:Group GV:C → Typeinst✝³:(c : C) → AddCommGroup (V c)inst✝²:(c : C) → Module k (V c)basisIdx:C → Typeinst✝¹:(c : C) → Fintype (basisIdx c)inst✝:(c : C) → DecidableEq (basisIdx c)rep:(c : C) → Representation k G (V c)b✝:(c : C) → Basis (basisIdx c) k (V c)S:TensorSpecies k C G V basisIdx rep b✝n:ℕc:Fin n → Cf:TensorInt S cb:ComponentIdx c⊢ ((Finsupp.linearEquivFunOnFinite k k ((j : Fin n) → basisIdx (c j))).symm fun j => ↑(f j)) b = ↑(f b)
All goals completed! 🐙All goals completed! 🐙