Gauss's law from Coulomb's law:
OpenCoulombGauss.gauss_law_from_coulombLet be the electric constant, let be a bounded open set, and let be a continuous charge density on , integrable on . Let
be the electric field given by Coulomb's law and the superposition principle, and for let be its outward flux through the sphere of radius about . Then for every ,
The left-hand side is the flux-per-volume (coordinate-free) definition of , so the statement is the differential form of Gauss's law, , derived from Coulomb's law without the Dirac delta.
Formalization Note The source writes the conclusion as ; the formal goal asserts the limit identity (the part the proof establishes), without asserting classical differentiability of , which can fail for a merely continuous . Integrability of on is the standing assumption under which is defined (it does not follow from continuity on a bounded open set). Fluxes are computed with the standard surface measure on spheres.
import Mathlib import Definitions.Def_CoulombGauss_basic open MeasureTheory Filter Topology Metric
namespace CoulombGauss
theorem gauss_law_from_coulomb (ε₀ : ℝ) (hε₀ : 0 < ε₀)
(Ω : Set Vec3) (hΩo : IsOpen Ω) (hΩb : Bornology.IsBounded Ω)
(ρ : Vec3 → ℝ) (hρc : ContinuousOn ρ Ω) (hρi : IntegrableOn ρ Ω)
(r₀ : Vec3) (hr₀ : r₀ ∈ Ω) :
Tendsto (fun R : ℝ => sphereFlux (electricField ε₀ ρ Ω) r₀ R / (volume (ball r₀ R)).toReal)
(𝓝[>] 0) (𝓝 (ρ r₀ / ε₀)) := by sorry
end CoulombGaussRead-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.
Let be real; an open, bounded set; a function continuous on and Lebesgue integrable on ; and . Let (kernel read as at ; a non-integrable integrand would give ), and for real let , with the cone (surface) measure of total mass on the unit sphere. Conclusion:
where is the Lebesgue volume of the open ball of radius about , as a real number (for it is positive, so no division by zero occurs along the limit). No differentiability of is asserted. The hypotheses are jointly satisfiable (e.g. an open ball and constant).