The Network Structure of Mathlib

Xinze Li, Nanyun Peng, Simone Severini, Patrick Shafto · 2026

Read The Network Structure of Mathlib by Xinze Li, Nanyun Peng, Simone Severini, Patrick Shafto (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-24797.txt.

Description

Li, Peng, Severini and Shafto analyze Lean 4's Mathlib library as a layered graph of 308,129 declarations and 7,563 modules. Splitting the graph into explicit edges and compiler-made or proof-driven edges, they map its structure. Three findings stand out. Human taxonomies diverge from logical groups, with about half of links across names. Developers use a median of under 2 percent of imports. Formalization shrinks semantic hierarchies, with centrality tracking language infrastructure rather than math relevance.

Catalog record

CREATORXinze Li, Nanyun Peng, Simone Severini, Patrick Shafto
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE152115
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2604.24797

Browse the full library · About the Tower of Babel