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 iFormal artifact
Lean source
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
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.
Source project: Physlib
Person-level attribution pending.
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.
Source project: Physlib
Person-level attribution pending.
Deriv Within mean Energy Beta eq neg variance
CanonicalEnsemble.derivWithin_meanEnergy_Beta_eq_neg_variance
Plain-language statement
(โU/โฮฒ) = -Var(E) for finite systems.
Source project: Physlib
Person-level attribution pending.