All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

To Field Strength of Gradient

Electromagnetism.ElectromagneticPotential.toFieldStrength_ofGradient

Plain-language statement

A pure-gauge potential has vanishing field strength.

Exact Lean statement

lemma toFieldStrength_ofGradient {d} {χ : SpaceTime d → ℝ} (hχ : ContDiff ℝ 2 χ)
    (x : SpaceTime d) : (ofGradient χ).toFieldStrength x = 0

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma toFieldStrength_ofGradient {d} {χ : SpaceTime d  } (hχ : ContDiff  2 χ)    (x : SpaceTime d) : (ofGradient χ).toFieldStrength x = 0 := by  apply (Lorentz.CoVector.basis.tensorProduct Lorentz.Vector.basis).repr.injective  apply Finsupp.ext  intro μν  simp only [toFieldStrength_basis_repr_apply_eq_single]  rw [SpaceTime.deriv_apply_eq μν.1 μν.2 (ofGradient χ) (differentiable_ofGradient hχ),    SpaceTime.deriv_apply_eq μν.2 μν.1 (ofGradient χ) (differentiable_ofGradient hχ)]  simp only [ofGradient_apply]  rw [fderiv_const_mul (SpaceTime.differentiable_deriv μν.1 χ hχ).differentiableAt,    fderiv_const_mul (SpaceTime.differentiable_deriv μν.2 χ hχ).differentiableAt]  simp only [FunLike.coe_smul, Pi.smul_apply, smul_eq_mul]  -- simplify repr 0 to 0  conv_rhs => rw [show (Lorentz.CoVector.basis.tensorProduct Lorentz.Vector.basis).repr      (0 : Lorentz.Vector d ⊗[] Lorentz.Vector d) = 0 from map_zero _]  simp only [Finsupp.zero_apply]  -- use Clairaut: ∂_ μ (∂_ ν χ) x = ∂_ ν (∂_ μ χ) x, so the two terms cancel  have heq : fderiv  (∂_ μν.2 χ) x (Lorentz.Vector.basis μν.1) =      fderiv  (∂_ μν.1 χ) x (Lorentz.Vector.basis μν.2) := by    change ∂_ μν.1 (∂_ μν.2 χ) x = ∂_ μν.2 (∂_ μν.1 χ) x    rw [ SpaceTime.deriv_commute μν.2 μν.1 χ hχ]  rw [heq]  ring
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Kinematics/GaugeTransformation.lean:162-184

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