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

Is Extrema iff gauss ampere magnetic Field Matrix

Electromagnetism.ElectromagneticPotential.isExtrema_iff_gauss_ampere_magneticFieldMatrix

Project documentation

The condition on an electromagnetic potential to be an extrema of the lagrangian. -/ def IsExtrema {d} (๐“• : FreeSpace) (A : ElectromagneticPotential d) (J : LorentzCurrentDensity d) : Prop := gradLagrangian ๐“• A J = 0 lemma isExtrema_iff_gradLagrangian {๐“• : FreeSpace} (A : ElectromagneticPotential d) (J : LorentzCurrentDensity d) : IsExtrema ๐“• A J โ†” A....

Exact Lean statement

lemma isExtrema_iff_gauss_ampere_magneticFieldMatrix {d} {๐“• : FreeSpace}
    {A : ElectromagneticPotential d}
    (hA : ContDiff โ„ โˆž A) (J : LorentzCurrentDensity d)
    (hJ : ContDiff โ„ โˆž J) :
    IsExtrema ๐“• A J โ†” โˆ€ t, โˆ€ x, (โˆ‡ โฌ (A.electricField ๐“•.c t)) x = J.chargeDensity ๐“•.c t x / ๐“•.ฮตโ‚€
    โˆง โˆ€ i, ๐“•.ฮผโ‚€ * ๐“•.ฮตโ‚€ * โˆ‚โ‚œ (fun t => A.electricField ๐“•.c t x) t i =
    โˆ‘ j, โˆ‚[j] (A.magneticFieldMatrix ๐“•.c t ยท (j, i)) x - ๐“•.ฮผโ‚€ * J.currentDensity ๐“•.c t x i

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma isExtrema_iff_gauss_ampere_magneticFieldMatrix {d} {๐“• : FreeSpace}    {A : ElectromagneticPotential d}    (hA : ContDiff โ„ โˆž A) (J : LorentzCurrentDensity d)    (hJ : ContDiff โ„ โˆž J) :    IsExtrema ๐“• A J โ†” โˆ€ t, โˆ€ x, (โˆ‡ โฌ (A.electricField ๐“•.c t)) x = J.chargeDensity ๐“•.c t x / ๐“•.ฮตโ‚€    โˆง โˆ€ i, ๐“•.ฮผโ‚€ * ๐“•.ฮตโ‚€ * โˆ‚โ‚œ (fun t => A.electricField ๐“•.c t x) t i =    โˆ‘ j, โˆ‚[j] (A.magneticFieldMatrix ๐“•.c t ยท (j, i)) x - ๐“•.ฮผโ‚€ * J.currentDensity ๐“•.c t x i := by  rw [isExtrema_iff_gradLagrangian]  rw [funext_iff]  conv_lhs =>    enter [x]    rw [gradLagrangian_eq_electricField_magneticField (๐“• := ๐“•) A hA J hJ]    simp only [Pi.zero_apply]    rw [Lorentz.Vector.sum_inl_inr_basis_eq_zero_iff]  simp only [forall_and]  apply and_congr  ยท apply Iff.intro    ยท intro h t x      specialize h ((toTimeAndSpace ๐“•.c).symm (t, x))      simp at h      linear_combination (norm := simp) (๐“•.ฮผโ‚€ * ๐“•.c) * h      field_simp      simp only [FreeSpace.c_sq, one_div, mul_inv_rev, mul_zero]      field_simp      ring    ยท intro h x      specialize h (x.time ๐“•.c) x.space      linear_combination (norm := simp) (๐“•.ฮผโ‚€โปยน * ๐“•.cโปยน) * h      field_simp      simp only [FreeSpace.c_sq, one_div, mul_inv_rev, mul_zero]      field_simp      ring  ยท apply Iff.intro    ยท intro h t x i      specialize h ((toTimeAndSpace ๐“•.c).symm (t, x)) i      simp at h      linear_combination (norm := simp) (๐“•.ฮผโ‚€) * h      field_simp      simp    ยท intro h x i      specialize h (x.time ๐“•.c) x.space i      linear_combination (norm := simp) (๐“•.ฮผโ‚€โปยน) * h      field_simp      simp
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Dynamics/IsExtrema.lean:229-272

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