Datasets:
Rename MathFactor to MathlibGraph
Browse files13 unmodified lines141516171718192023 unmodified lines4445464748474849505126 unmodified lines787980818182838413 unmodified lines - 100K<n<1M---
# MathFactor: Mathlib Dependency Graph Dataset# MathlibGraph: Mathlib Dependency Graph Dataset
Dependency graph of [Mathlib](https://github.com/leanprover-community/mathlib4) (v4.28.0-rc1), the largest formal mathematics library for Lean 4.
23 unmodified linesfrom huggingface_hub import hf_hub_downloadimport pandas as pd
nodes = pd.read_csv(hf_hub_download("Xinze-Li-Moqian/mathfactor", "mathlib_nodes.csv", repo_type="dataset"))edges = pd.read_csv(hf_hub_download("Xinze-Li-Moqian/mathfactor", "mathlib_edges.csv", repo_type="dataset"))nodes = pd.read_csv(hf_hub_download("Xinze-Li-Moqian/MathlibGraph", "mathlib_nodes.csv", repo_type="dataset"))edges = pd.read_csv(hf_hub_download("Xinze-Li-Moqian/MathlibGraph", "mathlib_edges.csv", repo_type="dataset"))
print(f"Nodes: {len(nodes)}, Edges: {len(edges)}")# Output: Nodes: 347356, Edges: 1041758926 unmodified lines
## Citation
Part of the [MathFactor](https://github.com/Xinze-Li-Moqian/MathFactor) project — network science analysis of mathematical knowledge.Part of the [MathlibGraph](https://github.com/MathNetwork/MathlibGraph) project — network analysis of formalized mathematics.
## License
README.md+4-4