arXiv:2611.07395math.APNov 2026

Manuscript Offprint

arXiv:2611.07395

Rigorously Certified Neural-Network Computation of Nonlinear Water Waves at Near-Machine Precision

Michal Shavit, Yongji Wang, Tristan Buckmaster

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

Abstract

We present a computational framework that combines machine-learning-based discovery with rigorous computer-assisted numerical certification and formal verification for strongly nonlinear partial differential equations. We demonstrate the approach for periodic gravity-capillary traveling water waves. Physics-informed neural networks are used as a search mechanism, with the wave profile, wave speed and, in continuation experiments, surface tension learned directly from the governing equations without training data. Through a staged training and refinement procedure, the neural networks achieve near-machine-precision residuals of the governing equations, even in strongly nonlinear regimes. A single formulation recovers three classical high-amplitude regimes: pure-gravity Stokes waves, pure-capillary Crapper waves and gravity-capillary Wilton ripples. Starting from a high-amplitude Wilton ripple, continuation in surface tension further reveals new high-amplitude candidate solutions. We freeze one such machine-learned candidate as an explicit finite representation and certify its residual using interval arithmetic, rigorously accounting for floating-point roundoff, Fourier truncation, aliasing and grid-to-continuum errors. The resulting computation establishes a rigorous uniform bound on the governing-equation residual, independently validating the accuracy achieved through neural-network computation. We then formalize the mathematical structure of the certification argument in Lean, which machine-checks the deductions connecting the certified numerical bounds to the final residual theorem. Both the interval certification and formalization were developed with substantial assistance from a large language model, while the validity of the result remains independent of the language model: the numerical bounds are rigorously enclosed by interval arithmetic and the subsequent mathematical deductions are checked by the Lean kernel. Together, these steps provide a pipeline from neural discovery to rigorous numerical certification and machine-checked mathematical verification, enabling machine learning to explore strongly nonlinear regimes while retaining explicit and auditable mathematical guarantees.

Keywords: Physics-informed neural networks, Water waves, Interval arithmetic, Computer-assisted proofs, Formal verification in Lean

Paper repository: computer-assisted accuracy proof and Lean verification

Contents

1 Introduction 2 2 Results 5 2.1 Neural discovery and recovery of high-amplitude water waves ..... 7 2.1.1 Continuation experiments and new solutions ..... 9 2.2 Second-stage training and a near-machine-precision candidate ..... 11 2.3 Certified residual estimates and formal verification in Lean ..... 12 2.3.1 Rigorous certification by interval arithmetic ..... 13 2.3.2 Formal verification in Lean ..... 13 3 Discussion 14 4 Methods 15 4.1 PINN architecture ..... 15 4.1.1 Neural representation ..... 15 4.1.2 Residual, Hilbert transform and loss ..... 16 4.1.3 Collocation and optimization ..... 16 4.2 Second-stage training ..... 17 4.2.1 Gradient-normalized residual weighting ..... 17 4.3 Computer-assisted accuracy proof ..... 19 4.3.1 Computer-assisted interval certification of the numerical residual ..... 20 4.3.2 Formal verification in Lean ..... 22 4.3.3 Certified profile, computational settings and bounds ..... 24 4.4 Reproducibility and file map ..... 24 5 Data and code availability 25

References (36)