Lune

NeurIPS2024Top-tier venue

Unsupervised Discovery of Formulas for Mathematical Constants

Michael Shalyt, Uri Seligmann, Itay Beit Halachmi, Ofir David, Rotem Elimelech, Ido Kaminer

Abstract

Ongoing efforts that span over decades show a rise of AI methods for accelerating scientific discovery, yet accelerating discovery in mathematics remains a persistent challenge for AI. Specifically, AI methods were not effective in creation of formulas for mathematical constants because each such formula must be correct for infinite digits of precision, with"near-true"formulas providing no insight toward the correct ones. Consequently, formula discovery lacks a clear distance metric needed to guide automated discovery in this realm. In this work, we propose a systematic methodology for categorization, characterization, and pattern identification of such formulas. The key to our methodology is introducing metrics based on the convergence dynamics of the formulas, rather than on the numerical value of the formula. These metrics enable the first automated clustering of mathematical formulas. We demonstrate this methodology on Polynomial Continued Fraction formulas, which are ubiquitous in their intrinsic connections to mathematical constants, and generalize many mathematical functions and structures. We test our methodology on a set of 1,768,900 such formulas, identifying many known formulas for mathematical constants, and discover previously unknown formulas for π\pi, ln⁡(2)\ln(2), Gauss', and Lemniscate's constants. The uncovered patterns enable a direct generalization of individual formulas to infinite families, unveiling rich mathematical structures. This success paves the way towards a generative model that creates formulas fulfilling specified mathematical properties, accelerating the rate of discovery of useful formulas.

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.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. From Euler to AI: Unifying Formulas for Mathematical ConstantsTomer Raz, Michael Shalyt, Elyasheev Leibtag, Rotem Kalisch et al.NeurIPS 2025 · 4 citations

Related papers

  1. Automated Search for Conjectures on Mathematical Constants using Analysis of Integer SequencesOfir Razon, Yoav Harris, Shahar Gottlieb, Dan Carmon et al.ICML 2023 · 6 citations
  2. The Ramanujan Library - Automated Discovery on the Hypergraph of Integer RelationsItay Beit Halachmi, Ido KaminerICLR 2025
  3. Program of Thoughts for Financial Reasoning: Leveraging Dynamic In-Context Examples and Generative RetrievalSubhendu Khatuya, Shashwat Naidu, Pawan Goyal, Niloy GangulyEMNLP 2025 · 3 citations
  4. Assessing the Creativity of LLMs in Proposing Novel Solutions to Mathematical ProblemsJunyi Ye, Jingyi Gu, Xinyun Zhao, Wenpeng Yin et al.AAAI 2025 · 2 citations
  5. FIND: A Framework for Discovering Formulas in DataTingxiong Xiao, Yuxiao Cheng, Jinli SuoAAAI 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines