Time deriv magnetic Field Matrix
Electromagnetism.ElectromagneticPotential.time_deriv_magneticFieldMatrix
Project documentation
The matrix corresponding to the magnetic field in general dimensions. In 3 space-dimensions this reduces to a vector. -/ noncomputable def magneticFieldMatrix (c : SpeedOfLight := 1) (A : ElectromagneticPotential d) : Time → Space d → (Fin d × Fin d) → ℝ := timeSlice c <| fun x ij => A.fieldStrengthMatrix x (Sum.inr ij.1, Sum.inr ij.2) lemma magneticFie...
Exact Lean statement
lemma time_deriv_magneticFieldMatrix {d : ℕ} {c : SpeedOfLight} (A : ElectromagneticPotential d)
(hA : ContDiff ℝ 2 A) (t : Time) (x : Space d) (i j : Fin d) :
∂ₜ (A.magneticFieldMatrix c · x (i, j)) t =
∂[i] (A.electricField c t · j) x - ∂[j] (A.electricField c t · i) xFormal artifact
Lean source
lemma time_deriv_magneticFieldMatrix {d : ℕ} {c : SpeedOfLight} (A : ElectromagneticPotential d) (hA : ContDiff ℝ 2 A) (t : Time) (x : Space d) (i j : Fin d) : ∂ₜ (A.magneticFieldMatrix c · x (i, j)) t = ∂[i] (A.electricField c t · j) x - ∂[j] (A.electricField c t · i) x := by calc _ _ = ∂ₜ (fun t => ∂[j] (fun x => A.vectorPotential c t x i) x) t - ∂ₜ (fun t => ∂[i] (fun x => A.vectorPotential c t x j) x) t := by conv_lhs => enter [1, t] rw [magneticFieldMatrix_eq_vectorPotential _ (hA.differentiable (by simp))] rw [Time.deriv, fderiv_fun_sub] rfl all_goals · apply Differentiable.differentiableAt apply Space.space_deriv_differentiable_time apply vectorPotential_comp_contDiff _ hA _ = ∂[j] (fun x => ∂ₜ (fun t => A.vectorPotential c t x i) t) x - ∂[i] (fun x => ∂ₜ (fun t => A.vectorPotential c t x j) t) x := by rw [Space.time_deriv_comm_space_deriv _, Space.time_deriv_comm_space_deriv _] all_goals · apply vectorPotential_comp_contDiff _ hA _ = ∂[i] (A.electricField c t · j) x - ∂[j] (A.electricField c t · i) x := by have hφ := scalarPotential_contDiff_space c A hA t have hd1 : ∀ k : Fin d, DifferentiableAt ℝ (fun x => -(A.electricField c t x).ofLp k) x := fun k => (electricField_apply_differentiable_space hA t k).neg.differentiableAt have hd2 : ∀ k : Fin d, DifferentiableAt ℝ (Space.deriv k (scalarPotential c A t)) x := fun k => (Space.deriv_differentiable hφ k).differentiableAt conv_lhs => enter [1, 2, x] rw [time_deriv_comp_vectorPotential_eq_electricField (hA.differentiable (by simp))] conv_lhs => enter [2, 2, x] rw [time_deriv_comp_vectorPotential_eq_electricField (hA.differentiable (by simp))] rw [Space.deriv_eq_fderiv_basis, fderiv_fun_sub (hd1 i) (hd2 i), fderiv_fun_neg] conv_lhs => enter [2] rw [Space.deriv_eq_fderiv_basis, fderiv_fun_sub (hd1 j) (hd2 j), fderiv_fun_neg] simp only [FunLike.coe_sub, Pi.sub_apply, _root_.neg_apply, ← Space.deriv_eq_fderiv_basis] rw [Space.deriv_commute _ hφ] ring- Project
- Physlib
- License
- Apache-2.0
- Commit
- dd43e9e65791
- Source
- Physlib/Electromagnetism/Kinematics/MagneticField.lean:390-429
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.