All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Free Current Potential has Var Gradient At

Electromagnetism.ElectromagneticPotential.freeCurrentPotential_hasVarGradientAt

Project documentation

The potential energy from the interaction of the electromagnetic potential with the free current J. -/ noncomputable def freeCurrentPotential (A : ElectromagneticPotential d) (J : LorentzCurrentDensity d) (x : SpaceTime d) : ℝ := ⟪A x, J x⟫ₘ /-! ### A.1. Shifts in the free current potential under shifts in the potential -/ lemma freeCurrentPotential_add...

Exact Lean statement

lemma freeCurrentPotential_hasVarGradientAt (A : ElectromagneticPotential d)
    (hA : ContDiff ℝ ∞ A) (J : LorentzCurrentDensity d)
    (hJ : ContDiff ℝ ∞ J) :
    HasVarGradientAt (fun A => freeCurrentPotential ⟨A⟩ J)
    (((∑ μ, fun x => (η μ μ * J x μ) • Lorentz.Vector.basis μ))) A

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma freeCurrentPotential_hasVarGradientAt (A : ElectromagneticPotential d)    (hA : ContDiff  ∞ A) (J : LorentzCurrentDensity d)    (hJ : ContDiff  ∞ J) :    HasVarGradientAt (fun A => freeCurrentPotential A J)    (((∑ μ, fun x => (η μ μ * J x μ) • Lorentz.Vector.basis μ))) A := by  conv =>    enter [1, q', x]    rw [freeCurrentPotential, minkowskiProduct_toCoord_minkowskiMatrix]  apply HasVarGradientAt.sum _ hA  intro μ  have h1 := hasVarAdjDerivAt_component μ A hA  have h2' : ContDiff fun x => η μ μ * J x μ :=    ContDiff.mul (by fun_prop) ((Lorentz.Vector.contDiff_apply _).mpr hJ μ)  have h2 := HasVarAdjDerivAt.fun_mul h2' _ _ A h1  have h3' : (fun (φ : SpaceTime d  Lorentz.Vector d) x => η μ μ * J x μ * φ x μ) =    (fun (φ : SpaceTime d  Lorentz.Vector d) x => η μ μ * φ x μ * J x μ) := by    funext φ x    ring  rw [h3'] at h2  apply HasVarGradientAt.intro _ h2  simp
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Dynamics/Lagrangian.lean:111-131

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