davidbusbib commited on
Commit
09e4f31
·
verified ·
1 Parent(s): 6cedab3

Upload PROOFS_README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. PROOFS_README.md +42 -0
PROOFS_README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Proofs — vector_behavior
2
+
3
+ Companion to the theorem/embedding bundle. Extracted from LeanDojo's traced tactics.
4
+
5
+ | file | contents |
6
+ |---|---|
7
+ | `proofs.json.gz` | `{theorem: [{tactic, premises}, ...]}` — the tactic script and the lemmas each step invokes |
8
+ | `proofs_full.json.gz` | the same, plus `state_before` / `state_after` per tactic |
9
+
10
+ ```python
11
+ import gzip, json
12
+ proofs = json.load(gzip.open("proofs.json.gz", "rt"))
13
+
14
+ p = proofs["Finpartition.energy_le_one"]
15
+ for step in p:
16
+ print(step["tactic"], " uses:", step["premises"])
17
+ ```
18
+
19
+ Theorem names match `results_shared/pool.json` and every `idx_to_name.json` in the
20
+ bundle, so a row index in an embedding array maps straight to its proof.
21
+
22
+ ## Coverage
23
+
24
+ Not every theorem has a traced proof — many are proved by a single term or by
25
+ automation that leaves no tactic trace. Coverage figures are printed when this file is
26
+ generated and repeated at the bottom.
27
+
28
+ ## Please read this before using them
29
+
30
+ In the parent study, proofs are **held back deliberately**. They are the answer key:
31
+ every claim about discovered structure is checked by asking whether the grouped pairs
32
+ share proof premises, and that check has force only because no encoder was ever shown a
33
+ proof.
34
+
35
+ If you use proofs to *find* structure, validate it with something else — human
36
+ judgement, a held-out corpus, or the source-file organisation. Finding a pattern with
37
+ proofs and confirming it with the same proofs proves nothing.
38
+
39
+ ## Coverage in this export
40
+
41
+ - 61,542 theorems with a tactic proof, 259,580 tactic steps
42
+ - 56,467 of the 99,552 pool theorems (56.7%)