All proofs
Project-declaredLean 4.32.0 ยท mathlib@81a5d257c8e4

Infinite Wire is Exterma

Electromagnetism.DistElectromagneticPotential.infiniteWire_isExterma

Project documentation

The electromagnetic potential of an infinite wire along the x-axis carrying a current I. -/ noncomputable def infiniteWire (๐“• : FreeSpace) (I : โ„) : DistElectromagneticPotential 3 := (SpaceTime.distTimeSlice ๐“•.c).symm <| constantTime <| constantSliceDist 0 ((- I * ๐“•.ฮผโ‚€ / (2 * Real.pi)) โ€ข distOfFunction (fun (x : Space 2) => Real.log โ€–xโ€– โ€ข Lorentz.Vec...

Exact Lean statement

lemma infiniteWire_isExterma {๐“• : FreeSpace} {I : โ„} :
    IsExtrema ๐“• (infiniteWire ๐“• I) (wireCurrentDensity ๐“•.c I)

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma infiniteWire_isExterma {๐“• : FreeSpace} {I : โ„} :    IsExtrema ๐“• (infiniteWire ๐“• I) (wireCurrentDensity ๐“•.c I) := by  simp only [isExtrema_iff_vectorPotential, infiniteWire_electricField, map_zero,    _root_.zero_apply, one_div, wireCurrentDensity_chargeDesnity, mul_zero,    implies_true, PiLp.zero_apply, zero_sub, true_and]  intro ฮต i  rw [neg_add_eq_zero]  fin_cases i  ยท simp [Fin.sum_univ_three]    simp [distSpaceDeriv_apply', infiniteWire_vectorPotential_fst]    simp [apply_fderiv_eq_distSpaceDeriv, wireCurrentDensity_currentDensity_fst]    field_simp    simp only [constantTime_distSpaceDeriv, mul_assoc]    congr    rw [โ† _root_.add_apply, โ† map_add constantTime]    trans (constantTime ((constantSliceDist 0) ((2 * Real.pi) โ€ข diracDelta โ„ 0))) ฮต;swap    ยท simp      ring    congr    rw [show (2 : Fin 3) = Fin.succAbove (0 : Fin 3) 1 by simp,      show (1 : Fin 3) = Fin.succAbove (0 : Fin 3) 0 by simp]    repeat rw [distDeriv_constantSliceDist_succAbove, distDeriv_constantSliceDist_succAbove]    rw [โ† map_add (constantSliceDist 0)]    congr    trans distDiv (distGrad (distOfFunction (fun (x : Space 2) => Real.log โ€–xโ€–)      (IsDistBounded.log_norm)))    ยท ext ฮต      simp [distDiv_apply_eq_sum_distDeriv]      rw [add_comm]      congr 1 <;>        simp [distDeriv_apply, fderivD_apply, distGrad_apply]    rw [distGrad_distOfFunction_log_norm]    simpa using distDiv_inv_pow_eq_dim (d := 2)  all_goals    simp only [Fin.mk_one, Fin.reduceFinMk, Fin.isValue, neg_sub, Finset.sum_sub_distrib,      Fin.sum_univ_three, infiniteWire_vectorPotential_distSpaceDeriv_0, map_zero,      _root_.zero_apply, PiLp.zero_apply, zero_add, add_sub_add_right_eq_sub,      wireCurrentDensity_currentDensity_snd, wireCurrentDensity_currentDensity_thrd, mul_zero]    ring_nf    rw [distSpaceDeriv_commute]    simp [distSpaceDeriv_apply']
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/Electromagnetism/Current/InfiniteWire.lean:221-261

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