CertMat: Formally Certified Robust Phase and Elastic Stability Verification Across One Million Inorganic Crystals
Machine-learning interatomic potentials (MLIPs) and high-throughput density functional theory (DFT) workflows have expanded candidate inorganic crystal catalogs to the million-material scale, yet thermodynamic convex hull stability (Ehull = 0) and mechanical Born stability (C ≻ 0) remain evaluated almost exclusively via floating-point point estimates that neglect energy and stiffness uncertainties. Here we introduce CertMat, an exact rational certificate generator and machine-checked Lean 4 formal verification kernel (leanprover/lean4:v4.16.0, zero Mathlib dependencies, zero sorry or non-standard axioms across 51 mechanized theorems) that certifies worst-case phase and elastic stability over heterogeneous uncertainty boxes. CertMat mechanizes four core theorem families: (1) exact Farkas primal-dual soundness with non-negative margin enforcement (δ ≥ 0) for convex hull decompositions, (2) exact algebraic cancellation of correlated elemental reference-state errors ( ∑ e cieδµe) proving that only uncorrelated residual errors (ηi) can flip phase stability, (3) universal worst-case interval robustness over heterogeneous energy boxes Ei ∈ [Li, Ui] with an exact Charnes–Cooper linear-fractional solver for the critical destabilization radius ε∗(x) and adversarial decomposition Phase Switching, and (4) exact rational LDLT Born positive-definiteness, constructive non-PD strain counterexamples, Voigt Frobenius–Weyl robustness and constructive rank-1 fragility witnesses, and bidirectional pure-rational SO(3)-invariant Mandel/Kelvin Frobenius–Weyl robustness and constructive rank-1 fragility theorems (requiring no irrational √ 2). Auditing 1,044,460 unique crystal phase entries (plus 234,086 matched PBE–r2SCAN sub-hull re-audits, totaling 1,278,545 competed LP audits and 1 uncompeted elemental phase) and 34,323 valid 6 × 6 elastic tensors across Google DeepMind GNoME (PBE and r2SCAN), NIST JARVIS-DFT 3D, and Matbench Discovery WBM—with 95,348 / 95,348 serialized TSV rational certificates machine-verified by the compiled Lean 4 certmat-check binary and an independent pure-Fraction checker (0 failures) plus 540/540 stratified spot-audit dataset-binding checks—we establish four major findings: (i) on 117,043 matched GNoME PBE-vs-r2SCAN crystals, correlated elemental shifts explain R2 = 73.51% of formation-energy discrepancies (reducing MAE from 78.90 to 30.96 meV/atom), and CertMat’s worst-case Fragile classification separates real r2SCAN stability flips with 24.65x relative risk (0.46% vs. 11.36% flip rate, ROC-AUC 0.8948) on exact 117k matched sub-hulls and 5.10x relative risk (96.40% recall) on GNoME’s primary external Decomposition Energy Per Atom column (6.20x relative risk / 97.46% recall on ... MP); (ii) 11,481 of 34,323 (33.45%) valid JARVIS-DFT 3D elastic tensors fail exact Born stability with Lean-certified rational strain witnesses, while 2,643 (11.57%) of Born-PD crystals are fragile under unconstrained 5 GPa Voigt perturbations (Lean-certified via WEYL_FRAGILE) and 1,517 (6.64%) are fragile under SO(3)-invariant 5 GPa Mandel perturbations (bidirectional Lean certification: 22,531 MANDEL_ WEYL_ROBUST + 3,198 MANDEL_WEYL_FRAGILE witnesses); (iii) 19,894 of 42,688 (46.60%) WBM candidates reported stable against the static MP2020 hull collapse to strictly unstable under intra-catalog WBM competition alone (62.19% via same-composition polymorphs, 37.81% via cross-composition decomposition; 40.80% even after unique-prototype deduplication); and (iv) our exact hull audit uncovered a pervasive upstream unit-scaling defect in the published NIST JARVIS-DFT 3D Figshare release (jdft_3d-9-24-2025.json) consistent with dividing per-atom optb88vdw_total_energy a second time by reduced formula-unit atom count Nfu, inflating ehull > 1.0 eV/atom for 63,386 materials (median residual 0.00677 eV vs. 2.605 and 2.108 eV for two negative controls). Code, Lean 4 proofs, and full verification artifacts are publicly available at https://github.com/sunpunggi1/certmat.
Authors
- Hyungyu Choi
Publication Details
- Journal
- ChemRxiv
- Published
- 2026-11-24
- DOI
- https://doi.org/10.26434/chemrxiv.15012737/v1
- Primary Topic
- Machine Learning in Materials Science
- Type
- preprint