PhyslibSearch

Physlib.Relativity.Tensors.ComplexTensor.OfRat

8 declarations

definition

Complex Lorentz tensor from rational coefficients

#ofRat

A semilinear map, with respect to the conversion of rational complex numbers to complex numbers, that constructs a complex Lorentz tensor CT(c)\mathbb{C}T(c) from a map specifying its components jFin(repDim(cj))RatComplexNum\prod_j \text{Fin}(\text{repDim}(c_j)) \to \text{RatComplexNum}. All complex Lorentz tensors with rational coefficients with respect to the basis are of this form.

theorem

The bb-th basis coefficient of ofRat(f)\text{ofRat}(f) is f(b)f(b) converted to C\mathbb{C}

#ofRat_basis_repr_apply

Let nNn \in \mathbb{N} and c:Fin nColorc: \text{Fin } n \to \text{Color} be a sequence of colors for a complex Lorentz tensor. Given a function f:ComponentIdx(c)RatComplexNumf: \text{ComponentIdx}(c) \to \text{RatComplexNum} that defines rational components, the representation of the complex Lorentz tensor ofRat(f)\text{ofRat}(f) with respect to the basis Tensor.basis(c)\text{Tensor.basis}(c) at a specific index bb is equal to the complex number conversion of f(b)f(b).

theorem

The basis vector bb equals ofRat\text{ofRat} applied to the indicator function δb\delta_b

#basis_eq_ofRat

