Datasets:
Publish compact transition schema v3
Browse filesFiles changed (2)
- README.md+11-14
- schema.json+23-32
68 unmodified lines697071727374757613 unmodified lines9091929394959697989910012 unmodified lines11311411511611711811912012112212312412512612712812968 unmodified linesRows are written as Parquet shards. Before publication, every shard is checkedagainst its source rows; uploaded bytes are read back and verified at an immutableHugging Face revision. Batch manifests record shard hashes, source-batch identity,and extraction evidence. A `replay_status` value records whether an additionalreplay check was performed; publication alone does not mean replay certification.## Evaluation contamination and quarantine13 unmodified lines## FormatZstandard-compressed Parquet shards, one row per transition, schema version 2.The physical encoding is `leangpt-parquet-v2`: all 40 columns are retained.`schema_version` and `step_index` are int64; `terminal` is boolean;`imports`, `atomic_tactics`, `used_premises`, and `available_context` are lists ofstrings. Other columns are nullable strings.The following recursive/object columns contain lossless JSON text (parse with`json.loads` when non-null): `provenance`, `source_start`, `source_end`,12 unmodified lines| Fields | Meaning ||---|---|| `example_id`, `proof_id`, `step_index`, `split`, `schema_version` | Stable identity, position in the proof, dataset split, and format version. `example_id` is globally unique; `proof_id` alone may not be. || `source_dataset`, `source_url`, `repo_commit`, `file_path`, `lean_version`, `mathlib_version`, `extractor_version`, `pantograph_version`, `provenance` | Where the theorem came from and the exact environment and extraction provenance needed to reproduce or audit it. || `theorem_name`, `theorem_statement_raw`, `theorem_source_raw`, `namespace`, `imports` | The theorem and its surrounding Lean source context. || `state_before_raw`, `tactic_raw`, `state_after_raw` | The familiar human-readable goal display and tactic text for the transition. || `state_before_structured`, `state_after_structured` | Parsed versions of the displayed proof states. || `state_before_internal`, `state_after_internal` | Lean's detailed elaborator state: active goals, local declarations, targets, metavariables, universe metavariables, and recursive expressions. || `atomic_tactics`, `tactic_internal` | The tactic's atomic view and its full Lean `Syntax` representation, including identifier resolution, premise references, and nested tactic structure when available. || `used_premises`, `available_context`, `source_start`, `source_end` | Referenced declarations, candidate context, and the tactic's source span. || `terminal`, `terminal_marker`, `terminal_raw` | Whether this step closes the proof and the source/display marker associated with closure. || `theorem_fingerprint`, `state_fingerprint`, `transition_fingerprint` | Deterministic hashes useful for deduplication, grouping, and integrity checks. || `replay_status`, `replay_error` | Result of optional replay validation; `not_run` means no independent replay was attempted. |The recursive structures are stored as lossless JSON strings in Parquet. Parse themwith `json.loads` when you need their tree structure; leave them as strings for68 unmodified lines6970717273747513 unmodified lines8990919293949596979812 unmodified lines11111211311411511611711811912012112212312412512668 unmodified linesRows are written as Parquet shards. Before publication, every shard is checkedagainst its source rows; uploaded bytes are read back and verified at an immutableHugging Face revision. Batch manifests record shard hashes, source-batch identity,and extraction evidence.## Evaluation contamination and quarantine13 unmodified lines## FormatZstandard-compressed Parquet shards, one row per transition. The physical encodingis `leangpt-parquet-v3` with 31 columns. `step_index` is int64; `terminal` isboolean; `imports` and `available_context` are lists of strings. Other columns arenullable strings.The following recursive/object columns contain lossless JSON text (parse with`json.loads` when non-null): `provenance`, `source_start`, `source_end`,12 unmodified lines| Fields | Meaning ||---|---|| `example_id`, `proof_id`, `step_index`, `split` | Stable identity, position in the proof, and dataset split. `example_id` is globally unique; `proof_id` alone may not be. || `source_dataset`, `source_url`, `repo_commit`, `file_path`, `lean_version`, `mathlib_version`, `extractor_version`, `provenance` | Where the theorem came from and the environment and extraction provenance needed to reproduce or audit it. || `theorem_name`, `theorem_statement_raw`, `theorem_source_raw`, `imports` | The theorem and its surrounding Lean source context. || `state_before_raw`, `tactic_raw`, `state_after_raw` | The familiar human-readable goal display and tactic text for the transition. || `state_before_structured`, `state_after_structured` | Parsed versions of the displayed proof states. || `state_before_internal`, `state_after_internal` | Lean's detailed elaborator state: active goals, local declarations, targets, metavariables, universe metavariables, and recursive expressions. || `tactic_internal` | The tactic's full Lean `Syntax` representation, including atomic and nested tactic structure, identifier resolution, and premise references when available. || `available_context`, `source_start`, `source_end` | Candidate context and the tactic's source span. || `terminal` | Whether this step closes the proof. || `theorem_fingerprint`, `state_fingerprint`, `transition_fingerprint` | Deterministic hashes useful for deduplication, grouping, and integrity checks. |The recursive structures are stored as lossless JSON strings in Parquet. Parse themwith `json.loads` when you need their tree structure; leave them as strings for
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474 unmodified lines52535455{"encoding": "leangpt-parquet-v2","columns": {"schema_version": "int64","example_id": "string","source_dataset": "string","source_url": "string","repo_commit": "string","file_path": "string","lean_version": "string","mathlib_version": "string","extractor_version": "string","pantograph_version": "string","theorem_name": "string","theorem_statement_raw": "string","theorem_source_raw": "string","namespace": "string","imports": "list<item: string>","proof_id": "string","step_index": "int64","state_before_raw": "string","state_before_structured": "string","state_before_internal": "string","tactic_raw": "string","atomic_tactics": "list<item: string>","tactic_internal": "string","state_after_raw": "string","state_after_structured": "string","state_after_internal": "string","terminal": "bool","terminal_marker": "string","terminal_raw": "string","used_premises": "list<item: string>","available_context": "list<item: string>","source_start": "string","source_end": "string","theorem_fingerprint": "string","state_fingerprint": "string","transition_fingerprint": "string","provenance": "string","replay_status": "string","replay_error": "string","split": "string"},"json_columns": ["provenance","source_end",4 unmodified lines"state_before_structured","tactic_internal"]}12345678910111213141516171819202122232425262728293031323334353637384 unmodified lines43444546{"columns": {"available_context": "list<item: string>","example_id": "string","extractor_version": "string","file_path": "string","imports": "list<item: string>","lean_version": "string","mathlib_version": "string","proof_id": "string","provenance": "string","repo_commit": "string","source_dataset": "string","source_end": "string","source_start": "string","source_url": "string","split": "string","state_after_internal": "string","state_after_raw": "string","state_after_structured": "string","state_before_internal": "string","state_before_raw": "string","state_before_structured": "string","state_fingerprint": "string","step_index": "int64","tactic_internal": "string","tactic_raw": "string","terminal": "bool","theorem_fingerprint": "string","theorem_name": "string","theorem_source_raw": "string","theorem_statement_raw": "string","transition_fingerprint": "string"},"encoding": "leangpt-parquet-v3","json_columns": ["provenance","source_end",4 unmodified lines"state_before_structured","tactic_internal"]}
README.md+11-14
schema.json+23-32