Abstract
The Riemann hypothesis (RH) is a long-standing open problem in mathematics, conjecturing that all non-trivial zeros of the zeta function have a real part equal to 1/2. The consequences of RH are far-reaching, affecting the distribution of prime numbers, the growth of arithmetic functions, and more. In this note, we revisit and extend the Nyman-Beurling criterion, which connects the RH to a minimization problem involving a special class of neural networks. This note provides a gentle introduction to RH and explores its connection to functional analysis and machine learning.
Introduction
The Riemann Hypothesis (RH) is one of the most famous unsolved problems in mathematics. It posits that all non-trivial zeros of the Riemann zeta function $\zeta(z)$ lie on the "critical line" where $Re(z) = 1/2$. Proving this would provide deep insights into the nature of prime numbers. In the 1950s, mathematicians Nyman and Beurling discovered a functional analysis equivalent: RH is true if and only if a specific set of functions is "dense" in the space $L_2(0, 1)$. This means that any function in that space can be approximated with arbitrary precision by a linear combination of these special functions.
The Nyman-Beurling Criterion as a Neural Network
The Nyman-Beurling criterion defines a class of functions $\mathcal{N}$ that use the "fractional part" function $\rho(x) = x - \lfloor x \rfloor$ as an activation function. These functions are structured as: $$f(x) = \sum c_i \rho(\beta_i/x)$$ subject to the constraint $\sum c_i \beta_i = 0$. In machine learning terms, this is a single-layer neural network where the "neurons" are post-activations of the fractional part function.
A key insight is the "Step Function Surprise": despite the fractional part function $\rho(x)$ being highly oscillatory near zero, the linear constraint on the weights ensures that the resulting neural network $f(x)$ is actually a step function. The "hardness" of the Riemann Hypothesis is thus mathematically equivalent to the "hardness" of an approximation problem: can these step-function networks approximate any function in $L_2(0, 1)$?
Generalization to Higher Dimensions
This paper extends the 1D Nyman-Beurling criterion to multi-dimensional inputs ($d \ge 2$). The author introduces a new class $\mathcal{N}_d$ constructed as an additive model, where the function is a sum of $d$ independent 1D Nyman-Beurling networks.
The research proves that density in $d$ dimensions is a sufficient condition for RH. If the class $\mathcal{N}_d$ is dense in $L_2(I_d)$, then the region $Re(z) > 1/2$ is free of zeros. However, the "necessary" condition—proving that RH implies density—remains an open problem for $d \ge 2$ due to the additive structure of the multi-dimensional class.
Probabilistic Zero-Free Regions
Since calculating the exact $L_2$ distance between a target function and the network is often intractable, the author uses a probabilistic framework. By applying Hoeffding’s inequality, the approximation error can be bounded using Monte Carlo samples. This allows for the definition of regions in the complex plane that are "zero-free" with high probability.
The paper provides a concrete formula for a zero-free region based on the approximation error $\delta$: $\{z \in \mathbb{C}, Re(z) > \frac{1}{2}(1 + \delta^{2/d}|z|^2)\}$. As shown in the figure, as the approximation error $\Delta$ decreases, the guaranteed zero-free region expands toward the critical line.
Limitations and Future Outlook
While this approach bridges number theory and machine learning, practical implementation faces significant hurdles. To improve upon current numerical verifications of RH (which cover imaginary parts up to $3 \cdot 10^{12}$), a sample size of roughly $10^{24}$ would be required, making this Monte Carlo approach unfeasible with current hardware.
Furthermore, optimization remains a challenge. Since the activation function results in a non-continuous step function, standard gradient descent cannot be used. This suggests a need for combinatorial or derivative-free optimization methods to effectively "train" these networks and explore the density problem further.
Summary updated