Physlib

Physlib.Mathematics.KroneckerDelta.Basic

Kronecker delta

i. Overview

This module defines the Kronecker delta `kroneckerDelta i j` (notation `δ[i,j]`), equal to `1` when `i = j` and `0` otherwise, together with its behaviour under scalar multiplication, symmetrization, and finite sums. It also defines the `generalizedKroneckerDelta`, the determinant of a matrix of Kronecker deltas.

ii. Key results

  • `kroneckerDelta` : the Kronecker delta on a type with decidable equality.
  • `generalizedKroneckerDelta` : the determinant form `det (δ[μᵢ, νⱼ])`.

iii. Table of contents

  • A. The Kronecker delta
  • B. Conditions for smul to vanish
  • C. Symmetrization
  • D. Sums
  • E. The generalized Kronecker delta

iv. References

A. The Kronecker delta

B. Conditions for smul to vanish

C. Symmetrization

D. Sums

E. The generalized Kronecker delta

3 declarations

theorem

Invariance of δij\delta_{ij} under the index equivalence f:Fin 1Fin 3Fin 4f: \text{Fin } 1 \oplus \text{Fin } 3 \simeq \text{Fin } 4

Let f:Fin 1Fin 3Fin 4f: \text{Fin } 1 \oplus \text{Fin } 3 \simeq \text{Fin } 4 be the equivalence (denoted as `finSumFinEquiv`) that maps the direct sum of finite types to a single finite type. For any elements a,bFin 1Fin 3a, b \in \text{Fin } 1 \oplus \text{Fin } 3, the Kronecker delta δij\delta_{ij} satisfies the identity δf(a),f(b)=δa,b\delta_{f(a), f(b)} = \delta_{a, b}.

definition

Generalized Kronecker delta δν1νnμ1μn\delta^{\mu_1 \dots \mu_n}_{\nu_1 \dots \nu_n}

For a type α\alpha with decidable equality and a finite index set ι\iota, given two sequences of indices μ,ν:ια\mu, \nu : \iota \to \alpha, the generalized Kronecker delta is defined as the determinant of the matrix whose (i,j)(i, j)-th entry is the Kronecker delta δμi,νj\delta_{\mu_i, \nu_j}. Mathematically, this is expressed as: δν1νnμ1μn=det(δμ1ν1δμ1νnδμnν1δμnνn)\delta^{\mu_1 \dots \mu_n}_{\nu_1 \dots \nu_n} = \det \begin{pmatrix} \delta_{\mu_1 \nu_1} & \dots & \delta_{\mu_1 \nu_n} \\ \vdots & \ddots & \vdots \\ \delta_{\mu_n \nu_1} & \dots & \delta_{\mu_n \nu_n} \end{pmatrix} where nn is the cardinality of the index set ι\iota.

theorem

δνμswap(i,j)=δνμ\delta^{\mu \circ \text{swap}(i, j)}_{\nu} = -\delta^{\mu}_{\nu}

Let α\alpha be a type with decidable equality and ι\iota be a finite index set. Given two sequences of indices μ,ν:ια\mu, \nu : \iota \to \alpha, the generalized Kronecker delta δνμ\delta^{\mu}_{\nu} is defined as the determinant of the matrix whose (i,j)(i, j)-th entry is the Kronecker delta δμi,νj\delta_{\mu_i, \nu_j}. For any two distinct indices i,jιi, j \in \iota, swapping the values in the upper index sequence μ\mu at positions ii and jj negates the value of the generalized Kronecker delta: δνμτi,j=δνμ\delta^{\mu \circ \tau_{i,j}}_{\nu} = -\delta^{\mu}_{\nu} where τi,j\tau_{i,j} denotes the transposition (swap) of ii and jj. This property follows from the fact that swapping two indices in μ\mu corresponds to a row transposition in the underlying determinant.