The Ramanujan Library - Automated Discovery on the Hypergraph of Integer Relations
Itay Beit Halachmi, Ido Kaminer
Abstract
Fundamental mathematical constants appear in nearly every field of science, from physics to biology. Formulas that connect different constants often bring great insight by hinting at connections between previously disparate fields. Discoveries of such relations, however, have remained scarce events, relying on sporadic strokes of creativity by human mathematicians. Recent developments of algorithms for automated conjecture generation have accelerated the discovery of formulas for specific constants. Yet, the discovery of connections between constants has not been addressed. In this paper, we present the first library dedicated to mathematical constants and their interrelations. This library can serve as a central repository of knowledge for scientists from different areas, and as a collaborative platform for development of new algorithms. The library is based on a new representation that we propose for organizing the formulas of mathematical constants: a hypergraph, with each node representing a constant and each edge representing a formula. Using this representation, we propose and demonstrate a systematic approach for automatically enriching this library using PSLQ, an integer relation algorithm based on QR decomposition and lattice construction. During its development and testing, our strategy led to the discovery of 75 previously unknown connections between constants, including a new formula for the 'first continued fraction' constant C 1 , novel formulas for natural logarithms, and new formulas connecting π and e. The latter formulas generalize a century-old relation between π and e by Ramanujan, which until now was considered a singular formula and is now found to be part of a broader mathematical structure. The code supporting this library is a public, open-source API that can serve researchers in experimental mathematics and other fields of science.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Builds on1
Related papers
- Unsupervised Discovery of Formulas for Mathematical ConstantsMichael Shalyt, Uri Seligmann, Itay Beit Halachmi, Ofir David et al.NeurIPS 2024 · 2 citations
- A Unified Query Planning Framework for Conjunctive Regular Path QueriesYue Pang, Lei Zou, Angela Bonifati, M. Tamer Özsu et al.VLDB 2026
- Kronecker Generative Models for Power-Law Patterns in Real-World HypergraphsMinyoung Choe, Jihoon Ko, Taehyung Kwon, Kijung Shin et al.WWW 2025 · 2 citations
- Disentangled Contrastive Hypergraph Learning for Next POI RecommendationYantong Lai, Yijun Su, Lingwei Wei, Tianqi He et al.SIGIR 2024 · 56 citations
- Can Language Models Discover Scaling Laws?Haowei Lin, Haotian Ye, Wenzheng Feng, Quzhe Huang et al.ICLR 2026 · 11 citations
