MathlibGraph / v2 /summary.json
Xinze-Li-Moqian's picture
Upload v2/summary.json with huggingface_hub
0a26563 verified
{
"snapshot": {
"mathlib_commit": "534cf0b",
"snapshot_date": "2026-02-02",
"lean_version": "leanprover/lean4:v4.28.0-rc1"
},
"declaration_graph": {
"node_count": 308129,
"edge_count_raw": 8436366,
"edge_count_no_self_loops": 8431611,
"self_loops": 4755,
"explicit_edge_count": 2178534,
"explicit_edge_ratio": 0.2582,
"synthesized_edge_ratio": 0.7418,
"dag_depth": 83,
"dag_layers": 84,
"nodes_in_cycles": 5732,
"louvain_modularity": 0.4778,
"louvain_num_communities": 89,
"nmi_namespace_vs_community": 0.3458,
"power_law_alpha_in": 1.781,
"power_law_alpha_in_source": "paper appendix-decl.tex table, xmin=20",
"power_law_alpha_out": 2.936,
"power_law_alpha_out_source": "paper appendix-decl.tex table"
},
"module_graph": {
"node_count": 7564,
"edge_count": 20881,
"dag_depth": 154,
"dag_layers": 155,
"louvain_modularity": 0.6101,
"louvain_num_communities": 15,
"transitive_redundancy_ratio": 0.175,
"transitive_redundancy_ratio_source": "paper contribution.tex",
"median_import_utilization": 0.016,
"median_import_utilization_source": "paper contribution.tex (per-edge median over all import edges)",
"critical_path_parallelism_ratio": 22.4,
"critical_path_parallelism_ratio_source": "paper appendix-module.tex"
},
"namespace_graph_k2": {
"node_count": 10097,
"edge_count": 332081,
"dag_depth": 7,
"dag_layers": 8,
"dag_note": "namespace graph has cycles; depth computed on condensed SCC graph",
"louvain_modularity": 0.2703,
"louvain_num_communities": 13,
"nmi_namespace_vs_community": 0.2456,
"cross_namespace_ratio": 0.8581,
"cross_namespace_ratio_note": "fraction of declaration edges crossing depth-2 namespace boundaries"
},
"edge_decompositions": {
"proof_only_ratio": 0.439,
"statement_only_ratio": 0.081,
"mixed_ratio": 0.48,
"source": "paper contribution.tex (requires Lean extraction not in current dataset)"
},
"kind_distribution": {
"theorem": 243725,
"definition": 48664,
"abbrev": 6667,
"constructor": 4755,
"inductive": 3813,
"opaque": 499,
"quotient": 3,
"axiom": 3
}
}