Add serving release v1.0.1

#1
by LNAMTY - opened
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ deployments/mcts/v1.0.1/artifacts/declarations.json filter=lfs diff=lfs merge=lfs -text
37
+ deployments/mcts/v1.0.1/artifacts/index/faiss.index filter=lfs diff=lfs merge=lfs -text
38
+ deployments/mcts/v1.0.1/artifacts/index/lemma_names.json filter=lfs diff=lfs merge=lfs -text
39
+ deployments/mcts/v1.0.1/artifacts/lemmas.jsonl filter=lfs diff=lfs merge=lfs -text
deployments/mcts/v1.0.1/README.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # MCTS serving release v1.0.1
2
+
3
+ Mount artifacts/ at /artifacts and config/ at /config.
4
+ The exact REPL binary and compiled Mathlib must match declarations.json.
5
+ Lean, Python, the custom client and PLN runtimes are supplied by the image.
6
+ Checkpoint loading uses pickle; use only releases from trusted publishers.
7
+ This is a serving bundle, not a complete training-resume archive.
deployments/mcts/v1.0.1/artifacts/checkpoint.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61b218f60bf03678f84b4f00891a592cea46c9e689fe915454b4db2a3595dd21
3
+ size 15746933
deployments/mcts/v1.0.1/artifacts/declarations.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d7e1c1ee94833a5142b3eacbdfe9119a8b4c658a15a0e2f564fd1381386add2
3
+ size 60345840
deployments/mcts/v1.0.1/artifacts/index/deployment_manifest.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "corpus_sha256": "e418af465e7d07af48cb64fa6533d8370f386e75f78ae278b1c39aa9ed4d57e9",
3
+ "environment_identity": "73901041f16e8b5c28da6db5334ad985556b6dd6a06ece77623f9190aec6e8c4",
4
+ "files": {
5
+ "faiss.index": "48027f9cd8dbe1b705b3ec21ae2b2d1752d933e7bf5bdf78c88fb410fe2d61ca",
6
+ "lemma_ids.json": "2c7764a082d0062f6b5dde65efbfef2e1867b90dfe5080339ceb7305b80fc0cd",
7
+ "lemma_names.json": "196cab04618821d79f937167995cbe0dd8696313390926734b46ecc9062024cc",
8
+ "lemma_vectors.npy": "05a6ef64c252cb542ad069f58cec40860300374a44bb0dc2828f7ac6c3f0a60e",
9
+ "manifest.json": "78f668e3ee4e37738192dea1a7bae02ca5c135a753a59e88e97a680e7f718701"
10
+ },
11
+ "query_encoder_sha256": "3f5a62b9f49423be4d2ae29030fe68b4ea71ccadf7229ad82ecc3771ef47c0a3",
12
+ "schema": "lemma_serving_v1",
13
+ "source_manifest": {
14
+ "corpus_sha256": "e418af465e7d07af48cb64fa6533d8370f386e75f78ae278b1c39aa9ed4d57e9",
15
+ "lemma_encoder_sha256": "58a5278d01f2b438e8beba05e38dd50d8af10e25539e84a4706e015953c3319a",
16
+ "max_length": 192,
17
+ "model_name": "sentence-transformers/all-MiniLM-L6-v2",
18
+ "model_type": "pretrained_text_dual_encoder_index_v1",
19
+ "normalize": true,
20
+ "state_text_policy": "goal_first_v1",
21
+ "tokenizer_sha256": "4d340ba6df0d188a0bc2fdae2f8f4279427ea92d4c2457be7ae8fa149027d0b4"
22
+ },
23
+ "text_checkpoint_sha256": "777e1c91ca3a0baa567df805ddf73c236450bc9d6623f15067efcc5ad669dae8"
24
+ }
deployments/mcts/v1.0.1/artifacts/index/faiss.index ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48027f9cd8dbe1b705b3ec21ae2b2d1752d933e7bf5bdf78c88fb410fe2d61ca
3
+ size 489911853
deployments/mcts/v1.0.1/artifacts/index/lemma_ids.json ADDED
The diff for this file is too large to render. See raw diff
 
