Verifying the Outputs of PDE Solvers: From Finite Elements to Neural Surrogates
A small independent checker certifies PDE solver outputs, including results from LLM-written solvers and neural surrogates. The method can reject plausible bugs, but useful bounds depend on the output and grid being accurate enough.
The paper’s certificate pairs an admissible potential with a charge-conserving current, which an independent checker uses to bound error against a written physics specification. It rejected or refuted **five plausible solver bugs** that had passed grid-convergence checks; among three LLM-written solvers, one was certified to 0.1% accuracy.
Builders using generated code for scientific computation can separate producing a result from checking it against explicit constraints. The same checker was applied to FEniCSx, LLM-written solvers, and learned surrogates.
The paper’s certificate pairs an admissible potential with a charge-conserving current, which an independent checker uses to bound error against a written physics specification. It rejected or refuted **five plausible solver bugs** that had passed grid-convergence checks; among three LLM-written solvers, one was certified to 0.1% accuracy. Builders using generated code for scientific computation can separate producing a result from checking it against explicit constraints. The same checker was applied to FEniCSx, LLM-written solvers, and learned surrogates. A guarantee can still yield an uninformative bound: the paper says it is useful only when outputs are accurate in energy on a grid that resolves the problem. Neural surrogate bounds widened outside the training range, and some free-output models received uninformative bounds.