Sum generalized Kronecker Delta cons₂
sum_generalizedKroneckerDelta_cons₂
Plain-language statement
Double contraction. Contracting the last k of k+2 index pairs leaves two free pairs, with value a 2×2 generalized Kronecker delta times the factorial factor.
Exact Lean statement
lemma sum_generalizedKroneckerDelta_cons₂ (ρ σ τ ω : Fin 4) (k : ℕ) :
∑ h : Fin k → Fin 4,
generalizedKroneckerDelta (Fin.cons ρ (Fin.cons σ h)) (Fin.cons τ (Fin.cons ω h))
= (∏ j ∈ Finset.range k, ((2 : ℤ) - j))
* generalizedKroneckerDelta ![ρ, σ] ![τ, ω]Formal artifact
Lean source
lemma sum_generalizedKroneckerDelta_cons₂ (ρ σ τ ω : Fin 4) (k : ℕ) : ∑ h : Fin k → Fin 4, generalizedKroneckerDelta (Fin.cons ρ (Fin.cons σ h)) (Fin.cons τ (Fin.cons ω h)) = (∏ j ∈ Finset.range k, ((2 : ℤ) - j)) * generalizedKroneckerDelta ![ρ, σ] ![τ, ω] := by induction k with | zero => rw [Finset.prod_range_zero, one_mul, Fintype.sum_unique] have e1 : ∀ d : Fin 0 → Fin 4, (Fin.cons ρ (Fin.cons σ d) : Fin 2 → Fin 4) = ![ρ, σ] := by intro d; funext i; fin_cases i <;> rfl have e2 : ∀ d : Fin 0 → Fin 4, (Fin.cons τ (Fin.cons ω d) : Fin 2 → Fin 4) = ![τ, ω] := by intro d; funext i; fin_cases i <;> rfl rw [e1, e2] | succ k ih => rw [sum_over_snoc] have hstep : ∀ h' : Fin k → Fin 4, ∑ c : Fin 4, generalizedKroneckerDelta (Fin.cons ρ (Fin.cons σ (Fin.snoc h' c))) (Fin.cons τ (Fin.cons ω (Fin.snoc h' c))) = ((2 : ℤ) - k) * generalizedKroneckerDelta (Fin.cons ρ (Fin.cons σ h')) (Fin.cons τ (Fin.cons ω h')) := by intro h' rw [Finset.sum_congr rfl fun c _ => by rw [Fin.cons_snoc_eq_snoc_cons, Fin.cons_snoc_eq_snoc_cons, Fin.cons_snoc_eq_snoc_cons, Fin.cons_snoc_eq_snoc_cons], generalizedKroneckerDelta_sum_snoc (Fin.cons ρ (Fin.cons σ h')) (Fin.cons τ (Fin.cons ω 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:261-291
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.