The Coulomb radial covector field has zero divergence off the origin
ProvedInnerProductSpace.coulomb_covector_trace_eq_zerodivergence-theoremintegrationpotential-theory
Let and . On punctured Euclidean space define the covector field
For every and every orthonormal basis ,
This is the local Coulomb-field divergence calculation. It supplies harmonicity away from the singularity for kernels with gradient , including the logarithmic kernel in dimension two.
Preamble
import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.Analysis.InnerProductSpace.NormPow import Mathlib.Analysis.Calculus.FDeriv.Mul import Mathlib.Tactic.FieldSimp import Mathlib.Tactic.Ring import Mathlib.Tactic.Positivity import Mathlib.Tactic.LinearCombination open MeasureTheory Set
Formal statement
theorem InnerProductSpace.coulomb_covector_trace_eq_zero (n : ℕ) (hn : 2 ≤ n) (c : ℝ)
(z : EuclideanSpace ℝ (Fin n)) (hz : z ≠ 0) :
(∑ i : Fin n,
fderiv ℝ (fun y : EuclideanSpace ℝ (Fin n) =>
(c / ‖y‖ ^ n) • innerSL ℝ y) z
(EuclideanSpace.basisFun (Fin n) ℝ i)
(EuclideanSpace.basisFun (Fin n) ℝ i)) = 0 := by sorry
Source
Hunter, Notes on Partial Differential Equations, revised 6/18/2014, https://www.math.ucdavis.edu/~hunter/pdes/pde_notes.pdf, printed p. 33, Section 2.6.1 and Eq. (2.14): harmonicity off zero and radial gradient of the fundamental solution; generalized to arbitrary real gradient coefficient.