Dataset Viewer
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
dataset: string
mathlib_commit: string
lean_toolchain: string
built_at_utc: timestamp[s]
nodes: int64
edges: int64
raw_edges_before_dedup_and_selfedges: int64
generated_looking_names: int64
edges_between_non_generated_names: int64
sizes_bytes: struct<names.txt: struct<raw: int64, gzip: int64>, modules.txt: struct<raw: int64, gzip: int64>, nod (... 142 chars omitted)
child 0, names.txt: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
child 1, modules.txt: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
child 2, node_module.u32: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
child 3, degrees.vbyte: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
child 4, targets.vbyte: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
total_gzip_bytes: int64
boilerplate_mask: int64
lean_constants_not_in_store: int64
counts: struct<instance: int64, projection: int64, coe: int64, coe_decl: int64, class: int64, structure: int (... 62 chars omitted)
child 0, instance: int64
child 1, projection: int64
child 2, coe: int64
child 3, coe_decl: int64
child 4, class: int64
child 5, structure: int64
child 6, structure_ctor: int64
child 7, boilerplate: int64
child 8, unknown: int64
lean: string
bits: struct<0: string, 1: string, 2: string, 3: string, 4: string, 5: string, 6: string, 7: string>
child 0, 0: string
child 1, 1: string
child 2, 2: string
child 3, 3: string
child 4, 4: string
child 5, 5: string
child 6, 6: string
child 7, 7: string
to
{'mathlib_commit': Value('string'), 'lean': Value('string'), 'bits': {'0': Value('string'), '1': Value('string'), '2': Value('string'), '3': Value('string'), '4': Value('string'), '5': Value('string'), '6': Value('string'), '7': Value('string')}, 'boilerplate_mask': Value('int64'), 'nodes': Value('int64'), 'lean_constants_not_in_store': Value('int64'), 'counts': {'instance': Value('int64'), 'projection': Value('int64'), 'coe': Value('int64'), 'coe_decl': Value('int64'), 'class': Value('int64'), 'structure': Value('int64'), 'structure_ctor': Value('int64'), 'boilerplate': Value('int64'), 'unknown': Value('int64')}}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
dataset: string
mathlib_commit: string
lean_toolchain: string
built_at_utc: timestamp[s]
nodes: int64
edges: int64
raw_edges_before_dedup_and_selfedges: int64
generated_looking_names: int64
edges_between_non_generated_names: int64
sizes_bytes: struct<names.txt: struct<raw: int64, gzip: int64>, modules.txt: struct<raw: int64, gzip: int64>, nod (... 142 chars omitted)
child 0, names.txt: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
child 1, modules.txt: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
child 2, node_module.u32: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
child 3, degrees.vbyte: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
child 4, targets.vbyte: struct<raw: int64, gzip: int64>
child 0, raw: int64
child 1, gzip: int64
total_gzip_bytes: int64
boilerplate_mask: int64
lean_constants_not_in_store: int64
counts: struct<instance: int64, projection: int64, coe: int64, coe_decl: int64, class: int64, structure: int (... 62 chars omitted)
child 0, instance: int64
child 1, projection: int64
child 2, coe: int64
child 3, coe_decl: int64
child 4, class: int64
child 5, structure: int64
child 6, structure_ctor: int64
child 7, boilerplate: int64
child 8, unknown: int64
lean: string
bits: struct<0: string, 1: string, 2: string, 3: string, 4: string, 5: string, 6: string, 7: string>
child 0, 0: string
child 1, 1: string
child 2, 2: string
child 3, 3: string
child 4, 4: string
child 5, 5: string
child 6, 6: string
child 7, 7: string
to
{'mathlib_commit': Value('string'), 'lean': Value('string'), 'bits': {'0': Value('string'), '1': Value('string'), '2': Value('string'), '3': Value('string'), '4': Value('string'), '5': Value('string'), '6': Value('string'), '7': Value('string')}, 'boilerplate_mask': Value('int64'), 'nodes': Value('int64'), 'lean_constants_not_in_store': Value('int64'), 'counts': {'instance': Value('int64'), 'projection': Value('int64'), 'coe': Value('int64'), 'coe_decl': Value('int64'), 'class': Value('int64'), 'structure': Value('int64'), 'structure_ctor': Value('int64'), 'boilerplate': Value('int64'), 'unknown': Value('int64')}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
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 (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.pyin the Leanage repository. Axiom results matched real Lean#print axiomson 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 by source position (239,553 declarations resolved; unresolved ones are unknown, not "no tactic"). Built withscripts/ingest_tactics.py.flags.u8.gz+flags.json.gz(optional): per-declaration byte of Lean flags (instance, projection,@[coe], coe declaration, class, structure, structure constructor), extracted from Mathlib with Lean 4.36.0 byscripts/extract_flags.lean. Scoped instances are not included.
- Downloads last month
- 37