attestations / README.md
MathCorpus's picture
Dataset card
4ae185d verified
|
Raw History Blame Contribute Delete
1.68 kB
---
license: cc0-1.0
pretty_name: Corpus Mathematicum attestations
tags: [lean4, formal-verification, mathematics]
configs:
- config_name: default
data_files: "runs/*/*.parquet"
---
# Corpus Mathematicum: attestations
Each row records that one declaration of one Lean project, at one commit, was checked:
- `lean-kernel`: the project was built from source and the declaration was accepted by Lean's kernel.
- `lean4checker`: the built environment was re-checked by lean4checker, which replays every declaration through the kernel.
| column | meaning |
|---|---|
| `env_key` | `repository@commit` that was built |
| `name` | full declaration name |
| `checker` | `lean-kernel` or `lean4checker` |
| `ok` | whether the check passed |
| `merkle` | hash of the declaration together with everything it depends on (64-bit, as a string). Two builds agree when their hashes match. |
| `axioms` | the axioms the declaration depends on |
| `toolchain` | Lean version |
| `machine`, `ref` | where the check ran (CI run id and link) |
| `at` | when |
Files are `runs/<run>/<owner>__<repo>.parquet`, one per project per run. The
[Corpus Mathematicum](https://github.com/vmhazoglou/corpus-mathematicum) repository keeps one
summary row per project, checker and run in `community/attestation_runs.jsonl`, with each file's
sha256.
An attestation is evidence of one build. A declaration counts as *proved* in the corpus only when
enough independent builds agree on its merkle hash, with no `sorry` and only the standard axioms
(`propext`, `Classical.choice`, `Quot.sound`). lean4checker uses Lean's own kernel, so it catches a
tampered environment but not a bug in the kernel itself.