All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Tensor Deriv eval eq

Electromagnetism.ElectromagneticPotential.tensorDeriv_eval_eq

Plain-language statement

Evaluation of the tensor components of ∂_ μ A x ν.

Exact Lean statement

lemma tensorDeriv_eval_eq {d} {A : ElectromagneticPotential d} (hA : Differentiable ℝ A)
    (x : SpaceTime d) (μ ν : Fin 1 ⊕ Fin d) :
    toField {tensorDeriv A.val x | [μ] [ν]}ᵀ = ∂_ μ A x ν

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma tensorDeriv_eval_eq {d} {A : ElectromagneticPotential d} (hA : Differentiable  A)    (x : SpaceTime d) (μ ν : Fin 1Fin d) :    toField {tensorDeriv A.val x | [μ] [ν]}ᵀ = ∂_ μ A x ν := by  trans (Lorentz.CoVector.basis.tensorProduct Lorentz.Vector.basis).repr (deriv A x) (μ, ν); swap  · simp [deriv, Basis.tensorProduct_repr_tmul_apply, Finsupp.single_apply]  rw [deriv_eq_tensorDeriv _ hA]  generalize (tensorDeriv A.val x) = t  obtain t, rfl := toTensor.symm.surjective t  induction' t using Tensor.induction_on_basis with b a t h t1 t2 h1 h2  · simp only [LinearEquiv.apply_symm_apply, basis_apply, evalT_pure, Pure.evalP, map_smul,      toField_pure, smul_eq_mul, mul_one, Pure.evalPCoeff]    change _ * (Lorentz.contrBasis d).repr (Lorentz.contrBasis d (b 1)) ν = _    /- Transforming the basis -/    let e : ComponentIdx (Fin.append ![Color.down] ![Color.up])      ≃ (Fin 1Fin d) × (Fin 1Fin d) := ComponentIdx.prod.trans <|      Lorentz.CoVector.indexEquiv.prodCongr Lorentz.Vector.indexEquiv    have h1 : Lorentz.CoVector.basis.tensorProduct Lorentz.Vector.basis =        (((Tensor.basis (Fin.append ![Color.down] ![Color.up]))).map toTensor.symm).reindex e := by      ext i, j      simp_rw [Tensorial.basis_map_prod, Basis.tensorProduct_apply,         Lorentz.Vector.toTensor_symm_basis,  Lorentz.CoVector.toTensor_symm_basis, e]      simp    simp [Pure.basisVector, h1, Finsupp.single_apply]    by_cases hμ : b 0 = μ <;> by_cases hν : b 1 = ν <;>    simp_all [Equiv.eq_symm_apply, show e b = (b 0, b 1) from rfl]  · simp only [map_zero, Finsupp.coe_zero, Pi.zero_apply]  · simp only [map_smul, h, smul_eq_mul, Finsupp.coe_smul, Pi.smul_apply]  · simp only [map_add, h1, h2, Finsupp.coe_add, Pi.add_apply]
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Kinematics/EMPotential.lean:568-595

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