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 μ))) AFormal artifact
Lean source
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
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.