AI-Assisted 3D MHD Equilibrium: A Technical Breakdown of the Proof Workflow

    This article examines how AI was used to revisit a 59-year-old claim about three-dimensional magnetohydrodynamic (MHD) equilibrium, a problem central to stellarator design. It explains why 3D equilibrium is difficult, walks through two families of explicit solutions produced with AI assistance, and abstracts the work into a reusable five-layer workflow: problem formalization, constraint checking, construction search, formal verification, and archiving. It also covers credibility and risk controls for AI-assisted mathematical physics derivations, along with the general compute, storage, and logging infrastructure needed to make such work reproducible and auditable.

    Introduction: A 59-Year-Old Mathematical Claim Under Review

    In September 2026, two preprints on three-dimensional MHD equilibrium were released in quick succession, drawing wide discussion in the fusion research community. The story traces back to 1967, when a claim was made that smooth three-dimensional plasma equilibria do not exist in the absence of symmetry. The stellarator line of fusion research has advanced for more than half a century under the shadow of that claim.

    What changed was the involvement of AI. According to reports, with the help of a general-purpose intelligent coding and reasoning tool, researchers obtained an explicit counterexample disproving the conjecture in only 20 minutes and 34 seconds. A separate team followed a human-designed construction route and used AI to complete the technical derivation and formal verification. The two efforts took different paths but pointed to the same conclusion: AI is now capable of participating in fundamental theoretical exploration, not just code completion or documentation writing.

    Setting aside specific product attributes, this article abstracts the event into a general technical question: how to use AI to complete high-barrier mathematical and physical derivations while keeping the results trustworthy, reproducible, and auditable.

    1. The Core Problem: Why 3D Equilibrium Is So Hard

    A stellarator confines plasma at over a hundred million degrees using a three-dimensional magnetic field. Ideally, two requirements must hold:

    • Field lines must lie on nested toroidal surfaces, known as flux surfaces;
    • The magnetic force must strictly balance the plasma pressure gradient.

    In the language of ideal magnetohydrodynamics (MHD), the equilibrium condition can be written as:

    1. ∇p = J × B
    2. J = (∇ × B) / μ0
    3. ∇ · B = 0

    Here p is pressure, B is the magnetic field, and J is the current density. The equations state that the pressure gradient must exactly cancel the Lorentz force while the magnetic field remains divergence-free.

    In devices such as tokamaks, axisymmetry reduces the problem to two dimensions, and the solution is relatively mature. Stellarators give up axisymmetry in exchange for steady-state operation, at the cost of reducing the equations to a genuinely three-dimensional problem. The central point of contention is therefore very specific: when the pressure is not constant and the flux surface structure remains intact, can a smooth solution still exist?

    The Grad conjecture and its later mathematical formulations address exactly the existence of such solutions. It has long been used as a design constraint, and a counterexample would reopen the theoretical design space for stellarators.

    2. The First Family of Solutions: Writing Requirements as a Prompt

    The requirements posed to the model can be abstracted into the following constraint list:

    1. 1. The magnetic field is non-axisymmetric;
    2. 2. Nested toroidal flux surfaces exist;
    3. 3. The rotational transform is nonzero;
    4. 4. The field quantities are smooth;
    5. 5. The MHD equilibrium is strictly satisfied.

    The rotational transform describes the average number of poloidal turns a field line makes per toroidal turn, and is a key indicator of whether field lines close.

    Within 20 minutes and 34 seconds, the model produced the first family of explicit solutions and their derivation. Key features of this family include:

    • The rotational transform is constant at ι = 2, unchanged across all flux surfaces;
    • The magnetic axis does not lie in a single plane, meaning it is three-dimensionally curved;
    • The magnetic field, pressure, and flux surfaces can all be expressed with elementary functions.

    The use of elementary functions is significant: it means the solution can be substituted directly into the equations and verified line by line, without relying on the convergence of a numerical solver.

    3. The Second Family of Solutions: A Structural Upgrade from One Follow-Up Question

    Although the first family satisfies all hard requirements, ι = 2 means field lines close after one toroidal turn and two poloidal turns, which is still an integrable degenerate case. The researchers then asked a follow-up: could a solution be obtained with a non-integer rotational transform that includes non-closing field lines?

    According to the reported process, the model first pointed out the structural limitations of the original construction, then switched construction approaches and produced a second family of solutions with magnetic shear:

    • The rotational transform varies across flux surfaces, meaning magnetic shear is present;
    • The magnetic axis is a planar ellipse;
    • The rotational transform can take rational and irrational values, so the solution contains both closed and non-closed field lines.

    From an engineering perspective, magnetic shear is a key degree of freedom for suppressing transport and controlling instabilities, which makes the second family more valuable for research than the first.

    4. An Engineering Paradigm for AI in Fundamental Theory Derivation

    Abstracted into a reusable process, the event can be summarized in five layers:

    1. Problem formalization: convert a natural-language conjecture into equations, constraints, and boundary conditions;
    2. Constraint checking: generate executable checks for each hard condition;
    3. Construction search: have the model propose candidate constructions while humans set the search direction;
    4. Formal verification: write the derivation into a proof assistant or symbolic computation pipeline and verify it step by step;
    5. Result archiving: record prompts, model versions, and intermediate derivations to ensure reproducibility.

    Illustrative pseudocode:

    1. constraints = {
    2. "non_axisymmetric": check_non_axisymmetry,
    3. "nested_surfaces": check_nested_flux_surfaces,
    4. "smoothness": check_smoothness,
    5. "equilibrium": check_mhd_balance,
    6. }
    7. for candidate in model.propose_constructions(prompt, budget="20min"):
    8. report = {name: fn(candidate) for name, fn in constraints.items()}
    9. if all(report.values()):
    10. archive(candidate, report, prompt, model_version)
    11. break

    Putting this into practice typically requires three general capabilities working together: a container platform to host reproducible derivation and verification environments, object storage to hold prompts and intermediate artifacts, and logging services with monitoring and alerting to track resource consumption and failure causes of long-running tasks. These are common industry product categories, and the specific choices depend on a team’s existing infrastructure.

    5. Credibility and Risk Control

    The biggest risk of AI participation in mathematical derivation is that results “look correct.” The following measures are recommended:

    • All conclusions must be verifiable by symbolic substitution into the original equations; natural-language arguments are not accepted;
    • Key steps should be handed to formal tools or independently recomputed to avoid single-point trust;
    • Clearly distinguish between “a construction produced by the model” and “a theorem verified by humans”;
    • Archive failed attempts as well, since failure samples often reveal the true boundaries of the constraints.

    Conclusion

    The value of this progress lies not in how fast a model ran, but in validating a new path: high-barrier theoretical problems can be decomposed into subtasks with clear constraints that are automatically checkable, with AI handling the search and derivation and humans setting the direction and making the final call. For developers and enterprise technical teams, what is truly worth borrowing is this “formalize-verify-archive” methodology and the general compute and data infrastructure that supports it.