deployments/mcts/v1.0.1/artifacts/index/lemma_names.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:196cab04618821d79f937167995cbe0dd8696313390926734b46ecc9062024cc
3
+ size 11807120
deployments/mcts/v1.0.1/artifacts/index/lemma_vectors.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05a6ef64c252cb542ad069f58cec40860300374a44bb0dc2828f7ac6c3f0a60e
3
+ size 489911936
deployments/mcts/v1.0.1/artifacts/index/manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "corpus_sha256": "e418af465e7d07af48cb64fa6533d8370f386e75f78ae278b1c39aa9ed4d57e9",
3
+ "lemma_encoder_sha256": "58a5278d01f2b438e8beba05e38dd50d8af10e25539e84a4706e015953c3319a",
4
+ "max_length": 192,
5
+ "model_name": "sentence-transformers/all-MiniLM-L6-v2",
6
+ "model_type": "pretrained_text_dual_encoder_index_v1",
7
+ "normalize": true,
8
+ "state_text_policy": "goal_first_v1",
9
+ "tokenizer_sha256": "4d340ba6df0d188a0bc2fdae2f8f4279427ea92d4c2457be7ae8fa149027d0b4"
10
+ }
deployments/mcts/v1.0.1/artifacts/lemmas.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e418af465e7d07af48cb64fa6533d8370f386e75f78ae278b1c39aa9ed4d57e9
3
+ size 137254943
deployments/mcts/v1.0.1/artifacts/prepared/metadata/graph_representation.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "representation": "lean-model-sexp-v2",
3
+ "model_sexp_version": 1,
4
+ "graph_schema_version": 1,
5
+ "hypothesis_schema": "fv-name-role-type-v1"
6
+ }
deployments/mcts/v1.0.1/artifacts/prepared/vocab/node_vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
deployments/mcts/v1.0.1/artifacts/prepared/vocab/tactic_vocab.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ ".": 1,
3
+ "<UNK_TACTIC>": 0,
4
+ "C_simp": 2,
5
+ "abel": 3,
6
+ "abel_nf": 4,
7
+ "ac_rfl": 5,
8
+ "aesop": 6,
9
+ "aesop_cat": 7,
10
+ "aesop_mat": 8,
11
+ "all_goals": 9,
12
+ "apply": 10,
13
+ "apply_assumption": 11,
14
+ "apply_fun": 12,
15
+ "apply_mod_cast": 13,
16
+ "apply_rules": 14,
17
+ "assumption": 15,
18
+ "assumption_mod_cast": 16,
19
+ "beta_reduce": 17,
20
+ "bitwise_assoc_tac": 18,
21
+ "borelize": 19,
22
+ "by_cases": 20,
23
+ "by_contra": 21,
24
+ "by_contra!": 22,
25
+ "calc": 23,
26
+ "cancel_denoms": 24,
27
+ "case": 25,
28
+ "cases": 26,
29
+ "cases'": 27,
30
+ "change": 28,
31
+ "choose": 29,
32
+ "choose!": 30,
33
+ "classical": 31,
34
+ "clear": 32,
35
+ "clear!": 33,
36
+ "clear_value": 34,
37
+ "coherence": 35,
38
+ "compute_degree": 36,
39
+ "compute_degree!": 37,
40
+ "congr": 38,
41
+ "congr!": 39,
42
+ "congrm": 40,
43
+ "constructor": 41,
44
+ "continuity": 42,
45
+ "contradiction": 43,
46
+ "contrapose": 44,
47
+ "contrapose!": 45,
48
+ "conv": 46,
49
+ "conv_lhs": 47,
50
+ "conv_rhs": 48,
51
+ "convert": 49,
52
+ "convert_to": 50,
53
+ "decide": 51,
54
+ "delta": 52,
55
+ "derivative_simp": 53,
56
+ "done": 54,
57
+ "dsimp": 55,
58
+ "erw": 56,
59
+ "eta_expand": 57,
60
+ "eval_simp": 58,
61
+ "exact": 59,
62
+ "exact_mod_cast": 60,
63
+ "exacts": 61,
64
+ "exfalso": 62,
65
+ "exists": 63,
66
+ "existsi": 64,
67
+ "ext": 65,
68
+ "ext1": 66,
69
+ "fapply": 67,
70
+ "fconstructor": 68,
71
+ "field_simp": 69,
72
+ "filter_upwards": 70,
73
+ "fin_cases": 71,
74
+ "first": 72,
75
+ "fun_prop": 73,
76
+ "funext": 74,
77
+ "gcongr": 75,
78
+ "generalize": 76,
79
+ "generalize_proofs": 77,
80
+ "ghost_calc": 78,
81
+ "ghost_fun_tac": 79,
82
+ "ghost_simp": 80,
83
+ "group": 81,
84
+ "have": 82,
85
+ "have'": 83,
86
+ "haveI": 84,
87
+ "if": 85,
88
+ "induction": 86,
89
+ "induction'": 87,
90
+ "infer_instance": 88,
91
+ "infer_param": 89,
92
+ "inhabit": 90,
93
+ "init_ring": 91,
94
+ "injection": 92,
95
+ "injections": 93,
96
+ "interval_cases": 94,
97
+ "intro": 95,
98
+ "intros": 96,
99
+ "introv": 97,
100
+ "isBoundedDefault": 98,
101
+ "iterate": 99,
102
+ "left": 100,
103
+ "let": 101,
104
+ "letI": 102,
105
+ "lift": 103,
106
+ "lift_lets": 104,
107
+ "linarith": 105,
108
+ "linear_combination": 106,
109
+ "map_fun_tac": 107,
110
+ "map_simp": 108,
111
+ "match": 109,
112
+ "matrix_simp": 110,
113
+ "measurability": 111,
114
+ "mfld_set_tac": 112,
115
+ "mono": 113,
116
+ "move_mul": 114,
117
+ "mv_bisim": 115,
118
+ "next": 116,
119
+ "nlinarith": 117,
120
+ "nofun": 118,
121
+ "nomatch": 119,
122
+ "noncomm_ring": 120,
123
+ "nontriviality": 121,
124
+ "norm_cast": 122,
125
+ "norm_cast0": 123,
126
+ "norm_num": 124,
127
+ "norm_num1": 125,
128
+ "nth_rewrite": 126,
129
+ "nth_rw": 127,
130
+ "obtain": 128,
131
+ "omega": 129,
132
+ "open": 130,
133
+ "pderiv_simp": 131,
134
+ "peel": 132,
135
+ "pgame_wf_tac": 133,
136
+ "pi_lower_bound": 134,
137
+ "pi_upper_bound": 135,
138
+ "positivity": 136,
139
+ "push_cast": 137,
140
+ "push_neg": 138,
141
+ "qify": 139,
142
+ "rcases": 140,
143
+ "rcongr": 141,
144
+ "refine": 142,
145
+ "refine'": 143,
146
+ "rel": 144,
147
+ "rename": 145,
148
+ "rename'": 146,
149
+ "rename_i": 147,
150
+ "repeat": 148,
151
+ "repeat'": 149,
152
+ "replace": 150,
153
+ "revert": 151,
154
+ "rewrite": 152,
155
+ "rfl": 153,
156
+ "rify": 154,
157
+ "right": 155,
158
+ "ring": 156,
159
+ "ring!": 157,
160
+ "ring1": 158,
161
+ "ring_nf": 159,
162
+ "rintro": 160,
163
+ "rsuffices": 161,
164
+ "run_tac": 162,
165
+ "rw": 163,
166
+ "rw_mod_cast": 164,
167
+ "rwa": 165,
168
+ "set": 166,
169
+ "set!": 167,
170
+ "set_option": 168,
171
+ "show": 169,
172
+ "simp": 170,
173
+ "simp!": 171,
174
+ "simp?": 172,
175
+ "simp_all": 173,
176
+ "simp_all!": 174,
177
+ "simp_arith": 175,
178
+ "simp_intro": 176,
179
+ "simp_rw": 177,
180
+ "simp_wf": 178,
181
+ "simpa": 179,
182
+ "simpa!": 180,
183
+ "simpa?": 181,
184
+ "slice_lhs": 182,
185
+ "slice_rhs": 183,
186
+ "solve_by_elim": 184,
187
+ "specialize": 185,
188
+ "split": 186,
189
+ "split_ifs": 187,
190
+ "subst": 188,
191
+ "subst_hom_lift": 189,
192
+ "subst_vars": 190,
193
+ "substs": 191,
194
+ "suffices": 192,
195
+ "swap_var": 193,
196
+ "symm": 194,
197
+ "sz_positivity": 195,
198
+ "tauto": 196,
199
+ "tfae_finish": 197,
200
+ "tfae_have": 198,
201
+ "to_encard_tac": 199,
202
+ "trans": 200,
203
+ "transitivity": 201,
204
+ "trivial": 202,
205
+ "try": 203,
206
+ "unfold": 204,
207
+ "unfold_let": 205,
208
+ "unfold_projs": 206,
209
+ "unit_interval": 207,
210
+ "use": 208,
211
+ "use!": 209,
212
+ "valid": 210,
213
+ "with_unfolding_all": 211,
214
+ "witt_truncateFun_tac": 212,
215
+ "wlog": 213,
216
+ "zify": 214
217
+ }
deployments/mcts/v1.0.1/artifacts/query/config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": null,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 384,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 1536,
16
+ "is_decoder": false,
17
+ "layer_norm_eps": 1e-12,
18
+ "max_position_embeddings": 512,
19
+ "model_type": "bert",
20
+ "num_attention_heads": 12,
21
+ "num_hidden_layers": 6,
22
+ "pad_token_id": 0,
23
+ "position_embedding_type": "absolute",
24
+ "tie_word_embeddings": true,
25
+ "transformers_version": "5.18.0",
26
+ "type_vocab_size": 2,
27
+ "use_cache": true,
28
+ "vocab_size": 30522
29
+ }
deployments/mcts/v1.0.1/artifacts/query/query.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b8c72bfe9812bf735097e197f06050a33cd24b1d3dcf62c2535e2912a47fa0c
3
+ size 90879127
deployments/mcts/v1.0.1/artifacts/query/query_manifest.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "files": {
3
+ "config.json": "58b4289a2722242139315e3a0239df7904fa432695dc1f2330ff5767cb0cfcf2",
4
+ "query.pt": "8b8c72bfe9812bf735097e197f06050a33cd24b1d3dcf62c2535e2912a47fa0c",
5
+ "tokenizer.json": "da0e79933b9ed51798a3ae27893d3c5fa4a201126cef75586296df9b4d2c62a0",
6
+ "tokenizer_config.json": "4b91f63e0ec01ae5112b4fab0027b301a38d94f6b1fd001abf2236390168b553"
7
+ },
8
+ "lemma_encoder_sha256": "58a5278d01f2b438e8beba05e38dd50d8af10e25539e84a4706e015953c3319a",
9
+ "max_length": 192,
10
+ "paired_index_fingerprint": "b42dee6199e4a1c7e764d5c1721c3dc11e99acb476b9ce76dc300be4de6f2a37",
11
+ "query_encoder_sha256": "3f5a62b9f49423be4d2ae29030fe68b4ea71ccadf7229ad82ecc3771ef47c0a3",
12
+ "schema": "query_only_v1",
13
+ "source_checkpoint_sha256": "777e1c91ca3a0baa567df805ddf73c236450bc9d6623f15067efcc5ad669dae8",
14
+ "text_policy": "goal_first_v1"
15
+ }
deployments/mcts/v1.0.1/artifacts/query/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
deployments/mcts/v1.0.1/artifacts/query/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "is_local": false,
7
+ "local_files_only": true,
8
+ "mask_token": "[MASK]",
9
+ "max_length": 128,
10
+ "model_max_length": 512,
11
+ "never_split": null,
12
+ "pad_to_multiple_of": null,
13
+ "pad_token": "[PAD]",
14
+ "pad_token_type_id": 0,
15
+ "padding_side": "right",
16
+ "sep_token": "[SEP]",
17
+ "stride": 0,
18
+ "strip_accents": null,
19
+ "tokenize_chinese_chars": true,
20
+ "tokenizer_class": "BertTokenizer",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "[UNK]"
24
+ }
deployments/mcts/v1.0.1/config/rl.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arg_loss_weight": 0.5,
3
+ "bc_anneal_end": 0.05,
4
+ "bc_anneal_rounds": 200,
5
+ "bc_anneal_start": 0.5,
6
+ "certify_heartbeats": null,
7
+ "checkpoint_every": 20,
8
+ "collection_devices": [
9
+ "cpu"
10
+ ],
11
+ "collection_workers": 1,
12
+ "cpu_reserve": 2,
13
+ "critic_queue_size": 10000,
14
+ "critic_weight": 0.5,
15
+ "curriculum_growth_factor": 1.5,
16
+ "curriculum_solve_threshold": 0.3,
17
+ "curriculum_start_size": 200,
18
+ "curriculum_window_rounds": 10,
19
+ "device": "cpu",
20
+ "entropy_weight": 0.01,
21
+ "eval_every": 25,
22
+ "eval_proposal_mode": "sample",
23
+ "eval_repeats": 1,
24
+ "eval_seed": 42,
25
+ "evaluation_data": {
26
+ "admission_time_budget_s": 1800.0,
27
+ "data_source": "dataset",
28
+ "dataset_name": "jajostrains/Mathlib-Normalized-Sexpr",
29
+ "dataset_revision": "f44841f98193c09b20c6092198a22e98ff2cd7a8",
30
+ "max_pool_size": 200,
31
+ "max_replay_chars": 50000,
32
+ "max_scan_rows": 20000,
33
+ "max_state_chars": 400,
34
+ "seed_cache_path": "/state/eval-admission-cache.json",
35
+ "split": "train",
36
+ "theorem_file": null
37
+ },
38
+ "grad_clip": 1.0,
39
+ "htps_batch_size": 64,
40
+ "htps_learning_rate": 0.0001,
41
+ "htps_steps_per_round": 0,
42
+ "learning_rate": 0.0001,
43
+ "max_dead_rounds": 3,
44
+ "max_depth": 6,
45
+ "max_nodes": 32,
46
+ "max_update_candidate_bytes": 268435456,
47
+ "max_update_candidates": 100000,
48
+ "max_update_edges": 250000,
49
+ "max_update_nodes": 50000,
50
+ "mine_all_solved_nodes": true,
51
+ "num_rounds": 500,
52
+ "num_simulations": 64,
53
+ "pantograph_imports": [
54
+ "Init",
55
+ "Mathlib"
56
+ ],
57
+ "pantograph_repl": "/opt/pantograph/repl",
58
+ "prepared_root": "/artifacts/prepared",
59
+ "puct_c": 1.0,
60
+ "resource_check": "strict",
61
+ "retrieval": {
62
+ "cache_max_bytes": 8388608,
63
+ "cache_max_entries": 64,
64
+ "corpus_path": "/artifacts/lemmas.jsonl",
65
+ "declaration_inventory": "/artifacts/declarations.json",
66
+ "device": "cpu",
67
+ "faiss_threads": 1,
68
+ "lemma_index": "/artifacts/index",
69
+ "microbatch_max_size": 2,
70
+ "microbatch_wait_ms": 2.0,
71
+ "query_artifact": "/artifacts/query",
72
+ "queue_max_size": 4,
73
+ "top_k": 32
74
+ },
75
+ "reward_gamma": 0.99,
76
+ "reward_step_penalty": 0.01,
77
+ "reward_terminal_failure": 0.0,
78
+ "reward_terminal_success": 1.0,
79
+ "run_root": "/state/runs",
80
+ "seed": 42,
81
+ "selection_policy": "puct",
82
+ "server_start_timeout_s": 120.0,
83
+ "server_timeout_s": 120,
84
+ "sim_batch_size": 2,
85
+ "snapshot_retention": {
86
+ "max_collection_rss_growth_mb": 4096,
87
+ "max_repl_rss_growth_mb": 2048,
88
+ "max_replay_combinations": 16,
89
+ "max_replay_continuations": 2,
90
+ "max_replay_tactic_steps": 128,
91
+ "max_retained_snapshots": 128
92
+ },
93
+ "source_root": "/opt/mathlib4",
94
+ "tactic_queue_size": 10000,
95
+ "theorem_timeout_s": 60.0,
96
+ "theorems_per_round": 8,
97
+ "top_k_tactics": 4,
98
+ "training_data": null,
99
+ "update_device": "cpu",
100
+ "use_pln": false,
101
+ "visit_threshold": 4,
102
+ "w_critic_soft": 0.5,
103
+ "warmstart_checkpoint": "/artifacts/checkpoint.pt",
104
+ "weight_decay": 0.0001,
105
+ "widening_coefficient": 2.0,
106
+ "widening_exponent": 0.5,
107
+ "widening_initial_actions": 4,
108
+ "widening_max_actions": 16,
109
+ "widening_max_draws": 64,
110
+ "worker_queue_size": 0,
111
+ "worker_shutdown_timeout_s": 10.0
112
+ }
deployments/mcts/v1.0.1/config/service.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint": "/artifacts/checkpoint.pt",
3
+ "dataset_profiles": {
4
+ "mathlib-eval": {
5
+ "admission_time_budget_s": 1800.0,
6
+ "data_source": "dataset",
7
+ "dataset_name": "jajostrains/Mathlib-Normalized-Sexpr",
8
+ "dataset_revision": "f44841f98193c09b20c6092198a22e98ff2cd7a8",
9
+ "max_pool_size": 200,
10
+ "max_replay_chars": 50000,
11
+ "max_scan_rows": 20000,
12
+ "max_state_chars": 400,
13
+ "seed_cache_path": "/state/eval-admission-cache.json",
14
+ "split": "train",
15
+ "theorem_file": null
16
+ }
17
+ },
18
+ "default_search_profile": "puct",
19
+ "pln": {
20
+ "chainer_root": "/opt/pln/src/petta_chainer",
21
+ "petta_bin": "/opt/pln/bin/petta",
22
+ "petta_source_root": "/opt/pln/src/PeTTa",
23
+ "swipl_bin": "/opt/pln/bin/swipl"
24
+ },
25
+ "rl_config": "rl.json",
26
+ "search_profiles": {
27
+ "best_first": {
28
+ "max_depth": 6,
29
+ "max_nodes": 32,
30
+ "num_simulations": null,
31
+ "puct_c": null,
32
+ "selection_policy": "legacy",
33
+ "sim_batch_size": null,
34
+ "top_k_tactics": 4,
35
+ "use_pln": false,
36
+ "widening_coefficient": null,
37
+ "widening_exponent": null,
38
+ "widening_initial_actions": null,
39
+ "widening_max_actions": null,
40
+ "widening_max_draws": null
41
+ },
42
+ "best_first_pln": {
43
+ "max_depth": 6,
44
+ "max_nodes": 32,
45
+ "num_simulations": null,
46
+ "puct_c": null,
47
+ "selection_policy": "legacy",
48
+ "sim_batch_size": null,
49
+ "top_k_tactics": 4,
50
+ "use_pln": true,
51
+ "widening_coefficient": null,
52
+ "widening_exponent": null,
53
+ "widening_initial_actions": null,
54
+ "widening_max_actions": null,
55
+ "widening_max_draws": null
56
+ },
57
+ "puct": {
58
+ "max_depth": 6,
59
+ "max_nodes": 32,
60
+ "num_simulations": 64,
61
+ "puct_c": 1.0,
62
+ "selection_policy": "puct",
63
+ "sim_batch_size": 2,
64
+ "top_k_tactics": 4,
65
+ "use_pln": false,
66
+ "widening_coefficient": 2.0,
67
+ "widening_exponent": 0.5,
68
+ "widening_initial_actions": 4,
69
+ "widening_max_actions": 16,
70
+ "widening_max_draws": 64
71
+ },
72
+ "puct_pln": {
73
+ "max_depth": 6,
74
+ "max_nodes": 32,
75
+ "num_simulations": 64,
76
+ "puct_c": 1.0,
77
+ "selection_policy": "puct",
78
+ "sim_batch_size": 2,
79
+ "top_k_tactics": 4,
80
+ "use_pln": true,
81
+ "widening_coefficient": 2.0,
82
+ "widening_exponent": 0.5,
83
+ "widening_initial_actions": 4,
84
+ "widening_max_actions": 16,
85
+ "widening_max_draws": 64
86
+ }
87
+ },
88
+ "state_dir": "/state"
89
+ }
deployments/mcts/v1.0.1/release.json ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "application": {
3
+ "commit": "d94115d683d94f7df33e4ca8ddfad7adbaaf7982",
4
+ "release_tool_sha256": "72022932d4cebb9861c9af57b4e12b16a337dfe5584252e494fe446688ceabf8",
5
+ "tracked_dirty": false,
6
+ "untracked_present": false
7
+ },
8
+ "bindings": {
9
+ "checkpoint_manifest": {
10
+ "architecture_version": 1,
11
+ "behavior_mode": "dropout-disabled-v1",
12
+ "checkpoint_format_version": 4,
13
+ "encoder_fingerprint": "50162eadb7b942dc3317888952794724dd56a849111e86f3c0ae64e4696269bf",
14
+ "graph_representation": {
15
+ "graph_schema_version": 1,
16
+ "hypothesis_schema": "fv-name-role-type-v1",
17
+ "model_sexp_version": 1,
18
+ "representation": "lean-model-sexp-v2"
19
+ },
20
+ "model_kind": "actor_critic_with_args",
21
+ "model_spec": {
22
+ "architecture": "gatv2",
23
+ "dropout": 0.2,
24
+ "encoder": {
25
+ "heads": 4,
26
+ "num_layers": 4,
27
+ "readout": "state_mean_attention"
28
+ },
29
+ "hidden_dim": 128,
30
+ "local_type_bonus_strength": 0.0,
31
+ "max_args": 3,
32
+ "retrieval_binding": "b42dee6199e4a1c7e764d5c1721c3dc11e99acb476b9ce76dc300be4de6f2a37",
33
+ "text_dim": 384,
34
+ "use_node_type": true
35
+ },
36
+ "node_vocab_fingerprint": "5c0a42b6db8b750c099ad3ccc9c819c7b27b543979da3a05e834fbbe70e76bea",
37
+ "policy_schema": "count-source-identity-gru-v1",
38
+ "tactic_vocab_fingerprint": "17505aab735227e10c7825f383105e6543b1c5f5e15fd24e69be272bf30af69d"
39
+ },
40
+ "environment_identity": "73901041f16e8b5c28da6db5334ad985556b6dd6a06ece77623f9190aec6e8c4",
41
+ "extra_checkpoint_fields": [
42
+ "deployment_migration"
43
+ ],
44
+ "retrieval_binding": "b42dee6199e4a1c7e764d5c1721c3dc11e99acb476b9ce76dc300be4de6f2a37"
45
+ },
46
+ "checkpoint_selection": "checkpoint.pt",
47
+ "client_companion": {
48
+ "base_commit": "0dd5d2225e2d093f66a4b6231c1aa35004f2c8f3",
49
+ "contract_revision": 6,
50
+ "mathlib_expected_pin": "29dcec074de168ac2bf835a77ef68bbe069194c5",
51
+ "patch_sha256": "0611ea2f9fe12c81bc788deda7f3300890bb9762d8df31cd6bf5db6b7306e0c6",
52
+ "source_commit": "fc740c26a1e832ecb571859af24a5c632a351bd9",
53
+ "source_url": "https://github.com/123nol/Pantograph.git",
54
+ "toolchain": "leanprover/lean4:v4.10.0-rc1"
55
+ },
56
+ "client_sources": {
57
+ "__init__.py": "cba343dd36c317bc466115210cb23c05ba2378d66fb3c9aa11755cb44ab4e53f",
58
+ "cli.py": "286c6a3f9c0ef173d618a48e5ed8291c0a1c7e4487b15d8cb2ce5f83289f67cb",
59
+ "client.py": "5923f92ca8d8f9c30a29be58aa580bbf2871f89fa806b71d84dc1cb75eeeb4aa",
60
+ "compatibility.py": "b19840f5df765f4e417866bc474f5d80df9524bb303c62428020a15cccd72283",
61
+ "diagnostics.py": "ea6e1eee93be0a1d20dc7790d25b809ad3b4cabdb542eb3237c9d89e835c1000",
62
+ "environment.py": "2b3ab222d89d033aed6e6a5fe08d24787ba9cc552f7f3a9603e2bad084aa1473",
63
+ "launch.py": "70b9df05bd79eccfe8f1827454c89c4b48497575c0876cbacce4fce317426241",
64
+ "probes.py": "dc84d395312054503432b8b3be15c6aaf543246297965c56a4b6e601229c4697",
65
+ "protocol.py": "15a914af21412efb970ceccf87e72177206b8c09642e1b77c0cc150a10d9c997"
66
+ },
67
+ "client_version": "0.5.0",
68
+ "files": {
69
+ "README.md": {
70
+ "sha256": "4e4022e722001bb11dc1dcf09749f911af0f8beae33fe225e6fb6c534ca286c7",
71
+ "size": 376
72
+ },
73
+ "artifacts/checkpoint.pt": {
74
+ "sha256": "61b218f60bf03678f84b4f00891a592cea46c9e689fe915454b4db2a3595dd21",
75
+ "size": 15746933
76
+ },
77
+ "artifacts/declarations.json": {
78
+ "sha256": "6d7e1c1ee94833a5142b3eacbdfe9119a8b4c658a15a0e2f564fd1381386add2",
79
+ "size": 60345840
80
+ },
81
+ "artifacts/index/deployment_manifest.json": {
82
+ "sha256": "f677d9f57150b9c2208f0523dee58e6a2de034f9df2a34ba49e8bf61cd0d0316",
83
+ "size": 1385
84
+ },
85
+ "artifacts/index/faiss.index": {
86
+ "sha256": "48027f9cd8dbe1b705b3ec21ae2b2d1752d933e7bf5bdf78c88fb410fe2d61ca",
87
+ "size": 489911853
88
+ },
89
+ "artifacts/index/lemma_ids.json": {
90
+ "sha256": "2c7764a082d0062f6b5dde65efbfef2e1867b90dfe5080339ceb7305b80fc0cd",
91
+ "size": 2440514
92
+ },
93
+ "artifacts/index/lemma_names.json": {
94
+ "sha256": "196cab04618821d79f937167995cbe0dd8696313390926734b46ecc9062024cc",
95
+ "size": 11807120
96
+ },
97
+ "artifacts/index/lemma_vectors.npy": {
98
+ "sha256": "05a6ef64c252cb542ad069f58cec40860300374a44bb0dc2828f7ac6c3f0a60e",
99
+ "size": 489911936
100
+ },
101
+ "artifacts/index/manifest.json": {
102
+ "sha256": "78f668e3ee4e37738192dea1a7bae02ca5c135a753a59e88e97a680e7f718701",
103
+ "size": 470
104
+ },
105
+ "artifacts/lemmas.jsonl": {
106
+ "sha256": "e418af465e7d07af48cb64fa6533d8370f386e75f78ae278b1c39aa9ed4d57e9",
107
+ "size": 137254943
108
+ },
109
+ "artifacts/prepared/metadata/graph_representation.json": {
110
+ "sha256": "f325cb3955068f961531ed6924d31373f21441a0c0b7992e20fda13dfb32e4c6",
111
+ "size": 148
112
+ },
113
+ "artifacts/prepared/vocab/node_vocab.json": {
114
+ "sha256": "9425af366ba020856416535e30ce1e7a36e0baf6cb5ba5dc67c2f4aabc080a7e",
115
+ "size": 772550
116
+ },
117
+ "artifacts/prepared/vocab/tactic_vocab.json": {
118
+ "sha256": "1712eac693f116c2b1fa2f9601b9878493d710f8ebb460f9dbb3b938aa4e641d",
119
+ "size": 3977
120
+ },
121
+ "artifacts/query/config.json": {
122
+ "sha256": "58b4289a2722242139315e3a0239df7904fa432695dc1f2330ff5767cb0cfcf2",
123
+ "size": 723
124
+ },
125
+ "artifacts/query/query.pt": {
126
+ "sha256": "8b8c72bfe9812bf735097e197f06050a33cd24b1d3dcf62c2535e2912a47fa0c",
127
+ "size": 90879127
128
+ },
129
+ "artifacts/query/query_manifest.json": {
130
+ "sha256": "fd2ba33fc7f48bbe21fe452d9e57b1085eb6bc3a56ff0e17fa3783653245aa36",
131
+ "size": 846
132
+ },
133
+ "artifacts/query/tokenizer.json": {
134
+ "sha256": "da0e79933b9ed51798a3ae27893d3c5fa4a201126cef75586296df9b4d2c62a0",
135
+ "size": 711661
136
+ },
137
+ "artifacts/query/tokenizer_config.json": {
138
+ "sha256": "4b91f63e0ec01ae5112b4fab0027b301a38d94f6b1fd001abf2236390168b553",
139
+ "size": 593
140
+ },
141
+ "config/rl.json": {
142
+ "sha256": "7e46b68048fbfea160624263d397e99274bee23705c94ac7e3ab9fee9ceacbf5",
143
+ "size": 3129
144
+ },
145
+ "config/service.json": {
146
+ "sha256": "ef7747741129c5ca210c3c2dae8709f3fcd4e92e0445d010cd5595a062f48409",
147
+ "size": 2482
148
+ }
149
+ },
150
+ "roles": {
151
+ "checkpoint": "artifacts/checkpoint.pt",
152
+ "corpus": "artifacts/lemmas.jsonl",
153
+ "index": "artifacts/index",
154
+ "inventory": "artifacts/declarations.json",
155
+ "prepared": "artifacts/prepared",
156
+ "query": "artifacts/query",
157
+ "rl_config": "config/rl.json",
158
+ "service_config": "config/service.json"
159
+ },
160
+ "runtime_requirement": "Exact REPL bytes and compiled Mathlib contents must match the inventory; startup verification is mandatory.",
161
+ "schema": "mcts-serving-release-v1",
162
+ "version": "v1.0.1"
163
+ }