---
title: "Lean Census: A Distributional Analysis of AI-Generated Lean Code"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.28430v1"
permalink: "https://feed.astralor.com/items/itm_725ba80b12cbe300606e77cb"
published: "2026-11-21T00:02:25.000Z"
score: 51
channel: "tech"
tags: ["Lean Census","Distributional Analysis","AI-Generated Lean Code","AI-generated Lean","Mathlib","For"]
---

# Lean Census: A Distributional Analysis of AI-Generated Lean Code

## 速览

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 e…

## 关键点

- 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'…
- The AI-generated libraries have more inline claims per theorem, longer proofs, fewer instances, and more private declarations than the human-written ones.

## 全文

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.

---

引用前请核对原文;本文由星际流动整理:https://feed.astralor.com/items/itm_725ba80b12cbe300606e77cb
