Physlib

Physlib.Mathematics.KroneckerDelta.Contraction

Contraction identities for the generalized Kronecker delta

i. Overview

This file proves the combinatorial contraction facts for the `generalizedKroneckerDelta` (defined in `Physlib.Mathematics.KroneckerDelta.Basic`). Everything here is purely about the abstract generalized Kronecker delta on a finite type; no tensor or physics content appears. These facts are the reusable backbone of the Levi-Civita epsilon-epsilon contraction identities proved in `Physlib.Relativity.Tensors.LeviCivita.Contractions`.

The central fact is that summing a `generalizedKroneckerDelta` over one shared index lowers its rank by one and multiplies it by `card α - n` (`generalizedKroneckerDelta_sum_snoc`). Iterating that fact, together with the product identity `generalizedKroneckerDelta μ ν = generalizedKroneckerDelta μ id * generalizedKroneckerDelta ν id` (`generalizedKroneckerDelta_mul`), gives the fully-, singly-, and doubly-free contractions `sum_generalizedKroneckerDelta_self`, `sum_generalizedKroneckerDelta_cons`, and `sum_generalizedKroneckerDelta_cons₂` over `Fin 4`.

The proof of `generalizedKroneckerDelta_sum_snoc` borders the delta matrix with the appended index (a Schur-complement reduction) and then applies the ring-general rank-one determinant update lemma `Matrix.det_add_rankOne`, which is proved here because Mathlib only provides the matrix determinant lemma when `det A` is a unit and Kronecker-delta matrices are singular.

ii. Key results

- `generalizedKroneckerDelta_sum_snoc` : summing over one shared index lowers the rank by one. - `sum_generalizedKroneckerDelta_mul_self`, `sum_generalizedKroneckerDelta_mul_cons`, `sum_generalizedKroneckerDelta_mul_cons₂` : the fully-, singly-, and doubly-free symbol-level contractions over `Fin 4`.

iii. Table of contents

  • A. The rank-one determinant update
  • B. Contraction identities

iv. References

A. The rank-one determinant update

B. Contraction identities

8 declarations

theorem

δidμδidν=δνμ\delta^\mu_{\text{id}} \cdot \delta^\nu_{\text{id}} = \delta^\mu_\nu

Let α\alpha be a finite type. For any maps μ,ν:αα\mu, \nu : \alpha \to \alpha, the generalized Kronecker delta δνμ\delta^\mu_\nu is defined as the determinant of the matrix whose (i,j)(i, j) entry is the Kronecker delta δμ(i),ν(j)\delta_{\mu(i), \nu(j)}. The product of two such deltas where the bottom index is the identity map id\text{id} on α\alpha satisfies: δidμδidν=δνμ\delta^\mu_{\text{id}} \cdot \delta^\nu_{\text{id}} = \delta^\mu_\nu This is the abstract functional form of the identity relating the product of two Levi-Civita symbols to a generalized Kronecker delta: ϵμ1μnϵν1νn=δν1νnμ1μn\epsilon^{\mu_1 \dots \mu_n} \epsilon_{\nu_1 \dots \nu_n} = \delta^{\mu_1 \dots \mu_n}_{\nu_1 \dots \nu_n}

theorem

Contraction of the Generalized Kronecker Delta: aδν,aμ,a=(αn)δνμ\sum_{a} \delta^{\mu, a}_{\nu, a} = (|\alpha| - n) \delta^{\mu}_{\nu}

Let α\alpha be a finite set. For any two sequences of indices μ,ν\mu, \nu of length nn in α\alpha, the generalized Kronecker delta δν1νnμ1μn\delta^{\mu_1 \dots \mu_n}_{\nu_1 \dots \nu_n} satisfies the following contraction identity when summing over a shared index aαa \in \alpha appended to the end of both sequences: aαδν1νnaμ1μna=(αn)δν1νnμ1μn\sum_{a \in \alpha} \delta^{\mu_1 \dots \mu_n a}_{\nu_1 \dots \nu_n a} = (|\alpha| - n) \delta^{\mu_1 \dots \mu_n}_{\nu_1 \dots \nu_n} where α|\alpha| is the cardinality of the set α\alpha.

theorem

Full contraction h(Fin 4)kδhh=j=0k1(4j)\sum_{h \in (\text{Fin } 4)^k} \delta^h_h = \prod_{j=0}^{k-1} (4 - j)

For any natural number kk, let hh be a sequence of kk indices (h1,,hk)(h_1, \dots, h_k) where each hih_i takes values in a 4-dimensional set (represented by Fin 4\text{Fin } 4). The total contraction of the generalized Kronecker delta over all such sequences is given by the product: h(Fin 4)kδh1hkh1hk=j=0k1(4j)\sum_{h \in (\text{Fin } 4)^k} \delta^{h_1 \dots h_k}_{h_1 \dots h_k} = \prod_{j=0}^{k-1} (4 - j) where the generalized Kronecker delta δh1hkh1hk\delta^{h_1 \dots h_k}_{h_1 \dots h_k} is defined as the determinant of the k×kk \times k matrix whose (i,j)(i, j)-th entry is the standard Kronecker delta δhihj\delta_{h_i h_j}.

theorem

Single contraction of the generalized Kronecker delta in dimension 4

