at positive distance from the charges
ProvedCoulombGauss.divergence_electricField_eq_zero_of_not_mem_closureLet , let be a measurable set and let be integrable on . Let
be the field generated by the charge density on . If does not belong to the closure , then is differentiable at and
In the source this is the step ", hence on ", where is disjoint from the charged region.
Formalization Note Integrability of on is the standing assumption under which the field is defined; the charged region is an arbitrary measurable set (the source's ), and the source's region is replaced by a single point at positive distance from .
import Mathlib import Definitions.Def_CoulombGauss_basic open MeasureTheory Filter Topology Metric
namespace CoulombGauss
theorem divergence_electricField_eq_zero_of_not_mem_closure (ε₀ : ℝ) (hε₀ : 0 < ε₀)
(ρ : Vec3 → ℝ) (S : Set Vec3) (hS : MeasurableSet S) (hρ : IntegrableOn ρ S)
(r : Vec3) (hr : r ∉ closure S) :
DifferentiableAt ℝ (electricField ε₀ ρ S) r ∧
divergence (electricField ε₀ ρ S) r = 0 := 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 a real number with , any function, a Lebesgue-measurable set on which is Lebesgue integrable, and a point not in the topological closure of . Write with (zero when ). Conclusion: is Fréchet differentiable at , and . Edge cases: may be empty (then and the claim is immediate); need not be bounded or open; is only required to be integrable on , with no continuity or boundedness.