Datasets:
id stringlengths 35 77 | repo stringclasses 1
value | rev stringclasses 1
value | path stringlengths 40 82 | module stringlengths 35 77 | file stringlengths 4.58k 29.9k | public_theorems listlengths 3 40 | frozen listlengths 5 49 | free_length int64 1.09k 10.8k | file_length int64 2.59k 17.1k | heartbeats int64 1.94k 113k | image stringclasses 1
value | lean_toolchain stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
TauCeti.Analysis.Normed.Module.Exhaustion | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/Analysis/Normed/Module/Exhaustion.lean | TauCeti.Analysis.Normed.Module.Exhaustion | /-
Copyright (c) 2026 The Tau Ceti contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: The Tau Ceti contributors
-/
module
public import Mathlib.Analysis.Normed.Module.Basic
public import Mathlib.Topology.MetricSpace.Thickening
public import TauCeti.Topology.... | [
"TauCeti.filledExhaustion_def",
"TauCeti.mem_filledExhaustion_iff",
"TauCeti.norm_le_of_mem_filledExhaustion",
"TauCeti.le_edist_of_mem_filledExhaustion",
"TauCeti.le_dist_of_mem_filledExhaustion",
"TauCeti.filledExhaustion_subset",
"TauCeti.filledExhaustion_empty",
"TauCeti.filledExhaustion_univ",
... | [
"/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\nAuthors: The Tau Ceti contributors\n-/\nmodule\n\npublic import Mathlib.Analysis.Normed.Module.Basic\npublic import Mathlib.Topology.MetricSpace.Thickening\npublic import Tau... | 4,756 | 9,421 | 5,011 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
TauCeti.RepresentationTheory.Induction.Cyclotomic.SplittingField | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/RepresentationTheory/Induction/Cyclotomic/SplittingField.lean | TauCeti.RepresentationTheory.Induction.Cyclotomic.SplittingField | /-
Copyright (c) 2026 The Tau Ceti contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: The Tau Ceti contributors
-/
module
public import TauCeti.RepresentationTheory.Induction.Cyclotomic.Basic
public import TauCeti.RepresentationTheory.CharacterTable.Realizat... | [
"TauCeti.virtualCharacters_eq_map_of_isPrimitiveRoot",
"FDRep.exists_simple_nonempty_iso_baseChange_of_isPrimitiveRoot",
"FDRep.exists_simple_nonempty_iso_baseChange_of_isCyclotomicExtension",
"FDRep.exists_simple_nonempty_iso_baseChange_adjoin_of_isPrimitiveRoot"
] | [
"/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\nAuthors: The Tau Ceti contributors\n-/\nmodule\n\npublic import TauCeti.RepresentationTheory.Induction.Cyclotomic.Basic\npublic import TauCeti.RepresentationTheory.CharacterT... | 3,314 | 5,383 | 12,238 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
TauCeti.RingTheory.PowerSeries.PontryaginSeries | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/RingTheory/PowerSeries/PontryaginSeries.lean | TauCeti.RingTheory.PowerSeries.PontryaginSeries | /-
Copyright (c) 2026 The Tau Ceti contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: The Tau Ceti contributors
-/
module
public import TauCeti.RingTheory.PowerSeries.Cartier
import TauCeti.RingTheory.PowerSeries.Rescale
/-!
# The formal Pontryagin series a... | [
"PowerSeries.pontryaginSeries_apply",
"PowerSeries.coeff_pontryaginSeries",
"PowerSeries.constantCoeff_pontryaginSeries",
"PowerSeries.pontryaginSeries_one",
"PowerSeries.pontryaginSeries_C",
"PowerSeries.pontryaginSeries_X",
"PowerSeries.pontryaginSeries_C_mul",
"PowerSeries.pontryaginSeries_monomial... | [
"/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\nAuthors: The Tau Ceti contributors\n-/\nmodule\n\npublic import TauCeti.RingTheory.PowerSeries.Cartier\nimport TauCeti.RingTheory.PowerSeries.Rescale\n\n/-!\n# The formal Pon... | 2,432 | 6,015 | 12,694 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
TauCeti.Geometry.Manifold.Distribution.IntegralManifold.Basic | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/Geometry/Manifold/Distribution/IntegralManifold/Basic.lean | TauCeti.Geometry.Manifold.Distribution.IntegralManifold.Basic | /-
Copyright (c) 2026 The Tau Ceti contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: The Tau Ceti contributors
-/
module
public import TauCeti.Geometry.Manifold.Distribution
public import TauCeti.Geometry.Manifold.IsManifold.Basic
public import Mathlib.Geom... | [
"TauCeti.isIntegralManifold_iff",
"TauCeti.IsIntegralManifold.nonempty",
"TauCeti.IsIntegralManifold.isImmersion",
"TauCeti.IsIntegralManifold.range_mfderiv",
"TauCeti.IsIntegralManifold.contMDiff",
"TauCeti.IsIntegralManifold.finrank_model_eq",
"TauCeti.isIntegralManifold_id",
"TauCeti.IsIntegralMani... | [
"/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\nAuthors: The Tau Ceti contributors\n-/\nmodule\n\npublic import TauCeti.Geometry.Manifold.Distribution\npublic import TauCeti.Geometry.Manifold.IsManifold.Basic\npublic impor... | 2,223 | 7,518 | 13,124 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
TauCeti.Geometry.Manifold.Orientation.Cover.Descent | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/Geometry/Manifold/Orientation/Cover/Descent.lean | TauCeti.Geometry.Manifold.Orientation.Cover.Descent | /-
Copyright (c) 2026 The Tau Ceti contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: The Tau Ceti contributors
-/
module
public import TauCeti.Geometry.Manifold.DifferentialForm.Involution
public import TauCeti.Geometry.Manifold.DifferentialForm.Pullback.Lo... | [
"TauCeti.Manifold.OrientationCover.exists_mpullback_proj_eq_iff",
"TauCeti.Manifold.OrientationCover.exists_mpullback_proj_eq_invariantPart",
"TauCeti.Manifold.OrientationCover.exists_smoothForm_mpullback_proj_eq_iff",
"TauCeti.Manifold.OrientationCover.smoothForm_mpullback_proj_injective",
"TauCeti.Manifol... | [
"/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\nAuthors: The Tau Ceti contributors\n-/\nmodule\n\npublic import TauCeti.Geometry.Manifold.DifferentialForm.Involution\npublic import TauCeti.Geometry.Manifold.DifferentialFor... | 2,316 | 4,542 | 37,442 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
TauCeti.GroupTheory.Index.PrimaryComponent | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/GroupTheory/Index/PrimaryComponent.lean | TauCeti.GroupTheory.Index.PrimaryComponent | /-
Copyright (c) 2026 The Tau Ceti contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: The Tau Ceti contributors
-/
module
public import Mathlib.GroupTheory.Torsion
public import Mathlib.GroupTheory.Index
import Mathlib.Data.Fintype.Pigeonhole
import TauCeti... | [
"AddSubgroup.finite_primaryComponent_of_injective",
"AddSubgroup.range_nsmul_sup_primaryComponent_eq_top_of_surjective",
"AddMonoidHom.index_range_mul_card_primaryComponent"
] | [
"/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\nAuthors: The Tau Ceti contributors\n-/\nmodule\n\npublic import Mathlib.GroupTheory.Torsion\npublic import Mathlib.GroupTheory.Index\n\nimport Mathlib.Data.Fintype.Pigeonhole... | 2,215 | 3,344 | 3,967 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
TauCeti.Geometry.Symplectic.Hamiltonian.CentralForce.TurningPoint | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/Geometry/Symplectic/Hamiltonian/CentralForce/TurningPoint.lean | TauCeti.Geometry.Symplectic.Hamiltonian.CentralForce.TurningPoint | /-
Copyright (c) 2026 The Tau Ceti contributors. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: The Tau Ceti contributors
-/
module
public import TauCeti.Geometry.Symplectic.Hamiltonian.CentralForce.Radial
public import TauCeti.Geometry.Symplectic.Hamiltonian.CentralF... | [
"TauCeti.absRadialMomentum_eq_sqrt",
"TauCeti.absRadialMomentum_eq_abs",
"TauCeti.div_absRadialMomentum_pos",
"TauCeti.intervalIntegrable_div_absRadialMomentum",
"TauCeti.intervalIntegrable_div_sq_mul_absRadialMomentum",
"TauCeti.radialPeriod_pos",
"TauCeti.sub_eq_integral_div_absRadialMomentum",
"Tau... | [
"/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 license as described in the file LICENSE.\nAuthors: The Tau Ceti contributors\n-/\nmodule\n\npublic import TauCeti.Geometry.Symplectic.Hamiltonian.CentralForce.Radial\npublic import TauCeti.Geometry.Symplectic.Hamilto... | 6,048 | 11,112 | 10,794 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
TauCeti.Analysis.ODE.EnergyEstimate.WeightCrossing | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/Analysis/ODE/EnergyEstimate/WeightCrossing.lean | TauCeti.Analysis.ODE.EnergyEstimate.WeightCrossing | "/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 l(...TRUNCATED) | ["TauCeti.WeakDerivStep.isFredholm_trajectoryOperator_sub_smul_id","TauCeti.WeakDerivStep.index_traj(...TRUNCATED) | ["/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 (...TRUNCATED) | 7,392 | 17,092 | 110,600 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
TauCeti.RingTheory.Kaehler.FormallyEtale | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/RingTheory/Kaehler/FormallyEtale.lean | TauCeti.RingTheory.Kaehler.FormallyEtale | "/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 l(...TRUNCATED) | ["TauCeti.kaehlerBasisOfFormallyEtale_apply","TauCeti.kaehlerBasisOfFormallyEtale_repr_map","TauCeti(...TRUNCATED) | ["/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 (...TRUNCATED) | 3,922 | 6,726 | 15,590 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
TauCeti.NumberTheory.NewtonPolygon.Mul | TauCetiProject/TauCeti | 75c8aed5fea63047615a25a9763fd5b68a86e891 | TauCeti/NumberTheory/NewtonPolygon/Mul.lean | TauCeti.NumberTheory.NewtonPolygon.Mul | "/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 l(...TRUNCATED) | ["PowerSeries.addValuation_coeff_mul_eq_add_of_lt","PowerSeries.addValuation_coeff_mul_eq_add_of_isL(...TRUNCATED) | ["/-\nCopyright (c) 2026 The Tau Ceti contributors. All rights reserved.\nReleased under Apache 2.0 (...TRUNCATED) | 10,114 | 15,205 | 7,766 | lean-compression:tauceti-75c8aed5fe-a608030cfc | leanprover/lean4:v4.37.0-rc1 |
Lean Compression (Tau Ceti)
Whole Lean 4 files for a task where a model makes a file shorter while it still proves everything it proved before. The environment that grades it lives at Mantissagithub/lean-compression.
The files come from Tau Ceti (Apache 2.0), an
AI-written mathematics library on top of Mathlib, at commit
75c8aed5fea63047615a25a9763fd5b68a86e891 (Lean v4.37.0-rc1). There are 52 files of 100 to
600 lines, with 599 public theorems between them.
from datasets import load_dataset
files = load_dataset("Pradheep1647/lean-compression-tauceti", split="train")
print(files[0]["path"], len(files[0]["public_theorems"]), "theorems to keep")
What may change
Each file is cut into frozen text, which a shortened file must keep exactly and in order, and free text, which it may rewrite as it likes:
| frozen | everything that is not a theorem (imports, open, variable, namespaces, definitions, instances, structures, notation), and each public theorem's docstring, attributes and statement, up to its := |
| free | each public theorem's proof, and every private theorem whole (it may be rewritten, merged with others or deleted) |
A definition fixes what a statement means, and an attribute such as @[simp] changes how other
files see a theorem, so neither may move. A private theorem is invisible outside its file, so
removing one breaks nothing.
"Public" is meant in Lean's module-system sense (inside a public section, not private), and it
was checked against Lean itself: every listed theorem is public to Lean, none the cut calls private
is, and all of them use only propext, Quot.sound and Classical.choice.
Grading
How the environment grades a shortened file (the whole-file grader is still being built in the repo; the single-theorem version is done):
A shortened file scores 0 unless all of these hold:
- its frozen pieces all appear, unchanged and in order;
- it compiles, and every public theorem uses only the three standard axioms;
- it uses at most twice the original's
heartbeats(counted for the whole file, see below); lake comparator --paranoidaccepts it: every listed theorem proves the same statement as in the original, and Lean's kernel, nanoda, lean4lean, con-leche and con-ron all agree.
Otherwise its score is 1 - new_free_length / free_length, never below 0. The original file itself
scores exactly 0.
Columns
| column | |
|---|---|
id, module, path |
the file's module name and its path in the repo |
repo, rev, lean_toolchain |
where the file comes from |
file |
the original file |
public_theorems |
full names of the theorems a shortened file must still prove, with the same statement |
frozen |
the frozen pieces, in file order, surrounding whitespace stripped |
free_length |
the free text's length, comments removed and whitespace collapsed (the score's denominator) |
file_length |
the whole file's length, counted the same way |
heartbeats |
the whole file's heartbeats, in #count_heartbeats units |
image |
the Prime sandbox image (prime/pradheep/<image>) with the file's imports already built |
heartbeats is counted with synchronous elaboration (set_option Elab.async false), reading Lean's
heartbeat counter after the imports and at the end of the file. With asynchronous elaboration the
proofs run on other threads and the count misses them. The same file gives the same count every
run, so the cap can't fail a correct file by chance.
- Downloads last month
- 21