All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Field Strength Matrix eq electric magnetic

Electromagnetism.ElectromagneticPotential.fieldStrengthMatrix_eq_electric_magnetic

Project documentation

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. -/ lemma ofElectromagneticField_magneticField {c : SpeedOfLight} (E : ElectricField) (B : MagneticField) (B_contDiff : ∀ t, ContDiff ℝ 1 (B t)) (B_grad : ∀ t, ∇ ⬝ (B t) = 0) : (ofElectromagneticFie...

Exact Lean statement

lemma fieldStrengthMatrix_eq_electric_magnetic {c} (A : ElectromagneticPotential) (t : Time)
    (x : Space) (hA : Differentiable ℝ A) (μ ν : Fin 1 ⊕ Fin 3) :
    A.fieldStrengthMatrix ((toTimeAndSpace c).symm (t, x)) (μ, ν) =
    match μ, ν with
    | Sum.inl 0, Sum.inl 0 => 0
    | Sum.inl 0, Sum.inr i => - A.electricField c t x i / c
    | Sum.inr i, Sum.inl 0 => A.electricField c t x i / c
    | Sum.inr i, Sum.inr j =>
    match i, j with
    | 0, 0 => 0
    | 0, 1 => - A.magneticField c t x 2
    | 0, 2 => A.magneticField c t x 1
    | 1, 0 => A.magneticField c t x 2
    | 1, 1 => 0
    | 1, 2 => - A.magneticField c t x 0
    | 2, 0 => - A.magneticField c t x 1
    | 2, 1 => A.magneticField c t x 0
    | 2, 2 => 0

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma fieldStrengthMatrix_eq_electric_magnetic {c} (A : ElectromagneticPotential) (t : Time)    (x : Space) (hA : Differentiable  A) (μ ν : Fin 1Fin 3) :    A.fieldStrengthMatrix ((toTimeAndSpace c).symm (t, x)) (μ, ν) =    match μ, ν with    | Sum.inl 0, Sum.inl 0 => 0    | Sum.inl 0, Sum.inr i => - A.electricField c t x i / c    | Sum.inr i, Sum.inl 0 => A.electricField c t x i / c    | Sum.inr i, Sum.inr j =>    match i, j with    | 0, 0 => 0    | 0, 1 => - A.magneticField c t x 2    | 0, 2 => A.magneticField c t x 1    | 1, 0 => A.magneticField c t x 2    | 1, 1 => 0    | 1, 2 => - A.magneticField c t x 0    | 2, 0 => - A.magneticField c t x 1    | 2, 1 => A.magneticField c t x 0    | 2, 2 => 0 := by  match μ, ν with  | Sum.inl 0, Sum.inl 0 => simp  | Sum.inl 0, Sum.inr i => simp [electricField_eq_fieldStrengthMatrix A t x i hA]  | Sum.inr i, Sum.inl 0 =>    simp [electricField_eq_fieldStrengthMatrix A t x i hA]    field_simp    rw [fieldStrengthMatrix_antisymm]  | Sum.inr i, Sum.inr j =>    fin_cases i <;> fin_cases j <;>    simp [magneticField_coord_eq_fieldStrengthMatrix A t x hA]    repeat rw [fieldStrengthMatrix_antisymm]
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Kinematics/MagneticField.lean:167-195

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