Dataset Viewer
Duplicate
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
covered_bit: int64
bits: struct<0: string, 1: string, 2: string, 3: string, 4: string, 5: string, 6: string, 7: string, 8: st (... 40 chars omitted)
  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
  child 8, 8: string
  child 9, 9: string
  child 10, 10: string
  child 11, 11: string
method: string
nodes: int64
covered_nodes: int64
tactic_rows: int64
rows_attributed: int64
method_rows: int64
method_rows_attributed: 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
edges: int64
edges_between_non_generated_names: int64
lean_toolchain: string
built_at_utc: timestamp[s]
raw_edges_before_dedup_and_selfedges: int64
generated_looking_names: int64
total_gzip_bytes: int64
to
{'dataset': Value('string'), 'mathlib_commit': Value('string'), 'lean_toolchain': Value('string'), 'built_at_utc': Value('timestamp[s]'), 'nodes': Value('int64'), 'edges': Value('int64'), 'raw_edges_before_dedup_and_selfedges': Value('int64'), 'generated_looking_names': Value('int64'), 'edges_between_non_generated_names': Value('int64'), 'sizes_bytes': {'names.txt': {'raw': Value('int64'), 'gzip': Value('int64')}, 'modules.txt': {'raw': Value('int64'), 'gzip': Value('int64')}, 'node_module.u32': {'raw': Value('int64'), 'gzip': Value('int64')}, 'degrees.vbyte': {'raw': Value('int64'), 'gzip': Value('int64')}, 'targets.vbyte': {'raw': Value('int64'), 'gzip': Value('int64')}}, 'total_gzip_bytes': 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 272, 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 3052, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2559, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2584, 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 558, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, 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 361, 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 2381, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              dataset: string
              mathlib_commit: string
              covered_bit: int64
              bits: struct<0: string, 1: string, 2: string, 3: string, 4: string, 5: string, 6: string, 7: string, 8: st (... 40 chars omitted)
                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
                child 8, 8: string
                child 9, 9: string
                child 10, 10: string
                child 11, 11: string
              method: string
              nodes: int64
              covered_nodes: int64
              tactic_rows: int64
              rows_attributed: int64
              method_rows: int64
              method_rows_attributed: 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
              edges: int64
              edges_between_non_generated_names: int64
              lean_toolchain: string
              built_at_utc: timestamp[s]
              raw_edges_before_dedup_and_selfedges: int64
              generated_looking_names: int64
              total_gzip_bytes: int64
              to
              {'dataset': Value('string'), 'mathlib_commit': Value('string'), 'lean_toolchain': Value('string'), 'built_at_utc': Value('timestamp[s]'), 'nodes': Value('int64'), 'edges': Value('int64'), 'raw_edges_before_dedup_and_selfedges': Value('int64'), 'generated_looking_names': Value('int64'), 'edges_between_non_generated_names': Value('int64'), 'sizes_bytes': {'names.txt': {'raw': Value('int64'), 'gzip': Value('int64')}, 'modules.txt': {'raw': Value('int64'), 'gzip': Value('int64')}, 'node_module.u32': {'raw': Value('int64'), 'gzip': Value('int64')}, 'degrees.vbyte': {'raw': Value('int64'), 'gzip': Value('int64')}, 'targets.vbyte': {'raw': Value('int64'), 'gzip': Value('int64')}}, 'total_gzip_bytes': Value('int64')}
              because column names don't match

Need 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.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 by source position (239,553 declarations resolved; unresolved ones are unknown, not "no tactic"). Built with scripts/ingest_tactics.py.
Downloads last month
-