Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

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.

Lean4-SciLean

Structured dataset from SciLean — Scientific computing.

Source

Schema

Column Type Description
statement string Declaration signature/claim with the leading keyword removed (verbatim slice); the full declaration minus its proof
proof string Verbatim proof/body, empty if the declaration has none
type string Declaration keyword
symbolic_name string Declaration identifier
library string Sub-library
filename string Repository-relative source path
imports list[string] File-level Require/Import modules
deps list[string] Intra-corpus identifiers referenced
docstring string Preceding documentation comment, empty if absent
source_url string Upstream repository
commit string Upstream commit extracted

Statistics

  • Entries: 4,974
  • With proof: 4,416 (88.8%)
  • With docstring: 584 (11.7%)
  • Libraries: 91

By type

Type Count
theorem 2,036
def 1,986
structure 218
abbrev 195
class 152
instance 114
macro 106
inductive 74
axiom 35
elab 33
opaque 24
lemma 1

Example

linkArgs
if System.Platform.isWindows then
    #[]
  else if System.Platform.isOSX then
    #["-L/opt/homebrew/opt/openblas/lib",
      "-L/usr/local/opt/openblas/lib", "-lblas"]
  else -- assuming linux
    #["-L/usr/lib/x86_64-linux-gnu/", "-lblas", "-lm"]
  • type: def | symbolic_name: linkArgs | lakefile.lean

Use

Each declaration is split into a statement (signature/claim) and a proof (body) that are disjoint and together form the complete declaration, for proof modeling, autoformalization, retrieval, and dependency analysis via deps.

Citation

@misc{lean4_scilean_dataset,
  title  = {Lean4-SciLean},
  author = {Norton, Charles},
  year   = {2026},
  note   = {Extracted from https://github.com/lecopivo/SciLean, commit 95f8119a2884},
  url    = {https://huggingface.co/datasets/phanerozoic/Lean4-SciLean}
}
Downloads last month
29

Collection including phanerozoic/Lean4-SciLean