Axioms for physical reasoning: codifying the Seiberg–Witten solution in Lean
Michael R. Douglas
hep-th
Jul 7, 2026 · v1
cs.LO
TL;DR
Formalizes the Seiberg–Witten solution of N=2 SU(2) super-Yang–Mills in Lean 4 by isolating named physical postulates and machine-checking their consequences.
Abstract
Mathematicians have embraced interactive theorem provers with growing enthusiasm – building large shared libraries and machine-checking a string of landmark results. Theoretical physics is different: most of its results are not theorems but justified by arguments the community trusts without a rigorous proof. For many – the one we treat here among them – no rigorous proof is within reach. For 4d Yang–Mills theory, deriving exact rigorous results from first principles would first require constructing the interacting theory nonperturbatively, which is a sizable piece of one of the Clay Millennium prize problems. We argue here that an interactive theorem prover can be used to verify some non-rigorous physics arguments. The method is to postulate a short list of explicit, named physical postulates, which imply the physical results by virtue of a machine-checkable proof. The trust that remains then rests on that short, inspectable list, and the prover can report, for any downstream result, exactly which assumptions it used. We carry this out for the Seiberg–Witten solution of ${N}=2$ $SU(2)$ super-Yang–Mills – the genus-one case – formalized in Lean 4; the higher-genus $SU(N)$ generalization is developed in the same repository as an axiomatized skeleton and left to future work. We describe what is proved, what is assumed, how the assumptions are checked – external review and an independent numerical oracle – and why this discipline is a sound standard for validating AI-generated results in theoretical physics. What we offer is a discipline, reviewable on its own terms: a reader may take the Seiberg–Witten mathematics on trust and still assess the formalization method.
Problem
Most theoretical physics results, like the Seiberg–Witten solution, are not rigorous theorems but justified by trusted physical arguments with no proof within reach. A method is needed to separate machine-checked consequences from unproven physical assumptions, especially to validate AI-generated derivations.
Approach
Physical concepts are translated into named Lean mathematical objects via an explicit dictionary, so physics enters only through named hypotheses H0–H7. The genus-one N=2 SU(2) case is formalized in full in Lean 4, with the trusted base reduced to five citable classical axioms. Assumptions are validated by external review and an independent numerical oracle (mpmath/numpy) sharing no code with the Lean formalization. The higher-genus SU(N) case is left as an axiomatized skeleton.
Results
The complete analytic layer of the genus-one solution is machine-checked, including the effective coupling, special coordinates in closed form, and the special-geometry relation da_D/da=τ. Nine oracle suites totaling 278 checks at 30–40-digit precision confirmed the assumed identities and caught two errors in the checking apparatus.
| SW ingredient | status |
|---|
| curve and genus (g=N-1) | proved (standard) |
| period-matrix positivity | proved, modulo inherited period-basis axiom |
| physical assumptions H0–H7 | explicit predicates, not hidden |
| SU(2) existence & uniqueness up to Γ(2) | duality theorems from classical axioms |
| SU(N) headline & period variation | axiomatized skeleton; future work |
Status of Seiberg–Witten formalization ingredients