Gauge freedom:
ProvedGaussMagnetism.curl_add_gradLet be a continuously differentiable vector field and a twice continuously differentiable scalar field. Then for every ,
Consequently, if is a vector potential for a magnetic field (that is, ), then so is for every such ; this arbitrariness is called gauge freedom.
Formalization Note Regularity: is ContDiff ℝ 1, is ContDiff ℝ 2.
import Definitions.Def_GaussMagnetism_box_flux open Larmor TongEM
namespace GaussMagnetism
theorem curl_add_grad (A : Vec → Vec) (φ : Vec → ℝ) (hA : ContDiff ℝ 1 A)
(hφ : ContDiff ℝ 2 φ) (x : Vec) :
curl (fun y => A y + grad φ y) x = curl A 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 and be . Then for every , the curl at of the vector field equals the curl of at :
There are no other hypotheses; the claim is a pointwise equality of vectors in for every . 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.