遇见数据集

Mathlib4 Theorem Dependency Graph (LeanDojo Benchmark 4, v10)

收藏
Zenodo2026-04-28 更新2026-06-05 收录
官方服务:

资源简介:

This dataset contains a directed graph of theorem dependencies extracted from the Mathlib4 library, a formal mathematics ecosystem for the Lean 4 proof assistant. The graph was constructed from the LeanDojo Benchmark 4 (v10), originally published on Zenodo (DOI: 10.5281/zenodo.8040109).Each node represents a theorem or lemma identified by its fully qualified name within Mathlib4. A directed edge from node A to node B indicates that theorem A was used as a tactic in the proof of theorem B. Nodes are annotated with the file path of their source file within the Mathlib4 repository, which encodes the mathematical area the theorem belongs to (e.g., Mathlib/Topology/Semicontinuous.lean).The graph was exported from a Python pipeline using NetworkX and is provided in GraphML and GEXF formats for interoperability.Basic statistics: Nodes: 137,046Edges: 304,433Average degree: 4.44Isolated nodes: 43,138 (~32%)Strongly connected components: 137,046 (all trivial, confirming the graph is a DAG)Weakly connected components: 43,936 Source data: LeanDojo Benchmark 4, v10 (random/train.json, random/test.json, random/val.json)Related publication: Yang et al., LeanDojo; The mathlib Community, CPP 2020.

提供机构:
Zenodo
创建时间:
2026-04-28
二维码
社区交流群
二维码
科研交流群
商业服务