Let σ,τ{0,1,2,3}\sigma, \tau \in \{0, 1, 2, 3\} be indices in a 4-dimensional space. For any natural number kk, summing the generalized Kronecker delta over kk shared indices h=(h1,,hk){0,1,2,3}kh = (h_1, \dots, h_k) \in \{0, 1, 2, 3\}^k yields: h{0,1,2,3}kδτh1hkσh1hk=(j=0k1(3j))δστ\sum_{h \in \{0, 1, 2, 3\}^k} \delta^{\sigma h_1 \dots h_k}_{\tau h_1 \dots h_k} = \left( \prod_{j=0}^{k-1} (3 - j) \right) \delta_{\sigma \tau} where δστ\delta_{\sigma \tau} is the standard Kronecker delta, and the generalized Kronecker delta is defined as the determinant of the matrix of Kronecker deltas of the respective indices.

theorem

Double contraction of the generalized Kronecker delta over kk indices

For any indices ρ,σ,τ,ω{0,1,2,3}\rho, \sigma, \tau, \omega \in \{0, 1, 2, 3\} and any natural number kk, the sum of the (k+2)(k+2)-indexed generalized Kronecker delta over kk shared indices h1,,hkh_1, \dots, h_k (where each hi{0,1,2,3}h_i \in \{0, 1, 2, 3\}) is given by: h1,,hk=03δτωh1hkρσh1hk=(j=0k1(2j))δτωρσ\sum_{h_1, \dots, h_k = 0}^3 \delta^{\rho \sigma h_1 \dots h_k}_{\tau \omega h_1 \dots h_k} = \left( \prod_{j=0}^{k-1} (2 - j) \right) \delta^{\rho \sigma}_{\tau \omega} where δτωρσ\delta^{\rho \sigma}_{\tau \omega} is the 2×22 \times 2 generalized Kronecker delta, defined as δτρδωσδωρδτσ\delta^\rho_\tau \delta^\sigma_\omega - \delta^\rho_\omega \delta^\sigma_\tau.

theorem

The full contraction of the generalized Kronecker delta over Fin 4\text{Fin } 4 equals 2424

The sum over all mappings g:Fin 4Fin 4g: \text{Fin } 4 \to \text{Fin } 4 of the square of the generalized Kronecker delta δidg\delta^{g}_{\text{id}} is equal to 2424. Mathematically, this is expressed as: g:Fin 4Fin 4(δ0123g0g1g2g3)2=24\sum_{g : \text{Fin } 4 \to \text{Fin } 4} \left( \delta^{g_0 g_1 g_2 g_3}_{0 1 2 3} \right)^2 = 24 where the generalized Kronecker delta δ0123g0g1g2g3\delta^{g_0 g_1 g_2 g_3}_{0 1 2 3} is defined as the determinant of the 4×44 \times 4 matrix whose (i,j)(i, j)-th entry is the Kronecker delta δgi,j\delta_{g_i, j}.

theorem

Triple contraction of generalized Kronecker deltas in Fin 4\text{Fin } 4 equals 6δστ6 \delta_{\sigma \tau}

For any indices σ,τ{0,1,2,3}\sigma, \tau \in \{0, 1, 2, 3\}, let δν1ν2ν3ν4μ1μ2μ3μ4\delta^{\mu_1 \mu_2 \mu_3 \mu_4}_{\nu_1 \nu_2 \nu_3 \nu_4} denote the generalized Kronecker delta and δστ\delta_{\sigma \tau} denote the standard Kronecker delta. Summing over the three shared indices h1,h2,h3{0,1,2,3}h_1, h_2, h_3 \in \{0, 1, 2, 3\}, the following identity holds: h1,h2,h3=03δ0123σh1h2h3δ0123τh1h2h3=6δστ\sum_{h_1, h_2, h_3 = 0}^{3} \delta^{\sigma h_1 h_2 h_3}_{0 1 2 3} \delta^{\tau h_1 h_2 h_3}_{0 1 2 3} = 6 \delta_{\sigma \tau} Here, the lower indices (0,1,2,3)(0, 1, 2, 3) correspond to the identity sequence on Fin 4\text{Fin } 4.

theorem

Double contraction of generalized Kronecker deltas over Fin 4\text{Fin } 4 equals 2(δρτδσωδρωδστ)2(\delta_{\rho\tau} \delta_{\sigma\omega} - \delta_{\rho\omega} \delta_{\sigma\tau})

For any indices ρ,σ,τ,ω\rho, \sigma, \tau, \omega in the set {0,1,2,3}\{0, 1, 2, 3\}, the sum over all possible sequences h=(h0,h1)h = (h_0, h_1) where hi{0,1,2,3}h_i \in \{0, 1, 2, 3\} of the product of two generalized Kronecker deltas is given by: h0,h1=03δ0,1,2,3ρ,σ,h0,h1δ0,1,2,3τ,ω,h0,h1=2(δρτδσωδρωδστ)\sum_{h_0, h_1=0}^3 \delta^{\rho, \sigma, h_0, h_1}_{0, 1, 2, 3} \delta^{\tau, \omega, h_0, h_1}_{0, 1, 2, 3} = 2 (\delta_{\rho\tau} \delta_{\sigma\omega} - \delta_{\rho\omega} \delta_{\sigma\tau}) where δν1νnμ1μn\delta^{\mu_1 \dots \mu_n}_{\nu_1 \dots \nu_n} is the generalized Kronecker delta (defined as the determinant of the n×nn \times n matrix with entries δμiνj\delta_{\mu_i \nu_j}) and δij\delta_{ij} is the standard Kronecker delta which equals 11 if i=ji=j and 00 otherwise.