arXiv Science⌕ Search

arXiv · 2611.38669

Pruned or Rewritten? Tracing Declarations Across Three Versions of a 17-Million-Line Lean Proof of the Riemann Hypothesis, Based on Eduinformatics

Abstract

A Lean 4 proof of the Riemann Hypothesis was released on 20 November 2026 with 175,187 files and 17.4 million lines. Within a week it existed in three versions: the original release, a branch consolidated by volunteers (47,885 modules, 14.6 million lines), and a condensed rewriting that became the community's main line (802 files, 0.48 million lines, 2.8% of the original). We ask whether the reduction came from pruning or from rewriting, and how far pruning alone could have gone. Using compiled indexes and declaration-level dependency graphs, we trace declarations across the versions. Consolidation kept the names: 92% of the consolidated branch's real declarations have a counterpart of the same name in the original. The condensed version shares almost nothing with the consolidated branch: only 47 of its 26,018 real declarations in the dependency graph (0.18%) match one by name and statement, and the nine full names common to all three versions are the fixed statements of the challenge. The declarations dropped were not the unused ones; their use profile is close to that of the whole branch. Removing every declaration of the consolidated branch that is unreachable from the five main theorems would cut its declaration lines by only 2.8% (deleting whole declarations, without changing the others), whereas the condensed version has 2.7% of the reachable lines. At the level of declaration text, the reduction is therefore almost entirely due to rewriting, not to pruning. The condensed version is also organised differently: it separates a library with no counted use of the proof-specific part, whereas the top-level namespaces of the consolidated branch all depend on one another. We discuss what this implies for checking and maintaining very large AI-written formal artifacts.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Kunihiko Takamatsu, Katsuhiko Murakami, Sayaka Matsumoto, Tomohiro Akiyama, Shimpei Matsumoto, Katsuyuki Kunida, Satoshi Takahashi, Tokuro Matsuo, Sachio Hirokawa, Kazuya Tsuruta, Ryosuke Kozaki, Shuto Nishida, Koma Takamatsu, Ford Lumban Gaol, Masao Mori. 2026-11-28. Pruned or Rewritten? Tracing Declarations Across Three Versions of a 17-Million-Line Lean Proof of the Riemann Hypothesis, Based on Eduinformatics. https://arxiv.science/abs/2611.38669

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Text-to-CadQuery: Automating CAD Model Generation from Text with Scalable Large Language Models

Computer-aided design (CAD) is fundamental to modern engineering and manufacturing, but creating CAD models still requires expert knowledge and specialized software. Recent advances in large language models (LLMs) open up the possibility of generative CAD, where natural language is directly translated into parametric 3D models. However, most existing methods generate task-specific command sequences, a custom token format that pretrained models have not seen and that needs dataset-specific conversion code to produce a 3D model, and prior methods built on them train task-specific models from scratch. To tackle this issue, we propose generating CadQuery, a Python-based CAD scripting language, directly from text. We augment the Text2CAD dataset with 170,000 CadQuery annotations, obtained by deterministic translation and verified geometrically against the source CAD models. We fine-tune four sizes of one model family, Qwen2.5 (0.5B to 7B), under identical settings and observe consistent improvements with size. On held-out models, our best model outperforms the Text2CAD baseline by a wide margin: it raises F1 from 0.34 to 0.69 and volumetric IoU from 0.38 to 0.74 and raises the share of outputs judged by a vision-language model to match the reference from 28.0% to 65.4%. Compared with a command-sequence baseline on the same backbone, CadQuery reaches the same shape accuracy, is slightly more accurate in absolute dimensions, transfers better on a small external benchmark, and yields readable, editable programs that export directly to STEP without dataset-specific conversion code. Project page: https://github.com/Text-to-CadQuery/Text-to-CadQuery.

cs.AI↗

Persona Generators: Generating Diverse Synthetic Personas for Arbitrary Contexts

Evaluating AI systems that interact with humans requires understanding their behavior across diverse user populations, but collecting representative human data is often expensive or infeasible, particularly for novel technologies or hypothetical future scenarios. Recent work in Generative Agent-Based Modeling has shown that large language models can simulate human-like synthetic personas with high fidelity, accurately reproducing the beliefs and behaviors of specific individuals. However, most approaches require detailed data about target populations and often prioritize density matching (replicating what is most probable) rather than support coverage (spanning what is possible), leaving long-tail behaviors underexplored. We introduce Persona Generators, functions that can produce diverse synthetic populations tailored to arbitrary contexts. We apply an iterative improvement loop based on AlphaEvolve, using large language models as mutation operators to refine our Persona Generator code over hundreds of iterations. The optimization process produces lightweight Persona Generators that can automatically expand small descriptions into populations of diverse synthetic personas that maximize coverage of opinions and preferences along relevant diversity axes. We demonstrate that evolved generators substantially outperform existing baselines across six diversity metrics on held-out contexts, producing populations that span rare trait combinations difficult to achieve in standard LLM outputs.

cs.AI↗

AI to Learn 2.0: From AI-Assisted Performance to Human Understanding and Durable Knowledge

How can working with AI help a person understand a problem well enough to tackle a new one? I propose AI to Learn 2.0 as a way to pursue that goal in research and education. Alongside performance on the assisted task, I consider what the person can later explain or do under stated conditions (the capability residual) and what resources they can keep, examine and revise (the artifact residual). A binding model illustrates the distinction. Two sets of rates predict the same amount bound at equilibrium. Understanding why they agree suggests when to measure a difference. In my research on heated heart muscle cells, equations suggested by symbolic regression prompted me to examine neighbouring contractile units. Measurements and nonlinear analyses showed how a nearly constant period can coexist with chaotic local dynamics. I also used AI to develop a study system covering 21 rounds of Japan's national examination for clinical laboratory technologists. Students can revisit missed questions, and instructors can revise explanations in light of common errors. Routine practice uses stored materials without calling generative AI. I describe a five-part package for retaining a result and its supporting evidence, seven dimensions for reviewing it and a separate scale for evidence of human capability. The supplied code and offline review sheets agree on tests of the decision rules. Whether this approach improves learning or helps groups sustain expertise remains an empirical question.

cs.AI↗