All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Electric Field eq field Strength Matrix

Electromagnetism.ElectromagneticPotential.electricField_eq_fieldStrengthMatrix

Project documentation

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. -/ lemma ofElectromagneticField_electricField {c : SpeedOfLight} (E : Time → Space 3 → EuclideanSpace ℝ (Fin 3)) (B : Time → Space 3 → EuclideanSpace ℝ (Fin 3)) (E_...

Exact Lean statement

lemma electricField_eq_fieldStrengthMatrix {c : SpeedOfLight}
    (A : ElectromagneticPotential d) (t : Time)
    (x : Space d) (i : Fin d) (hA : Differentiable ℝ A) :
    A.electricField c t x i = -
    c * A.fieldStrengthMatrix ((toTimeAndSpace c).symm (t, x)) (Sum.inl 0, Sum.inr i)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma electricField_eq_fieldStrengthMatrix {c : SpeedOfLight}    (A : ElectromagneticPotential d) (t : Time)    (x : Space d) (i : Fin d) (hA : Differentiable  A) :    A.electricField c t x i = -    c * A.fieldStrengthMatrix ((toTimeAndSpace c).symm (t, x)) (Sum.inl 0, Sum.inr i) := by  rw [toFieldStrength_basis_repr_apply_eq_single]  simp only [Fin.isValue, inl_0_inl_0, one_mul, inr_i_inr_i, neg_mul, sub_neg_eq_add]  rw [electricField]  simp only [PiLp.sub_apply, PiLp.neg_apply, Fin.isValue, mul_add, neg_add_rev]  congr  · simp only [grad_apply, Fin.isValue]    trans c * ∂_ (Sum.inr i) (fun x => A x (Sum.inl 0)) ((toTimeAndSpace c).symm (t, x)); swap    · rw [SpaceTime.deriv_eq, SpaceTime.deriv_eq]      rw [Lorentz.Vector.fderiv_apply]      exact hA    · rw [SpaceTime.deriv_sum_inr c]      simp [scalarPotential]      change Space.deriv i (fun y => c * A ((toTimeAndSpace c).symm (t, y)) (Sum.inl 0)) x = _      rw [Space.deriv_eq_fderiv_basis, fderiv_const_mul]      simp [ Space.deriv_eq_fderiv_basis]      · fun_prop      · exact differentiable_component A hA _  · exact 2  · rw [SpaceTime.deriv_sum_inl c]    simp only [ContinuousLinearEquiv.apply_symm_apply]    rw [Time.deriv_eq, Time.deriv_eq]    rw [vectorPotential]    simp [timeSlice]    rw [Lorentz.Vector.fderiv_apply]    change ((fderiv  (fun t => WithLp.toLp 2 fun i =>        A ((toTimeAndSpace c).symm (t, x)) (Sum.inr i)) t) 1).ofLp i = _    rw [ Time.fderiv_euclid]    · apply Time.differentiable_euclid      intro i      simp only      fun_prop    · fun_prop    · exact hA  · exact 1
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Kinematics/ElectricField.lean:148-186

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