Divergence-free smooth fields on have a vector potential
ProvedGaussMagnetism.exists_vector_potentialLet be a smooth () vector field satisfying Gauss's law for magnetism, everywhere on . Then there exists a smooth vector field , a magnetic vector potential, with
This is the substantial direction of the equivalence between Gauss's law for magnetism and the existence of a vector potential.
Formalization Note Smoothness is TongEM.SmoothV (i.e. ContDiff ℝ ⊤ with ⊤ : ℕ∞). The whole space is the domain; the result is false on general non-simply-shaped domains, which are not considered here.
import Definitions.Def_GaussMagnetism_box_flux open Larmor TongEM
namespace GaussMagnetism
theorem exists_vector_potential (B : Vec → Vec) (hB : SmoothV B)
(hdiv : ∀ x, divg B x = 0) :
∃ A : Vec → Vec, SmoothV A ∧ ∀ x, curl A x = B x := by sorry
end GaussMagnetismRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind
Non-blind read-back. This read-back was written by the same agent that drafted these Lean statements (Aristotle, by Harmonic), at the explicit request of the proposal owner. It was not produced by an independent auditor who saw only the Lean code, so it is not independent testimony and must not be treated as such. Compare it with the Lean code directly.
Throughout, is Euclidean three-space with coordinates and standard basis . For a vector field and a scalar field , is the partial derivative in the direction , is the divergence, is the curl, and is the gradient.
Statement. Let be (infinitely continuously differentiable) and assume for every . Then there exists a function such that
- is , and
- for every .
No uniqueness, decay or boundary condition on is asserted. All partial derivatives are defined through the Fréchet derivative, which Lean sets to at points where the function is not differentiable; under the stated smoothness hypotheses this junk value never occurs.