Physlib.Mathematics.LeviCivita.Basic
The Levi-Civita symbol in general dimension
i. Overview
This module defines the Levi-Civita symbol `leviCivitaSymbol` on a general finite index type `ι`: for `g : ι → ι` it is the sign of `g` when `g` is a permutation and `0` otherwise. Taking `ι = Fin d` gives the Levi-Civita symbol `ε_{i₁ ⋯ i_d}` in dimension `d`, normalized by `ε_{0 1 ⋯ (d-1)} = 1`.
The definition is the `generalizedKroneckerDelta` of `g` against the identity, i.e. the determinant of the matrix of Kronecker deltas `δ[g i, j]`, so the basic properties are inherited from the determinant: the value `1` on the identity, antisymmetry under transposition of two indices, vanishing on repeated indices, and the sign of a permutation via `Matrix.det_permutation`.
ii. Key results
- `leviCivitaSymbol` : the Levi-Civita symbol on a finite index type, valued in `ℤ`.
- `leviCivitaSymbol_id` : the normalization `ε_{0 1 ⋯ (d-1)} = 1`.
- `leviCivitaSymbol_perm` : on a permutation `σ` the symbol is the sign of `σ`.
- `leviCivitaSymbol_comp_swap` : antisymmetry under transposition of two indices.
- `leviCivitaSymbol_swap_comp` : antisymmetry under transposition of two index values.
- `leviCivitaSymbol_eq_zero_iff` : the symbol vanishes exactly on repeated indices.
iii. Table of contents
- A. Definition
- B. Value on permutations
- C. Antisymmetry
- D. Vanishing on repeated indices
iv. References
- https://en.wikipedia.org/wiki/Levi-Civita_symbol
A. Definition
B. Value on permutations
C. Antisymmetry
D. Vanishing on repeated indices
9 declarations
Levi-Civita symbol
For a finite index set and a map , the Levi-Civita symbol is the integer defined as the generalized Kronecker delta of and the identity map . It is given by the determinant of the matrix whose -th entry is the Kronecker delta : The value is equal to the sign of the permutation if is a permutation, and otherwise. In the specific case where , this corresponds to the components of the -dimensional Levi-Civita tensor .
Let be a finite index set. For any map , the Levi-Civita symbol is equal to the determinant of the matrix whose -th entry is the Kronecker delta : where is if and otherwise.
For any finite index set , let be the identity map. The Levi-Civita symbol of the identity map is : This corresponds to the normalization of the symbol in dimensions, .
The Levi-Civita symbol of a permutation is equal to its sign
For a finite index set and a permutation of , the Levi-Civita symbol is equal to the sign of the permutation , considered as an integer in .
for distinct
Let be a finite index set and be a map. For any two distinct indices , the Levi-Civita symbol is antisymmetric under the transposition of these indices: where is the permutation that swaps and and leaves all other elements of fixed.
for the Levi-Civita symbol
Let be a finite index set and be a map. For any two distinct elements , let denote the transposition (swap) of and . The Levi-Civita symbol is antisymmetric under post-composition with this transposition: This means that swapping two distinct index values wherever they occur in the map negates the value of the Levi-Civita symbol.
The Levi-Civita symbol if has repeated indices
Let be a finite index set and be a map. If there exist two distinct indices such that and , then the Levi-Civita symbol vanishes (i.e., ).
The Levi-Civita symbol if is not injective
Let be a finite index set and be a map. If is not injective, then the Levi-Civita symbol is equal to .
is not injective
Let be a finite index set and be a map. The Levi-Civita symbol is equal to if and only if is not an injective function (which, for a map from a finite set to itself, is equivalent to having at least one repeated index).
