Lean Census: A Distributional Analysis of AI-Generated Lean Code
Abstract
We compare two human-written and four AI-generated Lean libraries with Mathlib through the distributions of simple statistics of their code. For each library we measure inline claims in proofs, proof length, how often each declaration is used, and design choices such as instances and private declarations, and we read each against the variation among Mathlib's own areas. The AI-generated libraries have more inline claims per theorem, longer proofs, fewer instances, and more private declarations than the human-written ones. We release the code for the analysis as a package, lean-census, at https://github.com/project-numina/lean-census.
Create a lesson
Related papers
PFN-Syn: Generating Synthetic Tabular Data with Prior-Data Fitted Networks
Shared title terminology · Michael Zuo, Inwon Kang, Oshani Seneviratne et al.
Scalable Beckmann Maps Improve One-step Generation
Shared title terminology · Ulrik Unneberg, Shiyi Wang, Lee Cheuk-Kit et al.
Learning the Projection onto the Data Support: Distribution Learning that Avoids Memorization
Shared title terminology · Lin Chen, Dejan Slepčev
Graph Signal Generation via Graph-Aware Diffusion Models
Shared title terminology · Vimal K B, Sergio Rozada, Antonio G. Marques et al.
Beyond Math, Code, and Logic: Do Reasoning Models Transfer to Scientific Argumentation?
Shared title terminology · Buse Sibel Korkmaz, Antonio del Rio Chanona
Circular Predictive Coding Unlocks Effective Depth
Shared title terminology · Tommaso Salvatori, Matteo Forasassi