All proofs
Project-declaredLean 4.32.0 ยท mathlib@81a5d257c8e4

Is Extrema iff vector Potential

Electromagnetism.DistElectromagneticPotential.isExtrema_iff_vectorPotential

Project documentation

The proposition on an electromagnetic potential, corresponding to the statement that it is an extrema of the lagrangian. -/ def IsExtrema {d} (๐“• : FreeSpace) (A : DistElectromagneticPotential d) (J : DistLorentzCurrentDensity d) : Prop := A.gradLagrangian ๐“• J = 0 lemma isExtrema_iff_gradLagrangian {๐“• : FreeSpace} (A : DistElectromagneticPotential d) (J...

Exact Lean statement

lemma isExtrema_iff_vectorPotential {๐“• : FreeSpace}
    (A : DistElectromagneticPotential d)
    (J : DistLorentzCurrentDensity d) :
    IsExtrema ๐“• A J โ†”
      (โˆ€ ฮต, distSpaceDiv (A.electricField ๐“•.c) ฮต = (1/๐“•.ฮตโ‚€) * (J.chargeDensity ๐“•.c) ฮต) โˆง
      (โˆ€ ฮต i, ๐“•.ฮผโ‚€ * ๐“•.ฮตโ‚€ * distTimeDeriv (A.electricField ๐“•.c) ฮต i -
      (โˆ‘ x, -(distSpaceDeriv x (distSpaceDeriv x (A.vectorPotential ๐“•.c)) ฮต i
        - distSpaceDeriv x (distSpaceDeriv i (A.vectorPotential ๐“•.c)) ฮต x)) +
      ๐“•.ฮผโ‚€ * J.currentDensity ๐“•.c ฮต i = 0)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma isExtrema_iff_vectorPotential {๐“• : FreeSpace}    (A : DistElectromagneticPotential d)    (J : DistLorentzCurrentDensity d) :    IsExtrema ๐“• A J โ†”      (โˆ€ ฮต, distSpaceDiv (A.electricField ๐“•.c) ฮต = (1/๐“•.ฮตโ‚€) * (J.chargeDensity ๐“•.c) ฮต) โˆง      (โˆ€ ฮต i, ๐“•.ฮผโ‚€ * ๐“•.ฮตโ‚€ * distTimeDeriv (A.electricField ๐“•.c) ฮต i -      (โˆ‘ x, -(distSpaceDeriv x (distSpaceDeriv x (A.vectorPotential ๐“•.c)) ฮต i        - distSpaceDeriv x (distSpaceDeriv i (A.vectorPotential ๐“•.c)) ฮต x)) +      ๐“•.ฮผโ‚€ * J.currentDensity ๐“•.c ฮต i = 0) := by  rw [isExtrema_iff_space_time]  refine and_congr (by rfl) ?_  suffices โˆ€ ฮต i, โˆ‘ x, -(distSpaceDeriv x (distSpaceDeriv x (A.vectorPotential ๐“•.c)) ฮต i        - distSpaceDeriv x (distSpaceDeriv i (A.vectorPotential ๐“•.c)) ฮต x) =        โˆ‘ j, ((PiLp.basisFun 2 โ„ (Fin d)).tensorProduct (PiLp.basisFun 2 โ„ (Fin d))).repr          ((Space.distSpaceDeriv j (A.magneticFieldMatrix ๐“•.c)) ฮต) (j, i) by    conv_lhs => enter [2, 2]; rw [โ† this]  intro ฮต i  congr  funext j  rw [magneticFieldMatrix_distSpaceDeriv_basis_repr_eq_vector_potential]  ring
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Distributional/Dynamics/IsExtrema.lean:149-169

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