AFTD Auto-Formalizing Theoretical Domains

KroneckerDelta.symm

theoremverifiedformalizationimported Lean

KroneckerDelta.symm

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open KroneckerDelta in
variable {α M : Type*} [DecidableEq α] in
lemma KroneckerDelta.symm (i j : α) : δ[i,j] = δ[j,i]
Formalizes
Physlib, `KroneckerDelta.symm`
Lean proof
By Gregory J. Loges, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Gregory J. Loges. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
09 Oct 2026
Axioms
propext
Built on 1
Used by 2
  • leviCivitaSymbol_eq_prod_prod_IoiOn Fin n the Levi-Civita symbol is the product over pairs i < j of the sign of g j - g i. Unlike the determinant defining…
  • generalizedKroneckerDelta_mulThe product of two Levi-Civita-type symbols is a generalized Kronecker delta: δ^{μ}_{·} · δ^{ν}_{·} = δ^{μ}_{ν}, where each single…

Lean source view module on GitHub

set_option quotPrecheck false
open KroneckerDelta
@[inherit_doc]
local notation "δ[" i "," j "]" => kroneckerDelta i j

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open KroneckerDelta in
variable {α M : Type*} [DecidableEq α] in
lemma KroneckerDelta.symm (i j : α) : δ[i,j] = δ[j,i] := ite_cond_congr <| Eq.propIntro Eq.symm Eq.symm
See it in the graphDiscuss this resultChallenge it