Datasets:
Rename MathFactor to MathlibGraph
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ size_categories:
|
|
| 14 |
- 100K<n<1M
|
| 15 |
---
|
| 16 |
|
| 17 |
-
#
|
| 18 |
|
| 19 |
Dependency graph of [Mathlib](https://github.com/leanprover-community/mathlib4) (v4.28.0-rc1), the largest formal mathematics library for Lean 4.
|
| 20 |
|
|
@@ -44,8 +44,8 @@ Dependency graph of [Mathlib](https://github.com/leanprover-community/mathlib4)
|
|
| 44 |
from huggingface_hub import hf_hub_download
|
| 45 |
import pandas as pd
|
| 46 |
|
| 47 |
-
nodes = pd.read_csv(hf_hub_download("Xinze-Li-Moqian/
|
| 48 |
-
edges = pd.read_csv(hf_hub_download("Xinze-Li-Moqian/
|
| 49 |
|
| 50 |
print(f"Nodes: {len(nodes)}, Edges: {len(edges)}")
|
| 51 |
# Output: Nodes: 347356, Edges: 10417589
|
|
@@ -78,7 +78,7 @@ print(f"Nodes: {len(nodes)}, Edges: {len(edges)}")
|
|
| 78 |
|
| 79 |
## Citation
|
| 80 |
|
| 81 |
-
Part of the [
|
| 82 |
|
| 83 |
## License
|
| 84 |
|
|
|
|
| 14 |
- 100K<n<1M
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# MathlibGraph: Mathlib Dependency Graph Dataset
|
| 18 |
|
| 19 |
Dependency graph of [Mathlib](https://github.com/leanprover-community/mathlib4) (v4.28.0-rc1), the largest formal mathematics library for Lean 4.
|
| 20 |
|
|
|
|
| 44 |
from huggingface_hub import hf_hub_download
|
| 45 |
import pandas as pd
|
| 46 |
|
| 47 |
+
nodes = pd.read_csv(hf_hub_download("Xinze-Li-Moqian/MathlibGraph", "mathlib_nodes.csv", repo_type="dataset"))
|
| 48 |
+
edges = pd.read_csv(hf_hub_download("Xinze-Li-Moqian/MathlibGraph", "mathlib_edges.csv", repo_type="dataset"))
|
| 49 |
|
| 50 |
print(f"Nodes: {len(nodes)}, Edges: {len(edges)}")
|
| 51 |
# Output: Nodes: 347356, Edges: 10417589
|
|
|
|
| 78 |
|
| 79 |
## Citation
|
| 80 |
|
| 81 |
+
Part of the [MathlibGraph](https://github.com/MathNetwork/MathlibGraph) project — network analysis of formalized mathematics.
|
| 82 |
|
| 83 |
## License
|
| 84 |
|