Evaluation of tensor indices #
## The evaluation coefficent.
def
TensorSpecies.Tensor.Pure.evalPCoeff
{k : Type}
[CommRing k]
{G : Type}
[Group G]
{S : TensorSpecies k G}
{n : ℕ}
{c : Fin (n + 1) → S.C}
(i : Fin (n + 1))
(b : Fin (S.repDim (c i)))
(p : Pure S c)
:
k
Given a i : Fin (n + 1)
, a b : Fin (S.repDim (c i))
and a pure tensor
p : Pure S c
, evalPCoeff i b p
is the b
th component of p i
.
Equations
- TensorSpecies.Tensor.Pure.evalPCoeff i b p = ((S.basis (c i)).repr (p i)) b
Instances For
@[simp]
theorem
TensorSpecies.Tensor.Pure.evalPCoeff_update_succAbove
{k : Type}
[CommRing k]
{G : Type}
[Group G]
{S : TensorSpecies k G}
{n : ℕ}
{c : Fin (n + 1) → S.C}
(i : Fin (n + 1))
[inst : DecidableEq (Fin (n + 1))]
(j : Fin n)
(b : Fin (S.repDim (c i)))
(p : Pure S c)
(x : ↑(S.FD.obj { as := c (i.succAbove j) }).V)
:
Evaluation for a pure tensor. #
noncomputable def
TensorSpecies.Tensor.Pure.evalP
{k : Type}
[CommRing k]
{G : Type}
[Group G]
{S : TensorSpecies k G}
{n : ℕ}
{c : Fin (n + 1) → S.C}
(i : Fin (n + 1))
(b : Fin (S.repDim (c i)))
(p : Pure S c)
:
Given a i : Fin (n + 1)
, a b : Fin (S.repDim (c i))
and a pure tensor
p : Pure S c
, evalP i b p
is the tensor formed by evaluating the i
th index
of p
at b
.
Equations
- TensorSpecies.Tensor.Pure.evalP i b p = TensorSpecies.Tensor.Pure.evalPCoeff i b p • (p.drop i).toTensor
Instances For
@[simp]
Evaluation for a pure tensor as multilinear map. #
noncomputable def
TensorSpecies.Tensor.Pure.evalPMultilinear
{k : Type}
[CommRing k]
{G : Type}
[Group G]
{S : TensorSpecies k G}
{n : ℕ}
{c : Fin (n + 1) → S.C}
(i : Fin (n + 1))
(b : Fin (S.repDim (c i)))
:
The multi-linear map formed by evaluation of an index of pure tensors.
Equations
- One or more equations did not get rendered due to their size.
Instances For
noncomputable def
TensorSpecies.Tensor.evalT
{k : Type}
[CommRing k]
{G : Type}
[Group G]
{S : TensorSpecies k G}
{n : ℕ}
{c : Fin (n + 1) → S.C}
(i : Fin (n + 1))
(b : Fin (S.repDim (c i)))
:
Given a i : Fin (n + 1)
, a b : Fin (S.repDim (c i))
and a tensor
t : Tensor S c
, evalT i b t
is the tensor formed by evaluating the i
th index
of t
at b
.