Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

∇r⋅r−r′∣r−r′∣3=0\nabla_r\cdot\frac{r-r'}{|r-r'|^3}=0∇r​⋅∣r−r′∣3r−r′​=0 for r≠r′r\neq r'r=r′

Proved
CoulombGauss.divergence_coulombKernel_eq_zero

by LG · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

electrostaticsmathematical-physicsvector-calculus

Let r′∈R3r' \in \mathbb R^3r′∈R3 be fixed and let e(r,r′)=(r−r′)/∣r−r′∣3e(r,r') = (r-r')/|r-r'|^3e(r,r′)=(r−r′)/∣r−r′∣3 be the Coulomb kernel. For every point r≠r′r\neq r'r=r′, the map x↦e(x,r′)x\mapsto e(x,r')x↦e(x,r′) is differentiable at rrr and

∇r⋅e(r,r′)  =  0.\nabla_r\cdot e(r,r') \;=\; 0 .∇r​⋅e(r,r′)=0.

This is the first fact used in the Dirac-delta-free derivation of Gauss's law: away from its source point, the field of a point charge is divergence free.

Formalization Note Differentiability is stated explicitly, because Lean assigns derivative 000 to non-differentiable functions and the divergence identity alone would otherwise not exclude that degenerate reading.

Preamble
import Mathlib
import Definitions.Def_CoulombGauss_basic
open MeasureTheory Filter Topology Metric
Formal statement
namespace CoulombGauss
theorem divergence_coulombKernel_eq_zero (r r' : Vec3) (h : r ≠ r') :
    DifferentiableAt ℝ (fun x => coulombKernel x r') r ∧
      divergence (fun x => coulombKernel x r') r = 0 := by sorry
end CoulombGauss
Source
Wikipedia, "Coulomb's law", https://en.wikipedia.org/wiki/Coulomb%27s_law (snapshot supplied as PDF, 30 Sep 2026), section "Relation to Gauss's law" -> "Deriving Gauss's law from Coulomb's law", box "Proof (without Dirac Delta)" (PDF pp. 8-9).
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

NON-BLIND READ-BACK — NOT INDEPENDENT TESTIMONY. This read-back was written by the same agent that drafted the Lean statements of this proposal (at the explicit direction of the proposal owner), with full knowledge of the source text and of the intended meaning. It is therefore not a blind audit and must not be mistaken for independent testimony. Reviewers should compare the Lean code against the source directly.

For all points r,r′∈R3r, r' \in \mathbb R^3r,r′∈R3 with r≠r′r \neq r'r=r′, two things hold: (i) the vector-valued map x↦coulombKernel(x,r′)=(∣x−r′∣3)−1(x−r′)x \mapsto \mathrm{coulombKernel}(x,r') = (|x-r'|^3)^{-1}(x-r')x↦coulombKernel(x,r′)=(∣x−r′∣3)−1(x−r′) is (Fréchet) differentiable at x=rx=rx=r; and (ii) its divergence at rrr, i.e. ∑i=02∂i[(x−r′)i/∣x−r′∣3]\sum_{i=0}^{2}\partial_i\big[(x-r')_i/|x-r'|^3\big]∑i=02​∂i​[(x−r′)i​/∣x−r′∣3] evaluated at x=rx=rx=r, equals 000. There are no other hypotheses; the single hypothesis r≠r′r\neq r'r=r′ is satisfiable for every r′r'r′.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me