Universality of certifiably 1-Lipschitz ReLU networks
Alexis Goujon
cs.LG
Nov 27, 2026 · v1
math.FA stat.ML
TL;DR
The universality theorem for spectrally norm-constrained ReLU networks is fully formalized in Lean 4 with Mathlib, using only standard axioms.
Abstract
Computing the Lipschitz constant of a neural network is NP-hard and intractable at practical network sizes. Certifiably 1-Lipschitz ReLU networks are therefore typically trained under a tractable layer-wise certificate: every weight matrix is constrained to have norm at most one. Experiments and negative representation results suggested that this sufficient condition is overly restrictive, motivating other activations and architectures under the same layer-wise paradigm to improve performance. Yet none of these is known to be universal for vector-valued maps with Euclidean norms. We prove that, in fact, plain ReLU networks under this constraint are dense, uniformly on compact sets, in the 1-Lipschitz maps R^d -> R^m, for all d and m. Our proof has been formally verified in Lean 4 with Mathlib.
Problem
Certifiably 1-Lipschitz ReLU networks, whose weight matrices all have norm at most one, were believed to be too restrictive. No known layer-wise constrained architecture had been shown universal for vector-valued 1-Lipschitz maps with Euclidean norms.
Approach
The proof first reduces uniform approximation on compact sets to matching finite samples. It then moves samples from (x,0) to (0,c^J y) through a chain of small rotating-and-shrinking steps. Each step is the proximal map of a convex piecewise-linear function, and these proximal maps are approximated by spectral-norm-constrained ReLU networks. The entire argument is formalized in Lean 4 with Mathlib (v4.33.0), with the trusted network definitions and main theorems isolated and axioms checked.
Results
Plain ReLU networks with spectral-norm-bounded weights are dense, uniformly on compact sets, in the 1-Lipschitz maps R^d -> R^m for all d and m. Both main statements are machine-checked in Lean using only standard axioms.