Physlib.Relativity.Tensors.RealTensor.Metrics.Pre
8 declarations
Expansion of in Basis Vectors
#preContrMetricVal_expand_tmulFor any natural number , the contravariant Minkowski metric tensor value can be expanded in terms of the contravariant basis vectors as: where is the time-like basis vector (defined as `contrBasis d (Sum.inl 0)`) and are the spatial basis vectors (defined as `contrBasis d (Sum.inr i)` for ). The operator denotes the tensor product over .
For any natural number , the contravariant Minkowski metric tensor value can be expanded as the sum over all indices of the diagonal entries of the Minkowski matrix multiplied by the tensor product of the corresponding basis vectors with themselves: where are the diagonal entries of the -dimensional Minkowski matrix (represented by `minkowskiMatrix i i`), are the contravariant basis vectors (represented by `contrBasis d i`), and denotes the tensor product over .
For any natural number , the evaluation of the linear map representing the contravariant Lorentz metric at the scalar is equal to the contravariant metric tensor value .
Expansion of the Covariant Minkowski Metric in the Dual Basis
#preCoMetricVal_expand_tmulFor any natural number , the covariant Minkowski metric tensor value in dimensions (denoted by `preCoMetricVal d`) can be expressed in terms of the dual basis vectors (denoted by `coBasis d`). Specifically, the metric tensor is the difference between the tensor product of the temporal basis vector with itself and the sum of the tensor products of the spatial basis vectors with themselves: where corresponds to the index `Sum.inl 0` and corresponds to the index `Sum.inr i`.
For any natural number , the covariant Minkowski metric tensor in dimensions (denoted by `preCoMetricVal d`) is equal to the sum over all indices of the diagonal elements of the Minkowski matrix (denoted by `minkowskiMatrix i i`) multiplied by the tensor product of the -th dual basis vector (denoted by `coBasis d i`) with itself:
The value of at is
#preCoMetric_apply_oneFor any natural number , applying the covariant metric map to the real number yields the covariant metric tensor value .
In -dimensional Minkowski spacetime, let denote the contravariant metric tensor and denote the covariant metric tensor. When the tensor product of these two metrics is formed and the second index of the contravariant metric is contracted with the first index of the covariant metric, the resulting tensor (after swapping the remaining indices) is the Kronecker delta , which represents the identity tensor in the representation . In component notation, this expresses the identity: \[ \sum_{\rho} \eta^{\mu\rho} \eta_{\rho\sigma} = \delta^\mu_\sigma \]
Contraction of metrics
#coContrContract_apply_metricFor any dimension , let be the covariant Minkowski metric tensor (represented by `preCoMetric d`) and be the contravariant Minkowski metric tensor (represented by `preContrMetric d`). The theorem states that if one takes the tensor product of these two metrics and contracts the second index of the covariant metric with the first index of the contravariant metric (using the morphism `coContrContract`), the resulting tensor—after reordering the remaining indices via the braiding map —is the identity tensor (represented by `preContrCoUnit d`). In standard index notation, this corresponds to the identity: where is the Kronecker delta.
