Sum generalized Kronecker Delta self
sum_generalizedKroneckerDelta_self
Plain-language statement
Full contraction. Iterating the snoc contraction over all four indices: ∑_f δ^{f}_{f} = 4!. Here f ranges over all maps Fin 4 → Fin 4.
Exact Lean statement
lemma sum_generalizedKroneckerDelta_self (k : ℕ) :
∑ h : Fin k → Fin 4, generalizedKroneckerDelta h h
= ∏ j ∈ Finset.range k, ((4 : ℤ) - j)Formal artifact
Lean source
lemma sum_generalizedKroneckerDelta_self (k : ℕ) : ∑ h : Fin k → Fin 4, generalizedKroneckerDelta h h = ∏ j ∈ Finset.range k, ((4 : ℤ) - j) := by induction k with | zero => rw [Finset.prod_range_zero, Fintype.sum_unique] exact Matrix.det_fin_zero | succ k ih => rw [sum_over_snoc] have hstep : ∀ h' : Fin k → Fin 4, ∑ c : Fin 4, generalizedKroneckerDelta (Fin.snoc h' c) (Fin.snoc h' c) = ((4 : ℤ) - k) * generalizedKroneckerDelta h' h' := by intro h' rw [generalizedKroneckerDelta_sum_snoc h' h', Fintype.card_fin] push_cast ring rw [Finset.sum_congr rfl fun h' _ => hstep h', ← Finset.mul_sum, ih, Finset.prod_range_succ] ring- Project
- Physlib
- License
- Apache-2.0
- Commit
- dd43e9e65791
- Source
- Physlib/Mathematics/KroneckerDelta/Contraction.lean:214-232
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Adiabatic relation log
adiabatic_relation_log
Plain-language statement
Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.
Source project: Physlib
Person-level attribution pending.
Adiabatic relation Ua Ub Va Vb
adiabatic_relation_UaUbVaVb
Plain-language statement
Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.
Source project: Physlib
Person-level attribution pending.
Deriv Within mean Energy Beta eq neg variance
CanonicalEnsemble.derivWithin_meanEnergy_Beta_eq_neg_variance
Plain-language statement
(∂U/∂β) = -Var(E) for finite systems.
Source project: Physlib
Person-level attribution pending.