The curl of a gradient vanishes:
ProvedGaussMagnetism.curl_grad_eq_zeroLet be a twice continuously differentiable scalar field. Then for every ,
This identity is what makes the magnetic vector potential non-unique: adding a gradient to a vector potential does not change its curl (gauge freedom).
Formalization Note regularity is stated as ContDiff ℝ 2 φ; grad is TongEM.grad and curl is Larmor.curl.
import Definitions.Def_GaussMagnetism_box_flux open Larmor TongEM
namespace GaussMagnetism
theorem curl_grad_eq_zero (φ : Vec → ℝ) (hφ : ContDiff ℝ 2 φ) (x : Vec) :
curl (grad φ) x = 0 := 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. For every function that is (twice continuously Fréchet differentiable) and every point , the curl of the vector field , evaluated at , is the zero vector:
where means applied to the scalar field . There are no other hypotheses. 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.