Physlib.Relativity.Tensors.Evaluation
9 declarations
-th basis coefficient of the -th vector in a pure tensor
#evalPCoeffLet be a tensor species over a field and be a sequence of colors representing a collection of vector spaces . A pure tensor is defined as an element of the dependent product , representing the tensor . Given an index and a basis index , the function `evalPCoeff` returns the -th coordinate of the -th component vector with respect to the basis of provided by the tensor species.
`evalPCoeff` after `update` at the same index equals the new vector's coefficient
#evalPCoeff_update_selfLet be a tensor species over a field and be a sequence of colors representing a collection of vector spaces . Let be a pure tensor, representing the product . Let be the function that returns the -th coordinate of the -th component vector with respect to the basis of provided by the species. For any index , basis index , and vector , the -th basis coefficient of the -th component of the pure tensor updated at index with is equal to the -th basis coefficient of : where denotes the -th coordinate of in the basis of .
`evalPCoeff` is invariant under `update` at distinct indices
#evalPCoeff_update_succAboveLet be a tensor species over a field and be a sequence of colors representing a collection of vector spaces . Let be a pure tensor, defined as an element of the dependent product , which represents the simple tensor . Let be the function that returns the -th coordinate of the -th component vector with respect to the basis of . For any index and , let denote an index in distinct from . If the -th component of is updated with a new vector , the -th basis coefficient of the -th component vector remains unchanged:
Evaluation of the -th index of a pure tensor at basis index
#evalPLet be a tensor species over a field and be a sequence of colors. A pure tensor of type is a family of vectors representing the tensor product , where each belongs to the vector space associated with color . Given an index and a basis index for the vector space , the function returns the tensor of rank formed by evaluating the -th index of at the -th basis element. This is defined as: \[ \text{evalP } i \, b \, p = (v_i)_b \cdot (v_0 \otimes \dots \otimes v_{i-1} \otimes v_{i+1} \otimes \dots \otimes v_n) \] where is the -th coordinate of the vector with respect to the basis of provided by the tensor species .
Additivity of Pure Tensor Evaluation with respect to Component Updates
#evalP_update_addLet be a tensor species over a field and be a sequence of colors, where each corresponds to a vector space . Let be a pure tensor (formally an element of the dependent product ) representing the simple tensor . Let be the operation that evaluates the -th index of at the -th basis element of , returning a tensor of rank . For any indices , a basis index for , and vectors , the evaluation operation is additive with respect to updating the -th component of the pure tensor: where denotes the pure tensor with its -th component replaced by .
Scalar Multiplicativity of under Component Update
#evalP_update_smulLet be a tensor species over a field and be a sequence of colors, where denotes the vector space associated with color . Let be a pure tensor of type , representing the family of vectors where . For any indices , a basis index for the vector space , a scalar , and a vector , the evaluation of the -th index at basis index is homogeneous with respect to scalar multiplication in the -th component: where denotes the pure tensor obtained by replacing the -th component of with , and is the rank- tensor defined by , where is the -th coordinate of with respect to the basis of .
Multilinear map for the evaluation of the -th index at basis index
#evalPMultilinearLet be a tensor species over a field and be a sequence of colors. For a fixed index and a basis index for the vector space (the space associated with color ), the function `evalPMultilinear i b` is the multilinear map from the product of vector spaces to the space of tensors of rank with the color sequence (where the -th color is omitted). Given a tuple of vectors , the map is defined by: \[ (v_0, \dots, v_n) \mapsto (v_i)_b \cdot (v_0 \otimes \dots \otimes v_{i-1} \otimes v_{i+1} \otimes \dots \otimes v_n) \] where is the -th coordinate of the vector with respect to the basis of provided by the tensor species .
-linear map for the evaluation of the -th tensor index at basis index
#evalTLet be a tensor species over a field and be a sequence of colors. For a fixed index and a basis index for the vector space associated with the color , the -linear map maps a tensor to a tensor of rank with the color sequence (the original sequence with the -th element omitted). This map is defined as the linear extension of the multilinear evaluation map, which acts on a pure tensor as: \[ v_0 \otimes \dots \otimes v_n \mapsto (v_i)_b \cdot (v_0 \otimes \dots \otimes v_{i-1} \otimes v_{i+1} \otimes \dots \otimes v_n) \] where is the -th coordinate of the vector with respect to the basis of provided by the tensor species .
Let be a tensor species over a field and be a sequence of colors. For any index , any basis index for the vector space associated with the color , and any pure tensor (representing the tuple of vectors ), the -linear evaluation map applied to the tensor is equal to the direct evaluation of the pure tensor . That is, \[ \text{evalT } i \, b (p.\text{toTensor}) = \text{evalP } i \, b \, p \] where is the image of the vectors in the tensor product space, and is defined as .
