AI-Assisted Discovery and Verification of Counterexamples in Three-Dimensional MHD Equilibrium
This article explains how AI-assisted reasoning can support the search for explicit counterexamples in three-dimensional magnetohydrodynamic (MHD) equilibrium, a long-standing problem in stellarator fusion research. It covers why non-axisymmetric plasma equilibrium is mathematically hard, what a valid counterexample must satisfy, the three roles AI can play in theoretical exploration, two families of analytic solutions (one with a non-planar magnetic axis and constant rotational transform, one with magnetic shear and both rational and irrational rotational transforms), and a reproducible verification and formalization pipeline. It closes with methodological best practices for human-AI collaboration and implications for fusion engineering and general AI reasoning platforms.
1. Background: Why Three-Dimensional Plasma Equilibrium Has Been So Hard
In magnetic confinement fusion, stellarators confine hot plasma with three-dimensional magnetic fields. Ideal MHD equilibrium requires the magnetic force to balance the plasma pressure gradient. The core equations can be written as:
J × B = ∇p∇ · B = 0
Here B is the magnetic field, J is the current density, and p is the plasma pressure. When field lines lie on nested toroidal surfaces, those surfaces are the magnetic surfaces, and the average winding behavior of a field line on a surface is described by the rotational transform. When the rotational transform is an integer or a rational number, field lines may close after a finite number of turns; when it is irrational, field lines generally do not close and instead cover the surface densely.
The difficulty is that axisymmetric or near-symmetric configurations simplify the equilibrium equations considerably, yet stellarators deliberately use non-axisymmetric three-dimensional fields to achieve better confinement and stability. Once symmetry such as axisymmetry is absent, whether a smooth magnetic field, non-constant pressure, fully nested magnetic surfaces, and strict equilibrium can coexist becomes a question of both mathematical and engineering interest. A classical conjecture gave a strong negative answer: without symmetry, no smooth three-dimensional plasma equilibrium exists. Later work refined this into several mathematical statements that examine existence under different conditions of smoothness, pressure distribution, and magnetic-surface integrity.
A “counterexample” here is therefore not simply drawing a three-dimensional field. It means constructing an explicit family of solutions that satisfies a strict set of constraints: the magnetic field is non-axisymmetric, the magnetic surfaces are nested, the rotational transform is non-zero, the pressure is non-constant, and the equilibrium equations hold in an analytic or verifiable sense. Such constructions matter because they bear directly on the foundational question of whether symmetry is required, and they give stellarator equilibrium research new objects to analyze.
2. The Value of a Counterexample: Calibrating Boundaries, Not Overturning Everything
A single family of counterexamples usually does not automatically refute every related variant of a conjecture. Mathematical conjectures carry different premises: the level of smoothness, boundary conditions, whether pressure is constant, whether magnetic surfaces are complete, whether the rotational transform is rational, whether a magnetic-axis singularity exists. The value of a counterexample is to show precisely that under one combination of premises the original negative claim no longer holds, forcing researchers to redraw the boundaries of their theorems.
This boundary calibration also matters for engineering practice. Stellarator design has long relied on numerical optimization and approximate equilibrium solvers. If an explicit analytic family of solutions exists, researchers gain a reproducible reference that supports parameter scans and error analysis. It can test how numerical solvers behave under complex conditions such as non-axisymmetry, non-planar magnetic axes, and magnetic shear, and it can be used to analyze the relationship between field-line closure, magnetic-surface nesting quality, and equilibrium residuals.
3. Three Roles for AI in Foundational Theoretical Exploration
Based on publicly described research approaches, AI is better suited to three roles in foundational exploration than to replacing researchers in making every theoretical judgment.
First, candidate constructor. The researcher supplies the physical constraints and mathematical assumptions, and the AI proposes possible expressions for the magnetic field, pressure, and magnetic surfaces across a large space of symbolic combinations, forming candidate solution families. Second, derivation accelerator. The AI helps expand identities, eliminate variables, check boundary conditions, and chain lemmas together, reducing the repetitive cost of manual derivation. Third, formalization assistant. It rewrites key derivation steps, constraints, and verification targets into machine-checkable form, reducing the risk of results that “look correct but silently drop a premise.”
These roles share a common structure: the human owns problem definition, the construction strategy, and final review, while the AI handles high-frequency trial and error and local derivation. Treating AI output directly as a theorem is risky. Folding it into a pipeline of candidate generation, numerical checking, symbolic verification, formal proof, and peer review can significantly improve exploration efficiency.
4. First Solution Family: Non-Planar Magnetic Axis and Constant Rotational Transform
The key features of the first family can be summarized as follows: the magnetic field is non-axisymmetric, with nested toroidal magnetic surfaces and a non-zero rotational transform; the magnetic axis does not lie in a single plane; the field, pressure, and magnetic surfaces can be expressed with elementary functions; and the rotational transform is constant and equal to some integer value on every magnetic surface. A “non-planar magnetic axis” means the axis geometry is no longer confined to one plane, which breaks traditional symmetry assumptions. “Elementary-function representation” means the solution is highly analyzable and can be substituted directly into the equations for checking.
A constant rotational transform means the average winding ratio between the toroidal and poloidal directions is fixed for the field lines. If that value is an integer or rational, field lines may close after a finite number of turns. Although this family satisfies the equilibrium and nested-surface requirements, its field-line topology is relatively special and does not represent all stellarator equilibria. Its value is to provide a clearly structured, explicitly verifiable counterexample showing that smooth equilibrium is not inherently impossible under non-axisymmetric conditions.
From a verification standpoint, the first family suits three kinds of checks. First, substitute directly into the equilibrium equations and simplify the residual. Second, check that the nesting relationship among magnetic surfaces and the definition of the rotational transform are self-consistent. Third, check whether any undeclared singularity or non-differentiable point exists near the magnetic axis. Only when these checks close does the counterexample become credible.
5. Second Solution Family: Magnetic Shear and Non-Closed Field Lines
Because the first family has a constant rotational transform, its field-line closure is relatively strong. A natural follow-up question is whether one can obtain solutions where the rotational transform varies across magnetic surfaces and includes non-closed field lines. The second family advances exactly this question. Its magnetic axis is a planar ellipse, its rotational transform can vary from surface to surface (that is, it has magnetic shear), and the transform can take rational or irrational values, so the family contains both closed and non-closed field lines.
Magnetic shear is an important concept in stellarator and tokamak equilibrium analysis, describing how the rotational transform changes with position across magnetic surfaces. It affects field-line stiffness, shear between surfaces, and several stability characteristics. The second family brings magnetic shear into an explicit analytic construction, so the counterexample is no longer limited to the special case of a constant rotational transform, extending the magnetic-field structure shown by the first family.
Methodologically, the appearance of the second family shows that AI-assisted exploration is not “generate once and done.” When an initial construction meets some requirements but carries clear limitations, the researcher must keep probing, identify the limits, and change the construction. The AI can point out the constraint bottlenecks of the original construction and propose alternative parameterizations, but a human must still judge which limitations are physically essential and which are merely artifacts of the construction.
6. From Candidate Solutions to Credible Conclusions: The Verification and Formalization Pipeline
After the AI generates analytic candidate solutions, the most critical step is not displaying formulas but building a reproducible verification pipeline. An abstract workflow can be written as follows:
Input: symmetry assumptions, smoothness level, pressure distribution,magnetic-surface nesting requirements, rotational-transform constraintsStep 1: Generate candidate B, p, and magnetic-surface function ψStep 2: Check ∇·B = 0Step 3: Compute J = ∇×B and check the symbolic residual of J×B - ∇pStep 4: Check magnetic-surface nesting, magnetic-axis regularity, and therotational-transform definitionStep 5: Scan parameters; check rational/irrational rotational transform and singularitiesStep 6: Rewrite key identities and lemmas into checkable formStep 7: Record assumptions, derivations, residuals, and the scope of the counterexampleOutput: a reviewable solution family with a statement of its range of validity
This pipeline stresses three points. First, assumptions must be made explicit. A counterexample holds only within its stated premises, and a specific smoothness level, boundary condition, or parameter range cannot be quietly omitted. Second, residuals must be verifiable. An analytic solution should either reduce to a zero residual through symbolic simplification or provide a clear upper bound on the residual and its source. Third, formalization should focus on key steps. Full formalization is expensive, but it should at least cover the core stages: substitution into the equilibrium equations, magnetic-surface nesting, the rotational-transform definition, and the exclusion of singularities.
For developers, this resembles turning a one-off “inspired derivation” into an auditable process: input constraints, candidate generation, automated checking, human review, version records, and stated conclusion boundaries. AI can accelerate the intermediate stages, but it cannot skip the audit.
7. Methodological Takeaways: Boundaries and Best Practices for AI-Assisted Theory
The lesson from this line of work is not “whether AI will replace theoretical researchers” but how to design the protocol for human-AI exploration. Sound practices include:
- Let humans define decidable targets first: which equations must hold strictly, which conditions allow numerical approximation, and which parameter ranges must be covered.
- Require the AI to output checkable intermediate steps: not only the final expression, but also substitution, simplification, boundary conditions, and singularity analysis.
- Review candidate solutions in a counterexample-seeking way: actively look for regions that fail smoothness, magnetic-surface nesting, or the rotational-transform definition.
- Record failed candidates too: failed constructions often reveal conflicts among constraints and remain valuable for later research.
- State the scope of the conclusion clearly: a counterexample holds for a particular class of statements and cannot be extrapolated into a refutation of all related conjectures.
8. Implications for Fusion Engineering and General Technical Platforms
For stellarator research, an explicit analytic solution family can serve as a benchmark for numerical codes and as teaching and cross-checking material. For engineering R&D more broadly, this case shows that general large models and AI-assisted reasoning systems can act as “high-frequency candidate generators” and “derivation accelerators” in foundational theoretical exploration, but their output must enter a strict verification loop. Teams or research groups that want to reuse a similar approach should prioritize building mechanisms for constraint description, automated checking, formalized records, and human review, rather than focusing only on the result of a single generation.
9. Summary
Constructing counterexamples for three-dimensional MHD equilibrium turns the abstract question of whether symmetry is required into an explicitly checkable family of solutions. The first family uses a non-planar magnetic axis and a constant rotational transform to show that non-axisymmetric smooth equilibrium is possible; the second family uses magnetic shear and rational/irrational rotational transforms to broaden the field-line topology. AI participation shortens the cycle of candidate construction and derivation, but real credibility comes from making assumptions explicit, keeping residuals verifiable, formalizing the key steps, and passing peer review. For foundational theoretical exploration, AI is more like a high-efficiency exploration accelerator than an automatic generator of truth.
