README: layout and restore
Browse files
README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Lean environments for the Lean Refactor Arena warm-up
|
| 2 |
+
|
| 3 |
+
Prebuilt Lean projects (dependencies such as Mathlib already compiled), Lean REPLs and Lean toolchains for the
|
| 4 |
+
15 warm-up problems: one archive per project and Lean version. Linux x86_64.
|
| 5 |
+
|
| 6 |
+
| Folder | Contents |
|
| 7 |
+
|---|---|
|
| 8 |
+
| `projects/<project>/<version>.tar.gz` | the project at the pinned git revision, built; one per Lean version the problems list |
|
| 9 |
+
| `repl/<version>.tar.gz` | the Lean REPL built for that Lean version |
|
| 10 |
+
| `toolchains/<toolchain>.tar.gz` | elan toolchains (`leanprover--lean4---<version>`) |
|
| 11 |
+
| `manifest.json` | every archive: project, Lean version, git revision, main or extra version, problems, size, sha256 |
|
| 12 |
+
|
| 13 |
+
The main version of a project is the one each problem is scored in; the extra versions are for zero-shot checks.
|
| 14 |
+
|
| 15 |
+
Restore and check (code: `environments/restore.py` in the ai4verifcoding repository, branch `open-track-v5`):
|
| 16 |
+
|
| 17 |
+
```
|
| 18 |
+
python environments/restore.py --repo <this dataset> --root /data/lean_envs --check
|
| 19 |
+
source /data/lean_envs/env.sh
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
`--projects strata cslib` restores only some projects. `--check` compiles every reference proof in every listed
|
| 23 |
+
version (36 checks).
|