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
Invariance of under the index equivalence
Let be the equivalence (denoted as `finSumFinEquiv`) that maps the direct sum of finite types to a single finite type. For any elements , the Kronecker delta satisfies the identity .
Generalized Kronecker delta
For a type with decidable equality and a finite index set , given two sequences of indices , the generalized Kronecker delta is defined as the determinant of the matrix whose -th entry is the Kronecker delta . Mathematically, this is expressed as: where is the cardinality of the index set .
Let be a type with decidable equality and be a finite index set. Given two sequences of indices , the generalized Kronecker delta is defined as the determinant of the matrix whose -th entry is the Kronecker delta . For any two distinct indices , swapping the values in the upper index sequence at positions and negates the value of the generalized Kronecker delta: where denotes the transposition (swap) of and . This property follows from the fact that swapping two indices in corresponds to a row transposition in the underlying determinant.