Let nNn \in \mathbb{N} and c:Fin nColorc: \text{Fin } n \to \text{Color} be a sequence of colors defining a complex Lorentz tensor space. For any component index bComponentIdx(c)b \in \text{ComponentIdx}(c), the bb-th basis vector of this space, Tensor.basis(c)b\text{Tensor.basis}(c)_b, is equal to the tensor constructed by ofRat\text{ofRat} from the indicator function δb\delta_b. Specifically, \[ \text{Tensor.basis}(c)_b = \text{ofRat}(f) \] where f(b)=1f(b') = 1 if b=bb' = b and f(b)=0f(b') = 0 otherwise.

theorem

Contraction of Complex Lorentz Tensor Basis Vectors Evaluates to Kronecker Delta

#contr_basis_ratComplexNum

For a color cc of a complex Lorentz tensor, and indices ii and jj bounded by the representation dimensions of cc and τ(c)\tau(c) respectively, the contraction of the tensor product of the ii-th basis vector of cc and the jj-th basis vector of τ(c)\tau(c), when cast to the complex field, evaluates to the complex number 11 if i=ji = j, and 00 otherwise.

theorem

ofRat(f)ofRat(f1)=ofRat(ff1)\text{ofRat}(f) \otimes \text{ofRat}(f_1) = \text{ofRat}(f \otimes f_1)

#prodT_ofRat_ofRat

For any natural numbers nn and n1n_1 and sequences of colors c:Fin nColorc: \text{Fin } n \to \text{Color} and c1:Fin n1Colorc_1: \text{Fin } n_1 \to \text{Color}, let ff and f1f_1 be functions mapping tensor indices to rational complex numbers. The tensor product of the complex Lorentz tensors ofRat(f)\text{ofRat}(f) and ofRat(f1)\text{ofRat}(f_1) is equal to the tensor constructed from the product of their coefficients. Specifically, \[ \text{prodT}(\text{ofRat}(f), \text{ofRat}(f_1)) = \text{ofRat}(g) \] where g(b)=f(b1)f1(b2)g(b) = f(b_1) \cdot f_1(b_2), and (b1,b2)=ComponentIdx.prodEquiv(b)(b_1, b_2) = \text{ComponentIdx.prodEquiv}(b) is the natural decomposition of the product index bb into its constituent components for the two tensors.

theorem

Contraction of ofRat(f)\text{ofRat}(f) equals ofRat\text{ofRat} of the summed components over the dropped indices.

#contrT_ofRat_eq_sum_dropPairSection

Let nNn \in \mathbb{N} and c:Fin(n+2)Colorc: \text{Fin}(n+2) \to \text{Color} be a sequence of colors for a complex Lorentz tensor. Let i,jFin(n+2)i, j \in \text{Fin}(n+2) be distinct indices such that the color at position jj is the dual of the color at position ii (i.e., τ(ci)=cj\tau(c_i) = c_j). For any function f:ComponentIdx(c)RatComplexNumf: \text{ComponentIdx}(c) \to \text{RatComplexNum} defining rational components, the contraction of the tensor ofRat(f)\text{ofRat}(f) at indices ii and jj is equal to the tensor constructed from the coefficients: contrT(n,i,j,h,ofRat(f))=ofRat(bxDropPairSection(b)f(x)δxi,xj) \text{contrT}(n, i, j, h, \text{ofRat}(f)) = \text{ofRat} \left( b \mapsto \sum_{x \in \text{DropPairSection}(b)} f(x) \cdot \delta_{x_i, x_j} \right) where bb is a multi-index for the contracted tensor, the sum is taken over all multi-indices xx of the original tensor that reduce to bb when the ii-th and jj-th components are removed, and δxi,xj\delta_{x_i, x_j} is the Kronecker delta which evaluates to 11 if the values of the indices xx at positions ii and jj are equal, and 00 otherwise.

theorem

Contraction of ofRat(f)\text{ofRat}(f) equals the ofRat\text{ofRat} of the sum over matching indices ii and jj

#contrT_ofRat

Let nNn \in \mathbb{N} and c:Fin(n+2)Colorc: \text{Fin}(n+2) \to \text{Color} be a sequence of colors for a complex Lorentz tensor. Let i,jFin(n+2)i, j \in \text{Fin}(n+2) be distinct indices such that the color at position jj is the dual of the color at position ii (i.e., τ(ci)=cj\tau(c_i) = c_j). For any function f:ComponentIdx(c)RatComplexNumf: \text{ComponentIdx}(c) \to \text{RatComplexNum} defining the rational coefficients of a tensor, the contraction of the tensor ofRat(f)\text{ofRat}(f) at indices ii and jj is given by: contrT(n,i,j,h,ofRat(f))=ofRat(bxFin(repDim(ci))f(Φ(b,x))) \text{contrT}(n, i, j, h, \text{ofRat}(f)) = \text{ofRat} \left( b \mapsto \sum_{x \in \text{Fin}(\text{repDim}(c_i))} f(\Phi(b, x)) \right) where bb is a multi-index for the resulting contracted tensor, repDim(ci)\text{repDim}(c_i) is the dimension of the representation associated with color cic_i, and Φ(b,x)\Phi(b, x) is the multi-index for the original tensor obtained by populating the ii-th and jj-th positions with the index xx and filling the remaining positions with the components of bb.

theorem

Permutation of ofRat(f)\text{ofRat}(f) equals ofRat\text{ofRat} of reindexed components

#permT_ofRat

Let n,mn, m be natural numbers, and let c:Fin nColorc: \text{Fin } n \to \text{Color} and c1:Fin mColorc_1: \text{Fin } m \to \text{Color} be sequences of colors representing tensor signatures. Given a mapping σ:Fin mFin n\sigma: \text{Fin } m \to \text{Fin } n that satisfies the permutation condition hh, and a function f:ComponentIdx(c)RatComplexNumf: \text{ComponentIdx}(c) \to \text{RatComplexNum} that defines the rational components of a tensor, the permutation of the complex Lorentz tensor ofRat(f)\text{ofRat}(f) by σ\sigma is equal to the tensor constructed from the components of ff reindexed via the inverse mapping. Specifically, permT(σ,h,ofRat(f))=ofRat(bf(icast(b(σ1(i))))) \text{permT}(\sigma, h, \text{ofRat}(f)) = \text{ofRat} \left( b \mapsto f(i \mapsto \text{cast}(b(\sigma^{-1}(i)))) \right) where bb is a multi-index for the resulting tensor and σ1\sigma^{-1} is the inverse mapping associated with the permutation condition hh.