--- license: apache-2.0 tags: [lean4, mathlib, dependency-graph] --- # Leanage Mathlib dependency store Compact dependency graph of Mathlib, used by the Leanage explorer to compute complete dependency closures and axiom audits in the browser. - Source: [mathlib-initiative/mathlib-const-dep](https://huggingface.co/datasets/mathlib-initiative/mathlib-const-dep) (Apache-2.0), Mathlib commit `fc4f59e577feb1a4956671bc04ac18aaaf8cd842`, Lean v4.36.0. - 807,065 declarations, 21,494,898 edges (duplicates and self-edges removed). Edges are untyped. - Files (each gzip-compressed): `names.txt` (sorted; line number is the node id), `modules.txt`, `node_module.u32`, `degrees.vbyte`, `targets.vbyte` (delta-coded LEB128 varints), `meta.json`. - Built with `scripts/ingest_const_dep.py` in the Leanage repository. Axiom results matched real Lean `#print axioms` on 59 of 59 checked declarations. - `tactics.u16.gz` + `tactics.json.gz` (optional): per-declaration bitmask of tactics found in the Mathlib source at the same commit, joined from [mathlib-initiative/mathlib-tactics](https://huggingface.co/datasets/mathlib-initiative/mathlib-tactics) by source position (239,553 declarations resolved; unresolved ones are unknown, not "no tactic"). Built with `scripts/ingest_tactics.py`.