All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Eq sum eval T zero

TensorSpecies.Tensor.eq_sum_evalT_zero

Plain-language statement

Reconstruction of a tensor from the evaluations of its first index: every t : Tensor S c is the sum over basis indices i of the basis covector basis ![c 0] (single.symm i) tensored with the evaluation evalT 0 i t, with the prepended index permuted back into the first slot. This is the first-index analogue of eq_sum_evalT.

Exact Lean statement

lemma eq_sum_evalT_zero {n : ℕ} {c : Fin (n + 1) → C} (t : Tensor S c) :
    t = ∑ i, permT _ (IsReindexing.append_of_first c)
    (prodT (basis ![c 0] (ComponentIdx.single.symm i)) (evalT 0 i t))

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma eq_sum_evalT_zero {n : } {c : Fin (n + 1)  C} (t : Tensor S c) :    t = ∑ i, permT _ (IsReindexing.append_of_first c)    (prodT (basis ![c 0] (ComponentIdx.single.symm i)) (evalT 0 i t))  := by  induction' t using Tensor.induction_on_basis with b a t h t1 t2 h1 h2  · conv_rhs => enter [2, i]; rw [evalT_basis]    generalize_proofs h1 h2 h3    rw [Finset.sum_eq_single (b 0)]    · simp only [↓reduceIte]      rw [prodT_basis, basis_apply, permT_pure]      congr      funext i      simp only [Pure.basisVector, Pure.permP_basisVector]      congr      refine Fin.cases ?_ (fun j => ?_) i      · simp only [ComponentIdx.prod, Equiv.coe_fn_symm_mk, Fin.cast_zero, Fin.addCases,          ComponentIdx.single_symm_apply, basisIdxCongr_apply_apply]        exact ComponentIdx.congr_right b 0 0 rfl      · simp only [ComponentIdx.prod, Equiv.coe_fn_symm_mk, Fin.addCases]        rw [dif_neg (by simp)]        simp only [eqRec_eq_cast, basisIdxCongr, Equiv.cast_apply, cast_cast]        symm        rw [cast_eq_iff_heq]        congr 1    · intro j h1 h1      rw [if_neg (by grind)]      simp    · simp  · simp  · conv_lhs => rw [h]    simp [Finset.smul_sum]  · simp [Finset.sum_add_distrib]    grind
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Relativity/Tensors/Evaluation.lean:398-429

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

Project-declaredLean 4.32.0

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.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

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.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record