All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Of Electromagnetic Field electric Field

Electromagnetism.ElectromagneticPotential.ofElectromagneticField_electricField

Plain-language statement

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

Exact Lean statement

lemma ofElectromagneticField_electricField {c : SpeedOfLight}
    (E : Time → Space 3 → EuclideanSpace ℝ (Fin 3)) (B : Time → Space 3 → EuclideanSpace ℝ (Fin 3))
    (E_contDiff : ContDiff ℝ 1 ↿E) (B_contDiff : ContDiff ℝ 2 ↿B)
    (B_grad : ∀ t, ∇ ⬝ (B t) = 0) (faraday : ∀ t x, curl (E t) x = - ∂ₜ (B · x) t) :
    (ofElectromagneticField c E B).electricField c = E

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma ofElectromagneticField_electricField {c : SpeedOfLight}    (E : Time  Space 3  EuclideanSpace  (Fin 3)) (B : Time  Space 3  EuclideanSpace  (Fin 3))    (E_contDiff : ContDiff  1 ↿E) (B_contDiff : ContDiff  2 ↿B)    (B_grad :  t, ∇ ⬝ (B t) = 0) (faraday :  t x, curl (E t) x = - ∂ₜ (B · x) t) :    (ofElectromagneticField c E B).electricField c = E := by  have h0 := B_contDiff.of_le (m := 1) (by simp)  ext1 t  ext1 x  suffices h : E t x + ∂ₜ (fun t => (ofElectromagneticField c E B).vectorPotential c t x) t =      - ∇ ((ofElectromagneticField c E B).scalarPotential c t) x by    simp only [electricField]    rw [sub_eq_iff_eq_add',  h, add_comm]  convert congrFun (eq_grad_integral_of_curl_zero (fun x => E t x +      ∂ₜ (fun t => (ofElectromagneticField c E B).vectorPotential c t x) t) ?_ ?_) x  · simp [ofElectromagneticField_scalarPotential_eq_add_vectorPotential _ _ B (by fun_prop)]    rw [fun_grad_neg]    simp  · simp only [Time.deriv]    fun_prop  · rw [fun_curl_add]    ext1 x    simp [faraday]    suffices h : ∂ₜ (B · x) t = curl (fun x =>        ∂ₜ ((ofElectromagneticField c E B).vectorPotential c · x) t) x by      simp [h]    rw [ Space.time_deriv_curl_commute]    · congr      funext t      have h1 := eq_neg_curl_of_div_zero (B t) (by fun_prop) (B_grad t)      conv_lhs => rw [h1]      simp only [ofElectromagneticField_vectorPotential]      rw [fun_curl_neg]      simp only [WithLp.equiv_apply, WithLp.ofLp_smul, map_smul, LinearMap.smul_apply,        WithLp.equiv_symm_apply, WithLp.toLp_smul, Pi.neg_apply]      intro x      apply Differentiable.differentiableAt      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        exact 1      fin_cases i      all_goals      · simp [C, crossProduct]        fun_prop    · fun_prop    · fun_prop    · simp only [Time.deriv]      fun_prop
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Kinematics/ElectricField.lean:84-138

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