All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Of Electromagnetic Field magnetic Field

Electromagnetism.ElectromagneticPotential.ofElectromagneticField_magneticField

Plain-language statement

The magnetic field of the electromagnetic potential created from the electric field E and the magnetic field B is B, as long as Gauss's law is satisfied.

Exact Lean statement

lemma ofElectromagneticField_magneticField {c : SpeedOfLight}
    (E : ElectricField) (B : MagneticField) (B_contDiff : ∀ t, ContDiff ℝ 1 (B t))
    (B_grad : ∀ t, ∇ ⬝ (B t) = 0) :
    (ofElectromagneticField c E B).magneticField c = B

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma ofElectromagneticField_magneticField {c : SpeedOfLight}    (E : ElectricField) (B : MagneticField) (B_contDiff :  t, ContDiff  1 (B t))    (B_grad :  t, ∇ ⬝ (B t) = 0) :    (ofElectromagneticField c E B).magneticField c = B := by  ext1 t  ext1 x  have h1 := eq_neg_curl_of_div_zero (B t) (B_contDiff t) (B_grad t)  conv_rhs => rw [h1]  simp only [magneticField, ofElectromagneticField_vectorPotential, WithLp.equiv_apply,    WithLp.ofLp_smul, map_smul, LinearMap.smul_apply]  rw [fun_curl_neg]  simp only [WithLp.equiv_symm_apply, WithLp.toLp_smul, Pi.neg_apply]  change Differentiable  fun x =>    ∫ (u : ) in 0..1, u • WithLp.toLp 2 ((crossProduct (Space.basis.repr x).ofLp)    (B t (u • x)).ofLp)  apply ContDiff.differentiable (n := 1) _ (by simp)  apply contDiff_parametric_intervalIntegral_of_contDiff  refine contDiff_euclidean.mpr ?_  intro i  let C : (Space) ×   EuclideanSpace  (Fin 3) := fun p =>      let x := p.1      let u := p.2      (u • basis.repr x) ⨯ₑ₃ B t (u • x)  suffices h : ContDiff  1 (fun x => C x i) by    convert! h using 1    simp [C]    rfl  fin_cases i  all_goals  · simp [C, crossProduct]    fun_prop
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Kinematics/MagneticField.lean:129-159

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