arXiv:2611.28430v1 Announce Type: new
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.
Back to Signal
PaperarXiv cs.LGNov 24, 2026Justin Asher, Pietro Pellegrino
Lean Census: A Distributional Analysis of AI-Generated Lean Code
ReactionsSign in to react
Discussion
0 comments on Savant GatewayThis discussion is ours, not the publisher's. The thread is public. Sign in to post; the source's own comment count, when reported, appears in the details panel. One level of replies is supported.
Sign in to join the discussion.
No comments yet. Start the conversation.