Physlib

Physlib.Relativity.Tensors.ComponentIdx.Product

Products of component indices

i. Overview

This file contains the component-index API induced by appending two lists of tensor colors.

The main construction identifies component indices for appended color lists with pairs of component indices for each side of the append.

ii. Key results

- `TensorSpecies.Tensor.ComponentIdx.prod` is the equivalence between `ComponentIdx (Fin.append c c1)` and `ComponentIdx c × ComponentIdx c1`.

iii. Table of contents

  • A. Product equivalence

iv. References

There are no known references for the material in this module.

A. Product equivalence

2 declarations

theorem

The (n1+i)(n_1+i)-th entry of the concatenated multi-index (p,q)(p, q) equals qiq_i

Let cc and c1c_1 be sequences of tensor colors of lengths n1n_1 and n2n_2, respectively. Let p=(p0,,pn11)p = (p_0, \dots, p_{n_1-1}) be a component index (multi-index) for cc, and let q=(q0,,qn21)q = (q_0, \dots, q_{n_2-1}) be a component index for c1c_1. The equivalence `ComponentIdx.prod` identifies the pair (p,q)(p, q) with a component index bb for the concatenated color sequence c+ ⁣+c1c \mathbin{+\!+} c_1. This theorem states that for any index i{0,,n21}i \in \{0, \dots, n_2-1\}, the value of the concatenated component index bb at the shifted position n1+in_1 + i is equal to qiq_i.

theorem

The ii-th component of the product index prod.symm(p,q)\text{prod.symm}(p, q) is pip_i for i<n1i < n_1

Let c:{0,,n11}Cc: \{0, \dots, n_1-1\} \to C and c1:{0,,n21}Cc_1: \{0, \dots, n_2-1\} \to C be sequences of index colors. Let pp and qq be component indices (multi-indices) for cc and c1c_1, respectively. The product equivalence provides a map prod.symm\text{prod.symm} that takes the pair (p,q)(p, q) and returns a combined multi-index for the concatenated color sequence c+ ⁣+c1c \mathbin{+\!+} c_1. This theorem states that for any index i{0,,n11}i \in \{0, \dots, n_1-1\}, the value of this combined multi-index at position ii is equal to the ii-th component of pp.