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 formdet (δ[μᵢ, νⱼ]).
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 #
- None.
A. The Kronecker delta #
The Kronecker delta function, ite (i = j) 1 0.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The Kronecker delta is invariant under the component-index equivalence finSumFinEquiv.
B. Conditions for smul to vanish #
C. Symmetrization #
D. Sums #
E. The generalized Kronecker delta #
Generalized Kronecker delta:
δ^{μ₁...μₙ}_{ν₁...νₙ} = det (δ[μᵢ, νⱼ]).
This is defined for any finite type α with decidable equality.
Equations
- KroneckerDelta.generalizedKroneckerDelta μ ν = Matrix.det fun (i j : ι) => (fun (ρ σ : α) => ↑δ[ρ,σ]) (μ i) (ν j)
Instances For
Swapping two of the upper indices of the generalized Kronecker delta negates it. This is one row transposition of the underlying determinant.
Simultaneously reindexing the upper and lower slots of a generalized Kronecker delta by the same permutation leaves it unchanged.