arXiv:2609.30296cs.LGSep 2026

Manuscript Offprint

arXiv:2609.30296

NeuralCert: certified computational discovery of extremal mathematical constructions

Mark Patrick Roeling

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Neural networks are becoming popular in solving mathematical problems, but stochastic models do not provide mathematical exactness by themselves. This study introduces a discovery-to-certification framework in which high-dimensional variational trial functions are learned in a compact separable representation, spectrally diagnosed and pruned, and then certified exactly through multimodular evaluation. Exact certification makes the numerical proofs fully explicit and independently verifiable. This framework can be run on a standard personal computer.

Across three extremal problems, we show that neural optimization can contribute to rigorous mathematics in three distinct ways: by discovering improved constructions, by exposing empirical invariants that lead to proofs, and by revealing optimization barriers whose geometry motivates new analytic or numerical representations.

More broadly, these results suggest a path toward AI-assisted mathematics in which flexible computational discovery and exact certification become complementary components of a single rigorous workflow.

Machine learning can contribute to mathematical discovery by identifying latent relations between mathematical objects, guiding search over vast combinatorial or algebraic spaces, and generating candidate constructions or algorithms. Davies et al. used learned predictors and attribution methods to expose latent mathematical structure and guide conjecture formation [6]. AlphaTensor showed that reinforcement learning can search large spaces of tensor decompositions and recover exact matrix-multiplication algorithms, including previously unknown constructions [8]. FunSearch coupled neural generation to an executable evaluator, demonstrating that iterative proposal, evaluation and selection can produce new mathematical constructions [26]. Also, neural function approximators can transform a mixed discrete–continuous geometric problem into a differentiable optimization problem [20].

Despite these advances, a methodological gap persists for problems in which the unknown object is a function or extremizer in a large or infinite-dimensional space. Such problems are commonly reduced computationally by choosing a finite ansatz,

f(x)=∑j=1majϕj(x),f(x)=\sum_{j=1}^{m}a_{j}\phi_{j}(x),

and optimizing over the coefficients aja_{j}. While this makes the problem tractable, it also imposes an a priori structural restriction,

f⋆≈span⁡{ϕ1,…,ϕm},f^{\star}\approx\operatorname{span}\{\phi_{1},\ldots,\phi_{m}\},

so that improvements in optimization accuracy cannot remove approximation error induced by an inadequate representation. However, neural parameterizations offer a complementary strategy: instead of fixing the shape of a candidate solution in advance, they provide flexible differentiable families in which large-scale functional search can be conducted. For example, in geometric colouring a mixed discrete–continuous search space was replaced by a probabilistic differentiable representation amenable to gradient optimization [20].

Here we introduce NeuralCert, a discovery-to-certification framework that deliberately separates the representation used for computational search from the representation used for mathematical proof. Flexible neural parameterizations are used to learn one-dimensional factors within a separable trial family, without fixing the polynomial dictionary subsequently used for exact certification. Discovered candidates are subsequently compressed into explicit mathematical representations from which rigorous certificates can be constructed and independently verified. Here, certification means recording a claimed bound together with the exact data needed to recompute it independently, so that the inequality can be confirmed without trusting, or re-running, any part of the discovery pipeline. Across three extremal problems, we show that this separation enables neural optimization to contribute to rigorous mathematics through three distinct modes: discovering improved constructions, exposing structure that leads to analytic results, and identifying optimization barriers that motivate alternative representations.

Since a floating-point neural candidate does not constitute a proof, the discovery candidate is reduced to an independently checkable object [8, 26] such that verification establishes the mathematical claim. This idea builds on previous work where neural search produced tensor decompositions which could be checked algebraically [8], and candidate programs judged by an explicit executable evaluator [26]. These examples suggest that discovery and verification impose fundamentally different computational requirements. Discovery benefits from (over)parameterization, approximation and exploration, whereas verification benefits from low-dimensional structure, exactness and controlled numerical error.

Our central methodological hypothesis is not that neural optimization should replace mathematical proof, but that the representation best suited for discovery need not be the representation best suited for proof. A flexible computational model can search a substantially larger functional space than is convenient for exact symbolic treatment, after which the useful structure can be transferred into an explicit mathematical object. Conversely, repeated failure or instability of such a search can reveal invariants or unsuitable coordinates and thereby guide analytic reformulation [6]. NeuralCert is designed around this asymmetry: discovery is deliberately flexible and expendable, whereas every reported mathematical claim must be supported by a representation that can be reconstructed and verified independently.

NeuralCert overview

NeuralCert is a Python framework for neural discovery of candidate functions followed by independent certification and verification. The architecture is deliberately separated into three components; discovery, certification and verification, which do not share numerical evaluation routines. Discovery uses flexible neural parameterizations to explore problem-specific function spaces and exports candidate functions and metadata, typically as NumPy .npz files. Certification is independent of the neural model: no network parameters, optimizer state or training data are required. Instead, the candidate is reconstructed in a problem-specific mathematical representation and converted into an explicit certificate. Verification is implemented as a standalone minimal code path that ingests only this certificate, typically as .json, and independently reconstructs the inequalities underlying the claimed result. Thus, neural optimization serves only as a proposal mechanism; final mathematical claims depend exclusively on independently reconstructed and verifiable proof objects.