ayush1801 commited on
Commit
f1adc24
·
verified ·
1 Parent(s): 0a31020

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +72 -0
  2. experiments/learnability/__pycache__/action.cpython-311.pyc +0 -0
  3. experiments/learnability/__pycache__/conjecture.cpython-311.pyc +0 -0
  4. experiments/learnability/__pycache__/conjecture_no_false.cpython-311.pyc +0 -0
  5. experiments/learnability/__pycache__/hindsight.cpython-311.pyc +0 -0
  6. experiments/learnability/__pycache__/perturbation.cpython-311.pyc +0 -0
  7. experiments/learnability/__pycache__/policy.cpython-311.pyc +0 -0
  8. experiments/learnability/__pycache__/problems.cpython-311.pyc +0 -0
  9. experiments/learnability/__pycache__/proofsearch.cpython-311.pyc +3 -0
  10. experiments/learnability/__pycache__/rollout_search.cpython-311.pyc +0 -0
  11. experiments/learnability/__pycache__/util.cpython-311.pyc +0 -0
  12. experiments/learnability/__pycache__/worker.cpython-311.pyc +0 -0
  13. experiments/learnability/ablate_updates.py +395 -0
  14. experiments/learnability/action.py +48 -0
  15. experiments/learnability/bestfirst_search.py +255 -0
  16. experiments/learnability/bootstrap.py +348 -0
  17. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/.hydra/config.yaml +44 -0
  18. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/.hydra/hydra.yaml +157 -0
  19. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/.hydra/overrides.yaml +1 -0
  20. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/0.pt +3 -0
  21. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt +3 -0
  22. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/2.pt +3 -0
  23. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/3.pt +3 -0
  24. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/4.pt +3 -0
  25. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/bootstrap.log +0 -0
  26. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/checkpoints/0.pt +3 -0
  27. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/.hydra/config.yaml +20 -0
  28. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/.hydra/hydra.yaml +163 -0
  29. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/.hydra/overrides.yaml +6 -0
  30. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/1_pt_proved_results.json +89 -0
  31. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/proofsearch.log +0 -0
  32. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/debug-internal.log +13 -0
  33. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/debug.log +19 -0
  34. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/config.yaml +108 -0
  35. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/output.log +35 -0
  36. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/requirements.txt +118 -0
  37. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/wandb-metadata.json +69 -0
  38. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/wandb-summary.json +1 -0
  39. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug-core.log +14 -0
  40. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug-internal.log +13 -0
  41. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug.log +19 -0
  42. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/run-3egbnt6l.wandb +0 -0
  43. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/.hydra/config.yaml +20 -0
  44. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/.hydra/hydra.yaml +163 -0
  45. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/.hydra/overrides.yaml +6 -0
  46. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/0_pt_proved_results.json +49 -0
  47. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/proofsearch.log +0 -0
  48. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/wandb/debug-internal.log +11 -0
  49. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/wandb/debug.log +19 -0
  50. experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/wandb/run-20260313_011701-5a8bpycd/files/config.yaml +108 -0
.gitattributes CHANGED
@@ -70,3 +70,75 @@ experiments/minimo_baseline_0pt/run_2026-06-02_00-35-54_0-150/candidates_results
70
  experiments/minimo_baseline_0pt/run_2026-06-02_00-35-59_150-300/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
71
  experiments/minimo_baseline_0pt/run_2026-06-02_00-36-04_300-450/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
72
  experiments/minimo_baseline_0pt/run_2026-06-02_00-36-08_450-all/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  experiments/minimo_baseline_0pt/run_2026-06-02_00-35-59_150-300/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
71
  experiments/minimo_baseline_0pt/run_2026-06-02_00-36-04_300-450/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
72
  experiments/minimo_baseline_0pt/run_2026-06-02_00-36-08_450-all/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
73
+ experiments/learnability/__pycache__/proofsearch.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
74
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/wandb/run-20260313_011701-5a8bpycd/run-5a8bpycd.wandb filter=lfs diff=lfs merge=lfs -text
75
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_13-38-07/wandb/run-20260313_133811-xl6rhn8y/run-xl6rhn8y.wandb filter=lfs diff=lfs merge=lfs -text
76
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_13-39-00/wandb/run-20260313_133904-ky18ur1q/run-ky18ur1q.wandb filter=lfs diff=lfs merge=lfs -text
77
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_13-39-18/wandb/run-20260313_133921-yygzn25u/run-yygzn25u.wandb filter=lfs diff=lfs merge=lfs -text
78
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_95_4000_2026-04-10_18-49-47/wandb/run-20260410_184951-bmh84soq/run-bmh84soq.wandb filter=lfs diff=lfs merge=lfs -text
79
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_95_4000_2026-04-19_01-03-20/wandb/run-20260419_010323-7etlj96m/run-7etlj96m.wandb filter=lfs diff=lfs merge=lfs -text
80
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_95_4000_NEW_2026-05-08_08-43-05/wandb/run-20260508_084309-f2sii2hg/run-f2sii2hg.wandb filter=lfs diff=lfs merge=lfs -text
81
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/examples_0.json filter=lfs diff=lfs merge=lfs -text
82
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/examples_1.json filter=lfs diff=lfs merge=lfs -text
83
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/examples_2.json filter=lfs diff=lfs merge=lfs -text
84
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/examples_3.json filter=lfs diff=lfs merge=lfs -text
85
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/examples_4.json filter=lfs diff=lfs merge=lfs -text
86
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/outcomes_1.json filter=lfs diff=lfs merge=lfs -text
87
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/outcomes_2.json filter=lfs diff=lfs merge=lfs -text
88
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/outcomes_3.json filter=lfs diff=lfs merge=lfs -text
89
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/outcomes_4.json filter=lfs diff=lfs merge=lfs -text
90
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/results_0.json filter=lfs diff=lfs merge=lfs -text
91
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/results_1.json filter=lfs diff=lfs merge=lfs -text
92
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/results_2.json filter=lfs diff=lfs merge=lfs -text
93
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/results_3.json filter=lfs diff=lfs merge=lfs -text
94
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/results_4.json filter=lfs diff=lfs merge=lfs -text
95
+ experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/wandb/run-20260312_234121-64ia8ii4/run-64ia8ii4.wandb filter=lfs diff=lfs merge=lfs -text
96
+ experiments/learnability/experiments/minimo_baseline_0pt/run_2026-06-02_00-35-54_0-150/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
97
+ experiments/learnability/experiments/minimo_baseline_0pt/run_2026-06-02_00-35-59_150-300/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
98
+ experiments/learnability/experiments/minimo_baseline_0pt/run_2026-06-02_00-36-04_300-450/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
99
+ experiments/learnability/experiments/minimo_baseline_0pt/run_2026-06-02_00-36-08_450-all/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
100
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_0pt/experiments/perturb_all_ops_B200_L0_0pt/merged_L0_0pt/training/filtered_median-easy_seed42/2026-05-10_07-33-41/updates_0_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-10_20-47-33/wandb/run-20260510_204736-f582i77k/run-f582i77k.wandb filter=lfs diff=lfs merge=lfs -text
101
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_0pt/experiments/perturb_all_ops_B200_L0_0pt/merged_L0_0pt/training/filtered_median-easy_seed43/2026-05-10_07-33-41/updates_0_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-10_20-47-33/wandb/run-20260510_204736-dn54ixfh/run-dn54ixfh.wandb filter=lfs diff=lfs merge=lfs -text
102
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_0pt/experiments/perturb_all_ops_B200_L0_0pt/merged_L0_0pt/training/filtered_median-easy_seed44/2026-05-10_07-35-16/updates_0_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-10_20-47-33/wandb/run-20260510_204736-zdgc85m6/run-zdgc85m6.wandb filter=lfs diff=lfs merge=lfs -text
103
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_0pt/experiments/perturb_all_ops_B200_L0_0pt/merged_L0_0pt/training/filtered_median-easy_seed45/2026-05-10_07-35-16/updates_0_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-10_20-47-33/wandb/run-20260510_204736-hg57jve5/run-hg57jve5.wandb filter=lfs diff=lfs merge=lfs -text
104
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_0pt/experiments/perturb_all_ops_B200_L0_0pt/merged_L0_0pt/training/filtered_median-easy_seed46/2026-05-10_07-35-16/updates_0_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-10_21-49-17/wandb/run-20260510_214920-drs7y6m3/run-drs7y6m3.wandb filter=lfs diff=lfs merge=lfs -text
105
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-easy_seed42/2026-05-08_06-33-43/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_07-54-37/wandb/run-20260508_075456-yprflj8i/run-yprflj8i.wandb filter=lfs diff=lfs merge=lfs -text
106
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-easy_seed43/2026-05-08_06-33-42/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_07-54-37/wandb/run-20260508_075456-gdz9916t/run-gdz9916t.wandb filter=lfs diff=lfs merge=lfs -text
107
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-easy_seed44/2026-05-08_06-37-42/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_07-54-37/wandb/run-20260508_075456-hegyn5g7/run-hegyn5g7.wandb filter=lfs diff=lfs merge=lfs -text
108
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-easy_seed45/2026-05-08_06-37-43/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_09-38-18/wandb/run-20260508_093822-q7sulp6t/run-q7sulp6t.wandb filter=lfs diff=lfs merge=lfs -text
109
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-easy_seed46/2026-05-08_06-37-42/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_09-38-18/wandb/run-20260508_093822-wkf2v9pe/run-wkf2v9pe.wandb filter=lfs diff=lfs merge=lfs -text
110
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-hard_subsampled_seed42/2026-05-11_23-29-58/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-12_00-05-55/wandb/run-20260512_000558-w0x0yc1m/run-w0x0yc1m.wandb filter=lfs diff=lfs merge=lfs -text
111
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-hard_subsampled_seed43/2026-05-11_23-29-58/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-12_00-05-55/wandb/run-20260512_000558-95yd0z4x/run-95yd0z4x.wandb filter=lfs diff=lfs merge=lfs -text
112
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-hard_subsampled_seed44/2026-05-11_23-29-59/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-12_00-05-55/wandb/run-20260512_000558-cvkq859r/run-cvkq859r.wandb filter=lfs diff=lfs merge=lfs -text
113
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-hard_subsampled_seed45/2026-05-11_23-32-22/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-12_00-05-55/wandb/run-20260512_000558-4jwdb5c0/run-4jwdb5c0.wandb filter=lfs diff=lfs merge=lfs -text
114
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_median-hard_subsampled_seed46/2026-05-11_23-32-22/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-12_01-19-45/wandb/run-20260512_011948-3vx4vcwr/run-3vx4vcwr.wandb filter=lfs diff=lfs merge=lfs -text
115
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_none_seed42/2026-05-08_06-17-18/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_07-02-13/wandb/run-20260508_070216-1iuye4nh/run-1iuye4nh.wandb filter=lfs diff=lfs merge=lfs -text
116
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_none_seed43/2026-05-08_06-17-18/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_07-02-13/wandb/run-20260508_070216-mzcfcucm/run-mzcfcucm.wandb filter=lfs diff=lfs merge=lfs -text
117
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_none_seed44/2026-05-08_06-17-18/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_07-02-13/wandb/run-20260508_070216-6sm2t9h2/run-6sm2t9h2.wandb filter=lfs diff=lfs merge=lfs -text
118
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_none_seed45/2026-05-08_06-23-24/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_08-20-09/wandb/run-20260508_082013-68e0jx1n/run-68e0jx1n.wandb filter=lfs diff=lfs merge=lfs -text
119
+ experiments/learnability/experiments/perturb_all_ops/merged_L0_1pt/experiments/perturb_all_ops/merged_L0_1pt/training/filtered_none_seed46/2026-05-08_06-23-24/updates_1_epoch_1ep_bs64/eval_extrinsic-95_4000/2026-05-08_08-20-09/wandb/run-20260508_082012-cwvwipy2/run-cwvwipy2.wandb filter=lfs diff=lfs merge=lfs -text
120
+ experiments/learnability/experiments/perturb_multi_hop/outputs/run_2026-05-17_21-09-46_4800-6000/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
121
+ experiments/learnability/experiments/perturb_multi_hop/outputs/run_2026-05-17_21-10-07_6000-7200/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
122
+ experiments/learnability/experiments/perturb_multi_hop/outputs/run_2026-05-17_21-10-16_7200-8600/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
123
+ experiments/learnability/experiments/perturb_multi_hop/outputs/run_2026-05-17_21-10-21_8600-all/candidates_results.jsonl filter=lfs diff=lfs merge=lfs -text
124
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/eval_natmul_2026-01-29_20-11-24/wandb/run-20260129_201127-obr7hmhe/run-obr7hmhe.wandb filter=lfs diff=lfs merge=lfs -text
125
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/eval_natmul_2026-01-29_20-11-35/wandb/run-20260129_201138-ogrdtnt9/run-ogrdtnt9.wandb filter=lfs diff=lfs merge=lfs -text
126
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/eval_natmul_2026-01-29_20-11-43/wandb/run-20260129_201146-j3yhxjlx/run-j3yhxjlx.wandb filter=lfs diff=lfs merge=lfs -text
127
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/eval_natmul_2026-01-29_20-11-50/wandb/run-20260129_201153-tcy502sz/run-tcy502sz.wandb filter=lfs diff=lfs merge=lfs -text
128
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/eval_natmul_g75_2026-01-29_20-14-58/wandb/run-20260129_201501-1ocgfm7h/run-1ocgfm7h.wandb filter=lfs diff=lfs merge=lfs -text
129
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/eval_natmul_g75_2026-01-29_20-16-03/wandb/run-20260129_201606-e6dc0cxl/run-e6dc0cxl.wandb filter=lfs diff=lfs merge=lfs -text
130
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/eval_natmul_g75_2026-01-29_20-16-18/wandb/run-20260129_201621-qfy84s4t/run-qfy84s4t.wandb filter=lfs diff=lfs merge=lfs -text
131
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/eval_natmul_g75_2026-01-29_20-16-23/wandb/run-20260129_201626-p5so9yja/run-p5so9yja.wandb filter=lfs diff=lfs merge=lfs -text
132
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/eval_natmul_g75_2026-01-29_20-16-29/wandb/run-20260129_201632-bzlpccu2/run-bzlpccu2.wandb filter=lfs diff=lfs merge=lfs -text
133
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/examples_0.json filter=lfs diff=lfs merge=lfs -text
134
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/examples_1.json filter=lfs diff=lfs merge=lfs -text
135
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/examples_2.json filter=lfs diff=lfs merge=lfs -text
136
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/outcomes_0.json filter=lfs diff=lfs merge=lfs -text
137
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/outcomes_1.json filter=lfs diff=lfs merge=lfs -text
138
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/outcomes_2.json filter=lfs diff=lfs merge=lfs -text
139
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/results_0.json filter=lfs diff=lfs merge=lfs -text
140
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/results_1.json filter=lfs diff=lfs merge=lfs -text
141
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/results_2.json filter=lfs diff=lfs merge=lfs -text
142
+ experiments/learnability/outputs/bootstrap_nat_mul_800_parallel/2026-01-28_22-26-06/wandb/run-20260128_222606-uovbebo0/run-uovbebo0.wandb filter=lfs diff=lfs merge=lfs -text
143
+ experiments/learnability/outputs/simple_experiment_novelty/2026-02-22_17-37-04/wandb/run-20260222_173705-y2q6cuoh/run-y2q6cuoh.wandb filter=lfs diff=lfs merge=lfs -text
144
+ experiments/learnability/outputs/simple_experiment_novelty/2026-02-22_20-09-19/wandb/run-20260222_200920-1uaognvr/run-1uaognvr.wandb filter=lfs diff=lfs merge=lfs -text
experiments/learnability/__pycache__/action.cpython-311.pyc ADDED
Binary file (3.97 kB). View file
 
experiments/learnability/__pycache__/conjecture.cpython-311.pyc ADDED
Binary file (32.6 kB). View file
 
experiments/learnability/__pycache__/conjecture_no_false.cpython-311.pyc ADDED
Binary file (33 kB). View file
 
experiments/learnability/__pycache__/hindsight.cpython-311.pyc ADDED
Binary file (14 kB). View file
 
experiments/learnability/__pycache__/perturbation.cpython-311.pyc ADDED
Binary file (40.5 kB). View file
 
experiments/learnability/__pycache__/policy.cpython-311.pyc ADDED
Binary file (22.7 kB). View file
 
experiments/learnability/__pycache__/problems.cpython-311.pyc ADDED
Binary file (39.7 kB). View file
 
experiments/learnability/__pycache__/proofsearch.cpython-311.pyc ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:254a5267083943689a306953689161bba17960d0b96ba6dd0977b35d347652b6
3
+ size 103067
experiments/learnability/__pycache__/rollout_search.cpython-311.pyc ADDED
Binary file (20 kB). View file
 
experiments/learnability/__pycache__/util.cpython-311.pyc ADDED
Binary file (21.9 kB). View file
 
experiments/learnability/__pycache__/worker.cpython-311.pyc ADDED
Binary file (4.65 kB). View file
 
experiments/learnability/ablate_updates.py ADDED
@@ -0,0 +1,395 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+
3
+ """
4
+ Ablation script: loads a checkpoint and the next iteration's training data,
5
+ then trains copies of the agent with different hyperparameter configs
6
+ (number of updates, learning rate, batch size, etc.) and evaluates each.
7
+
8
+ Usage:
9
+ python ablate_updates.py
10
+
11
+ Edit the ABLATION_CONFIGS list below to define the hyperparameter grid.
12
+ """
13
+
14
+ import os
15
+ import io
16
+ import copy
17
+ import json
18
+ import random
19
+ import datetime
20
+ import argparse
21
+
22
+ import torch
23
+ import wandb
24
+ from tqdm import tqdm
25
+
26
+ # ---------------------------------------------------------------------------
27
+ # Configuration
28
+ # ---------------------------------------------------------------------------
29
+
30
+ # Checkpoint to start from (all ablations fork from this).
31
+ CHECKPOINT_PATH = "/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para_8000updates/2026-03-10_21-21-05/0.pt"
32
+
33
+ # Training examples generated in the *same* iteration (i.e. examples_0.json).
34
+ EXAMPLES_PATH = "/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para_8000updates/2026-03-10_21-21-05/examples_0.json"
35
+
36
+ # Where to write ablation outputs (default: alongside the checkpoint).
37
+ OUTPUT_ROOT = None # If None, writes to <checkpoint_dir>/ablations/
38
+
39
+ # GPU device index (set to None for CPU).
40
+ CUDA_DEVICE = 0
41
+
42
+ # wandb project (set to None to disable).
43
+ WANDB_PROJECT = "peano-ablation"
44
+
45
+ # Each dict specifies overrides. Keys:
46
+ # mode – "sample" (original: sample with replacement, char-budget batches)
47
+ # "epoch" (deduplicate, shuffle, epoch-based, fixed example-count batches)
48
+ # n_steps – gradient steps (only for mode="sample"; default: 8000)
49
+ # n_epochs – number of epochs (only for mode="epoch"; default: 1)
50
+ # batch_size – for mode="sample": character-token budget per batch (default: 10000)
51
+ # for mode="epoch": number of examples per batch (default: 64)
52
+ # lr – learning rate for AdamW (default: 1e-4)
53
+ # tag – human-readable name used in output dir & wandb run name
54
+ ABLATION_CONFIGS = [
55
+ # --- Mode A: original sampling (with replacement, char-budget batches) ---
56
+ # Dir names auto-generated: updates_{ckpt}_{mode}_{params}
57
+ #{"mode": "sample", "n_steps": 2000, "batch_size": 10000},
58
+ #{"mode": "sample", "n_steps": 4000, "batch_size": 10000},
59
+
60
+ # --- Mode B: epoch training (deduplicate, shuffle, re-shuffle each epoch) ---
61
+ #{"mode": "epoch", "batch_size": 32, "n_epochs": 4, "save_every": 1}, # also save intermediate checkpoints at epoch 2
62
+ {"mode": "epoch", "batch_size": 64, "n_epochs": 2, "save_every": 1}, # save per-epoch ckpts: epoch_1.pt (mid) + epoch_2.pt/1.pt (final)
63
+ #{"mode": "epoch", "batch_size": 128, "n_epochs": 4, "save_every": 1}, # also save intermediate checkpoints at epoch 2
64
+
65
+ # --- optional: epoch with different lr ---
66
+ # {"mode": "epoch", "batch_size": 64, "lr": 5e-5},
67
+ # {"mode": "epoch", "batch_size": 64, "lr": 3e-4},
68
+ ]
69
+
70
+ # ---------------------------------------------------------------------------
71
+ # Helpers
72
+ # ---------------------------------------------------------------------------
73
+
74
+ def now() -> str:
75
+ return "[" + datetime.datetime.now().isoformat() + "]"
76
+
77
+
78
+ def load_examples(path: str) -> list[str]:
79
+ """Load training examples (list of strings) from a JSON file."""
80
+ with open(path) as f:
81
+ examples = json.load(f)
82
+ # examples can be plain strings or dicts with a 'str' key
83
+ out = []
84
+ for e in examples:
85
+ if isinstance(e, str):
86
+ out.append(e)
87
+ elif isinstance(e, dict) and "str" in e:
88
+ out.append(e["str"])
89
+ else:
90
+ raise ValueError(f"Unexpected example format: {type(e)}")
91
+ return out
92
+
93
+
94
+ def ckpt_num(path: str) -> str:
95
+ """Extract checkpoint number from path, e.g. '/foo/0.pt' -> '0'."""
96
+ return os.path.splitext(os.path.basename(path))[0]
97
+
98
+
99
+ def make_run_name(cfg: dict, checkpoint_path: str) -> str:
100
+ """Build directory name: updates_{ckpt_num}_{mode}_{params}."""
101
+ cn = ckpt_num(checkpoint_path)
102
+ mode = cfg.get("mode", "sample")
103
+ parts = [f"updates_{cn}", mode]
104
+ if mode == "sample":
105
+ parts.append(f"{cfg.get('n_steps', 8000)}steps")
106
+ bs = cfg.get('batch_size') or 10000
107
+ parts.append(f"bs{bs}")
108
+ elif mode == "epoch":
109
+ parts.append(f"{cfg.get('n_epochs', 1)}ep")
110
+ bs = cfg.get('batch_size') or 64
111
+ parts.append(f"bs{bs}")
112
+ if cfg.get("lr") is not None:
113
+ parts.append(f"lr{cfg['lr']}")
114
+ return "_".join(parts)
115
+
116
+
117
+ def deep_copy_agent(agent):
118
+ """Deep-copy an agent via serialize/deserialize (handles CUDA tensors)."""
119
+ buf = io.BytesIO()
120
+ torch.save(agent, buf)
121
+ buf.seek(0)
122
+ return torch.load(buf, weights_only=False)
123
+
124
+
125
+ def set_lr(optimizer, lr: float):
126
+ """Override learning rate on all param groups."""
127
+ for pg in optimizer.param_groups:
128
+ pg["lr"] = lr
129
+
130
+
131
+ def train_agent_sample(agent, examples: list[str], n_steps: int,
132
+ batch_size: int | None = None,
133
+ lr: float | None = None,
134
+ verbose: bool = True):
135
+ """
136
+ Original training mode: sample batches with replacement.
137
+
138
+ - n_steps: number of gradient steps
139
+ - batch_size: total character-token budget per batch (default from agent)
140
+ - lr: learning rate override
141
+ """
142
+ lm_policy = agent._policy # LMPolicy
143
+ lm = lm_policy._lm # TransformerLMPolicy
144
+
145
+ bs = batch_size if batch_size is not None else lm_policy._batch_size
146
+
147
+ if lr is not None:
148
+ set_lr(lm._optimizer, lr)
149
+
150
+ lm.fit(examples, bs, n_steps, verbose=verbose)
151
+ lm.eval()
152
+ return n_steps
153
+
154
+
155
+ def train_agent_epoch(agent, examples: list[str],
156
+ batch_size: int = 64,
157
+ n_epochs: int = 1,
158
+ lr: float | None = None,
159
+ save_every: int | None = None,
160
+ run_dir: str | None = None,
161
+ verbose: bool = True):
162
+ """
163
+ Epoch-based training: deduplicate, then train for n_epochs epochs
164
+ with re-shuffling each epoch and fixed example-count batches.
165
+
166
+ - batch_size: number of examples per batch
167
+ - n_epochs: number of passes over the dataset
168
+ - lr: learning rate override
169
+ - save_every: save a checkpoint every N epochs (None = only final)
170
+ - run_dir: directory to save intermediate checkpoints into
171
+ """
172
+ lm = agent._policy._lm # TransformerLMPolicy
173
+
174
+ if lr is not None:
175
+ set_lr(lm._optimizer, lr)
176
+
177
+ # Deduplicate
178
+ unique_examples = list(dict.fromkeys(examples)) # preserves first occurrence order
179
+ print(f" Dedup: {len(examples)} -> {len(unique_examples)} unique examples")
180
+
181
+ lm._lm.train()
182
+ batches_per_epoch = (len(unique_examples) + batch_size - 1) // batch_size
183
+ total_steps = 0
184
+ saved_epochs = set()
185
+
186
+ for epoch in range(n_epochs):
187
+ # Re-shuffle each epoch
188
+ random.shuffle(unique_examples)
189
+
190
+ rng = range(batches_per_epoch)
191
+ if verbose:
192
+ rng = tqdm(rng, desc=f"Epoch {epoch+1}/{n_epochs}")
193
+
194
+ for i in rng:
195
+ batch = unique_examples[i * batch_size : (i + 1) * batch_size]
196
+ lm._optimizer.zero_grad()
197
+ loss = lm.get_loss(batch)
198
+ loss.backward()
199
+ wandb.log({"train_loss": loss, "epoch": epoch + 1})
200
+ lm._optimizer.step()
201
+ total_steps += 1
202
+
203
+ # Intermediate checkpoint
204
+ if save_every and run_dir and (epoch + 1) % save_every == 0:
205
+ lm._lm.eval()
206
+ ckpt_path = os.path.join(run_dir, f"epoch_{epoch+1}.pt")
207
+ torch.save(agent, ckpt_path)
208
+ print(f" {now()} Saved checkpoint at epoch {epoch+1} -> {ckpt_path}")
209
+ saved_epochs.add(epoch + 1)
210
+ lm._lm.train()
211
+
212
+ lm._lm.eval()
213
+
214
+ # Save final if not already saved by save_every
215
+ if run_dir and n_epochs not in saved_epochs:
216
+ final_path = os.path.join(run_dir, f"epoch_{n_epochs}.pt")
217
+ torch.save(agent, final_path)
218
+ print(f" {now()} Saved final checkpoint -> {final_path}")
219
+
220
+ print(f" Done: {n_epochs} epoch(s), {total_steps} total steps, "
221
+ f"{len(unique_examples)} unique examples (batch_size={batch_size})")
222
+ return total_steps
223
+
224
+
225
+ # ---------------------------------------------------------------------------
226
+ # Main
227
+ # ---------------------------------------------------------------------------
228
+
229
+ def run_ablation(cfg: dict, base_agent, examples: list[str], output_root: str,
230
+ checkpoint_path: str, examples_path: str = None):
231
+ tag = cfg.get("tag") or make_run_name(cfg, checkpoint_path)
232
+ mode = cfg.get("mode", "sample")
233
+ n_steps = cfg.get("n_steps", 8000)
234
+ batch_size = cfg.get("batch_size", None)
235
+ lr = cfg.get("lr", None)
236
+
237
+ run_dir = os.path.join(output_root, tag)
238
+ os.makedirs(run_dir, exist_ok=True)
239
+
240
+ # Save config (include checkpoint + examples paths for reproducibility)
241
+ saved_cfg = {**cfg, "checkpoint": checkpoint_path, "examples": examples_path}
242
+ with open(os.path.join(run_dir, "ablation_config.json"), "w") as f:
243
+ json.dump(saved_cfg, f, indent=2)
244
+
245
+ # Deep-copy agent so each ablation starts from the same checkpoint
246
+ print(f"\n{'='*60}")
247
+ print(f"{now()} Starting ablation: {tag} (mode={mode})")
248
+ print(f" n_steps={n_steps}, batch_size={batch_size}, lr={lr}")
249
+ print(f" output -> {run_dir}")
250
+ print(f"{'='*60}")
251
+
252
+ agent = deep_copy_agent(base_agent)
253
+
254
+ # Init wandb run for this ablation
255
+ wandb_config = {
256
+ "checkpoint": CHECKPOINT_PATH,
257
+ "examples": EXAMPLES_PATH,
258
+ "mode": mode,
259
+ "batch_size": batch_size or agent._policy._batch_size,
260
+ "lr": lr or agent._policy._lm._optimizer.param_groups[0]["lr"],
261
+ "tag": tag,
262
+ }
263
+ if mode == "sample":
264
+ wandb_config["n_steps"] = n_steps
265
+ elif mode == "epoch":
266
+ wandb_config["n_epochs"] = cfg.get("n_epochs", 1)
267
+ if WANDB_PROJECT:
268
+ wandb.init(
269
+ project=WANDB_PROJECT,
270
+ name=tag,
271
+ config=wandb_config,
272
+ reinit=True,
273
+ )
274
+
275
+ if mode == "sample":
276
+ total_steps = train_agent_sample(agent, examples, n_steps=n_steps,
277
+ batch_size=batch_size, lr=lr)
278
+ elif mode == "epoch":
279
+ total_steps = train_agent_epoch(agent, examples,
280
+ batch_size=batch_size or 64,
281
+ n_epochs=cfg.get("n_epochs", 1), lr=lr,
282
+ save_every=cfg.get("save_every"),
283
+ run_dir=run_dir)
284
+ else:
285
+ raise ValueError(f"Unknown training mode: {mode}")
286
+
287
+ # Save the trained agent as 1.pt (next iteration checkpoint)
288
+ out_path = os.path.join(run_dir, "1.pt")
289
+ torch.save(agent, out_path)
290
+ print(f"{now()} Saved trained agent to {out_path}")
291
+
292
+ # Save training stats
293
+ stats = {"total_gradient_steps": total_steps}
294
+ with open(os.path.join(run_dir, "train_stats.json"), "w") as f:
295
+ json.dump(stats, f, indent=2)
296
+
297
+ if WANDB_PROJECT:
298
+ wandb.finish()
299
+
300
+ return out_path, total_steps
301
+
302
+
303
+ def main():
304
+ global WANDB_PROJECT
305
+ parser = argparse.ArgumentParser(description="Ablation over training hyperparameters")
306
+ parser.add_argument("--checkpoint", default=CHECKPOINT_PATH,
307
+ help="Path to the base .pt checkpoint")
308
+ parser.add_argument("--examples", default=EXAMPLES_PATH,
309
+ help="Path to examples JSON file")
310
+ parser.add_argument("--output", default=None,
311
+ help="Root output directory (default: <checkpoint_dir>/ablations/)")
312
+ parser.add_argument("--device", type=int, default=CUDA_DEVICE,
313
+ help="CUDA device index (use -1 for CPU)")
314
+ parser.add_argument("--seed", type=int, default=None,
315
+ help="Random seed for reproducible shuffling/training (default: unseeded).")
316
+ parser.add_argument("--wandb-project", default=WANDB_PROJECT,
317
+ help="W&B project name (empty string to disable)")
318
+ parser.add_argument("--configs", nargs="+", default=None,
319
+ help="Run only ablations whose tags match these (default: all)")
320
+ args = parser.parse_args()
321
+
322
+ # Set device
323
+ if args.device >= 0 and torch.cuda.is_available():
324
+ os.environ["CUDA_VISIBLE_DEVICES"] = str(args.device)
325
+
326
+ # Seed for reproducible shuffles / training stochasticity (dropout, etc.)
327
+ if args.seed is not None:
328
+ random.seed(args.seed)
329
+ torch.manual_seed(args.seed)
330
+ torch.cuda.manual_seed_all(args.seed)
331
+ print(f"{now()} Seeded RNGs with seed={args.seed}")
332
+
333
+ WANDB_PROJECT = args.wandb_project or None
334
+
335
+ # If wandb is disabled, make wandb.log a no-op (policy.py's fit() calls it directly)
336
+ if not WANDB_PROJECT:
337
+ wandb.log = lambda *args, **kwargs: None
338
+
339
+ # Default output dir: <checkpoint_dir>/ablations/<timestamp>/
340
+ ckpt_dir = os.path.dirname(os.path.abspath(args.checkpoint))
341
+ timestamp = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")
342
+ output_root = os.path.join(args.output or os.path.join(ckpt_dir, "ablations"), timestamp)
343
+ os.makedirs(output_root, exist_ok=True)
344
+
345
+ print(f"{now()} Loading checkpoint from {args.checkpoint}")
346
+ base_agent = torch.load(args.checkpoint, weights_only=False)
347
+
348
+ print(f"{now()} Loading examples from {args.examples}")
349
+ examples = load_examples(args.examples)
350
+ print(f" {len(examples)} training examples loaded.")
351
+
352
+ configs = ABLATION_CONFIGS
353
+ if args.configs:
354
+ configs = [c for c in configs if
355
+ (c.get("tag") or make_run_name(c, args.checkpoint)) in args.configs]
356
+ print(f" Running subset: {[c.get('tag') or make_run_name(c, args.checkpoint) for c in configs]}")
357
+
358
+ results = {}
359
+
360
+ for cfg in configs:
361
+ agent_path, total_steps = run_ablation(cfg, base_agent, examples, output_root,
362
+ args.checkpoint,
363
+ examples_path=os.path.abspath(args.examples))
364
+ run_name = cfg.get("tag") or make_run_name(cfg, args.checkpoint)
365
+ results[run_name] = {"path": agent_path, "total_gradient_steps": total_steps}
366
+
367
+ # Summary
368
+ print(f"\n{'='*60}")
369
+ print(f"{now()} All ablations complete.")
370
+ print(f"{'='*60}")
371
+ summary_path = os.path.join(output_root, "summary.json")
372
+ with open(summary_path, "w") as f:
373
+ json.dump({
374
+ "checkpoint": os.path.abspath(args.checkpoint),
375
+ "examples": os.path.abspath(args.examples),
376
+ "configs": ABLATION_CONFIGS,
377
+ "results": results,
378
+ }, f, indent=2)
379
+ print(f"Summary saved to {summary_path}")
380
+
381
+ for tag, path in results.items():
382
+ print(f" {tag}: {path}")
383
+
384
+
385
+ if __name__ == "__main__":
386
+ main()
387
+
388
+
389
+ #command to run this script:
390
+
391
+ # python ablate_updates.py --checkpoint /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_parallel/2026-01-19_12-06-16/0.pt --examples /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_parallel/2026-01-19_12-06-16/examples_0.json --wandb-project peano-ablation
392
+
393
+ # python ablate_updates.py --checkpoint /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para_8000updates/2026-03-10_21-21-05/0.pt --examples /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para_8000updates/2026-03-10_21-21-05/examples_0.json --wandb-project peano-ablation
394
+
395
+ # python ablate_updates.py --checkpoint /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_itlearn_fresh_parallel/2026-01-25_12-18-11/0.pt --examples /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_itlearn_fresh_parallel/2026-01-25_12-18-11/examples_5.json --wandb-project peano-ablation
experiments/learnability/action.py ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ # Wrapper for PyProofAction that allows for sequences of actions to be chained together.
3
+
4
+ import functools
5
+
6
+ import peano
7
+
8
+
9
+ class ProofAction:
10
+ def __init__(self, peano_actions: list):
11
+ self._actions = peano_actions
12
+
13
+ def __str__(self) -> str:
14
+ return ' => '.join(map(str, self._actions))
15
+
16
+ def __repr__(self) -> str:
17
+ return str(self)
18
+
19
+ def __eq__(self, rhs) -> bool:
20
+ return isinstance(rhs, ProofAction) and self._actions == rhs._actions
21
+
22
+ def is_intro(self) -> bool:
23
+ return len(self._actions) == 1 and self._actions[0].is_intro()
24
+
25
+ def is_construct(self):
26
+ return len(self._actions) <= 2 and self._actions[0].is_construct()
27
+
28
+ def is_apply(self):
29
+ return len(self._actions) <= 2 and self._actions[0].is_apply()
30
+
31
+ def execute(self, state: peano.PyProofState) -> peano.PyProofState:
32
+ return functools.reduce(lambda s, a: s[0].execute_action(a),
33
+ self._actions, [state])
34
+
35
+ def is_eager(self):
36
+ return self.is_intro() or len(self._actions) == 2
37
+
38
+ def arrow_name(self):
39
+ assert not self.is_intro()
40
+ return str(self._actions[0]).split()[1]
41
+
42
+ def construction_dtype(self):
43
+ c_a = (self._actions[1]
44
+ if self._actions[0].is_construct()
45
+ else self._actions[0])
46
+ dtype, _value = c_a.selected_construction()
47
+ return str(dtype)
48
+
experiments/learnability/bestfirst_search.py ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Value-free best-first proof search.
3
+
4
+ A minimal, value-net-free searcher that uses ONLY the learned policy
5
+ (P(Y | state, action)) to rank a frontier of open proof states. No MCTS,
6
+ no UCT, no backpropagation, no value function. It is the deterministic
7
+ sibling of `rollout_search.py`: instead of sampling independent rollouts,
8
+ it keeps one global priority queue of partial proofs and always expands the
9
+ most promising one.
10
+
11
+ Design (agreed in design discussion):
12
+ * An *item* is one full proof state = a list of open subgoals (leftmost
13
+ first) plus a cumulative priority g = sum_i log pi(a_i), where
14
+ pi(a|s) = score_a / sum score is the policy distribution over the focused
15
+ subgoal's legal actions. All subgoals spawned by one action share one item
16
+ priority; conjunctions (AND) are handled automatically because an item is
17
+ solved exactly when its subgoal list is empty.
18
+ * To score actions we wrap the *focused* (leftmost) subgoal as a single-goal
19
+ `HolophrasmNode([ps])` -- identical to the rollout searcher -- so both the
20
+ state string and action strings stay in-distribution.
21
+ * One pop = one budget unit. We pop the max-g item, score its focused
22
+ subgoal's legal actions, and push one child per action (subgoals =
23
+ spawned + rest[1:]). Trivially dead items (no legal actions) are dropped;
24
+ there is no backtracking, we just pop the next best item.
25
+
26
+ Budget knob: `--max-pops` (default 4000, mirrors MCTS max_mcts_nodes).
27
+ `--timeout` is a per-problem wall-clock cap shared with the search. `evals`
28
+ is reported as a cost meter (sum of |legal| scored across pops).
29
+ """
30
+
31
+ import argparse
32
+ import heapq
33
+ import itertools
34
+ import json
35
+ import multiprocessing
36
+ import os
37
+ import time
38
+ from concurrent.futures import ProcessPoolExecutor, as_completed
39
+ from dataclasses import dataclass, asdict, field
40
+
41
+ import numpy as np
42
+ import torch
43
+
44
+ import peano
45
+ import problems
46
+ from proofsearch import HolophrasmNode
47
+ from rollout_search import load_policy_lm
48
+
49
+
50
+ # ----------------------------------------------------------------------------
51
+ # A single best-first search for one problem
52
+ # ----------------------------------------------------------------------------
53
+
54
+ @dataclass
55
+ class BestFirstTrace:
56
+ solved: bool
57
+ outcome: str # "solved" | "exhausted" | "budget" | "timeout"
58
+ pops_used: int # number of items expanded (budget meter)
59
+ evals_used: int # total policy action-evaluations (cost meter)
60
+ max_open: int # max frontier size
61
+ solution_actions: list = field(default_factory=list)
62
+
63
+
64
+ def best_first(lm,
65
+ initial_state,
66
+ max_pops: int,
67
+ max_actions: int = 0,
68
+ deadline: float | None = None) -> BestFirstTrace:
69
+ """Run best-first search from `initial_state` (a peano.PyProofState).
70
+
71
+ Items are (g, tiebreak, subgoals, actions_so_far). The heap is a min-heap
72
+ on -g so the largest cumulative log-prob is popped first. `max_actions`
73
+ (> 0) drops any state whose legal-action set blows up past the cap.
74
+ """
75
+ counter = itertools.count()
76
+ # frontier: min-heap of (-g, tiebreak, subgoals_tuple, actions)
77
+ frontier = [(-0.0, next(counter), (initial_state,), [])]
78
+ pops = 0
79
+ evals = 0
80
+ max_open = 1
81
+
82
+ while frontier:
83
+ if deadline is not None and time.time() > deadline:
84
+ return BestFirstTrace(False, "timeout", pops, evals, max_open)
85
+ if pops >= max_pops:
86
+ return BestFirstTrace(False, "budget", pops, evals, max_open)
87
+
88
+ neg_g, _, subgoals, acts = heapq.heappop(frontier)
89
+ g = -neg_g
90
+ pops += 1
91
+
92
+ # Focus the leftmost subgoal; wrap alone so policy sees in-dist text.
93
+ node = HolophrasmNode([subgoals[0]])
94
+ try:
95
+ legal = node.actions
96
+ except BaseException:
97
+ continue # latent prover panic -> dead
98
+ if not legal:
99
+ continue # dead end, no backtrack
100
+
101
+ if max_actions and len(legal) > max_actions:
102
+ continue # context-bloat: abandon item
103
+
104
+ state_str = str(node)
105
+ action_strs = [str(a) for a in legal]
106
+ scores = np.clip(np.asarray(lm.estimate_state_action_values(state_str, action_strs),
107
+ dtype=np.float64), 1e-12, None)
108
+ evals += len(legal)
109
+ logpi = np.log(scores) - np.log(scores.sum()) # log normalized prior
110
+
111
+ for i, action in enumerate(legal):
112
+ try:
113
+ child = node.expand(action)
114
+ except BaseException:
115
+ continue
116
+ spawned = list(child._proof_states)
117
+ new_subgoals = spawned + list(subgoals[1:])
118
+ new_acts = acts + [action_strs[i]]
119
+ if not new_subgoals:
120
+ return BestFirstTrace(True, "solved", pops, evals, max_open, new_acts)
121
+ heapq.heappush(frontier,
122
+ (-(g + logpi[i]), next(counter),
123
+ tuple(new_subgoals), new_acts))
124
+ max_open = max(max_open, len(frontier))
125
+
126
+ return BestFirstTrace(False, "exhausted", pops, evals, max_open)
127
+
128
+
129
+ def _summarize(tr: BestFirstTrace) -> dict:
130
+ return {
131
+ "solved": tr.solved,
132
+ "outcome": tr.outcome,
133
+ "pops_used": tr.pops_used,
134
+ "evals_used": tr.evals_used,
135
+ "max_open": tr.max_open,
136
+ "solution_actions": tr.solution_actions if tr.solved else None,
137
+ }
138
+
139
+
140
+ # ----------------------------------------------------------------------------
141
+ # Parallel workers (shared visible GPU; one LM load per process)
142
+ # ----------------------------------------------------------------------------
143
+
144
+ _WORKER: dict = {}
145
+
146
+
147
+ def _worker_init(agent_path, problemset_id, max_pops, max_actions, timeout):
148
+ _WORKER["lm"] = load_policy_lm(agent_path)
149
+ _WORKER["problemset"] = problems.load_problemset(problemset_id)
150
+ _WORKER["max_pops"] = max_pops
151
+ _WORKER["max_actions"] = max_actions
152
+ _WORKER["timeout"] = timeout
153
+
154
+
155
+ def _worker_solve(name: str) -> dict:
156
+ w = _WORKER
157
+ state = w["problemset"].initialize_problem(name)
158
+ deadline = (time.time() + w["timeout"]) if w["timeout"] and w["timeout"] > 0 else None
159
+ tr = best_first(w["lm"], state, max_pops=w["max_pops"],
160
+ max_actions=w["max_actions"], deadline=deadline)
161
+ rec = _summarize(tr)
162
+ rec["problem"] = name
163
+ return rec
164
+
165
+
166
+ def _print_result(rec: dict):
167
+ flag = "OK " if rec["solved"] else " "
168
+ print(f"[{flag}] {rec['problem']} ({rec['outcome']} pops={rec['pops_used']} "
169
+ f"evals={rec['evals_used']} maxopen={rec['max_open']})", flush=True)
170
+
171
+
172
+ def run(agent_path, problemset_id, max_pops, max_actions, timeout,
173
+ output, single=None, workers=1):
174
+ problemset = problems.load_problemset(problemset_id)
175
+ names = problemset.problem_names()
176
+ if single is not None:
177
+ names = [single]
178
+
179
+ t0 = time.time()
180
+
181
+ if workers > 1 and single is None:
182
+ ctx = multiprocessing.get_context("spawn")
183
+ by_name: dict[str, dict] = {}
184
+ with ProcessPoolExecutor(max_workers=workers, mp_context=ctx,
185
+ initializer=_worker_init,
186
+ initargs=(agent_path, problemset_id, max_pops,
187
+ max_actions, timeout)) as ex:
188
+ futures = {ex.submit(_worker_solve, name): name for name in names}
189
+ for fut in as_completed(futures):
190
+ rec = fut.result()
191
+ by_name[rec["problem"]] = rec
192
+ _print_result(rec)
193
+ results = [by_name[name] for name in names]
194
+ else:
195
+ lm = load_policy_lm(agent_path)
196
+ results = []
197
+ for name in names:
198
+ state = problemset.initialize_problem(name)
199
+ deadline = (time.time() + timeout) if timeout and timeout > 0 else None
200
+ tr = best_first(lm, state, max_pops=max_pops, max_actions=max_actions,
201
+ deadline=deadline)
202
+ rec = _summarize(tr)
203
+ rec["problem"] = name
204
+ results.append(rec)
205
+ _print_result(rec)
206
+
207
+ n_solved = sum(int(rec["solved"]) for rec in results)
208
+ elapsed = time.time() - t0
209
+ summary = {
210
+ "agent_path": agent_path,
211
+ "problemset": problemset_id,
212
+ "max_pops": max_pops,
213
+ "max_actions": max_actions,
214
+ "timeout": timeout,
215
+ "workers": workers,
216
+ "num_problems": len(names),
217
+ "num_solved": n_solved,
218
+ "elapsed_sec": elapsed,
219
+ "results": results,
220
+ }
221
+
222
+ if output:
223
+ os.makedirs(os.path.dirname(os.path.abspath(output)), exist_ok=True)
224
+ with open(output, "w") as f:
225
+ json.dump(summary, f, indent=2)
226
+ print(f"\nWrote {output}")
227
+
228
+ print(f"Solved {n_solved}/{len(names)} in {elapsed:.1f}s")
229
+ return summary
230
+
231
+
232
+ def main():
233
+ p = argparse.ArgumentParser(description="Value-free best-first proof search.")
234
+ p.add_argument("--agent", required=True, help="Path to agent/policy .pt checkpoint.")
235
+ p.add_argument("--problemset", required=True, help="Problem set id.")
236
+ p.add_argument("--max-pops", type=int, default=4000,
237
+ help="Budget: number of items expanded (mirrors MCTS max_mcts_nodes).")
238
+ p.add_argument("--max-actions", type=int, default=0,
239
+ help="Abandon a state whose legal-action set exceeds this size (0 = no cap).")
240
+ p.add_argument("--timeout", type=float, default=0.0,
241
+ help="Per-problem wall-clock budget in seconds (0 = none).")
242
+ p.add_argument("--workers", type=int, default=1,
243
+ help="Worker processes sharing the visible GPU (1 = sequential).")
244
+ p.add_argument("--output", default="", help="Path to write JSON results.")
245
+ p.add_argument("--single", default=None, help="Run a single problem by name.")
246
+ args = p.parse_args()
247
+
248
+ run(agent_path=args.agent, problemset_id=args.problemset,
249
+ max_pops=args.max_pops, max_actions=args.max_actions,
250
+ timeout=args.timeout, output=args.output, single=args.single,
251
+ workers=args.workers)
252
+
253
+
254
+ if __name__ == "__main__":
255
+ main()
experiments/learnability/bootstrap.py ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+
3
+ """Implements the conjecture-prove bootstrapping learning loop."""
4
+
5
+ import asyncio
6
+ import os
7
+ import json
8
+ import datetime
9
+ from pathlib import Path
10
+
11
+ import hydra
12
+ from omegaconf import DictConfig
13
+ import torch
14
+ import numpy as np
15
+ from tqdm import tqdm
16
+
17
+ import peano
18
+ import worker
19
+ from worker import StudentResult # noqa
20
+ from hindsight import HindsightExample # noqa
21
+ from util import format_blocks_with_indent, sample_batch, setup_wandb, value_color, save_json
22
+ from conjecture import AgentLM, Context, sample_conjecture
23
+ from proofsearch import make_agent
24
+
25
+
26
+ def load_fixed_statements(path: str) -> list[str]:
27
+ """Parse a benchmark file with 'name. statement' lines into a list of statements."""
28
+ stmts = []
29
+ for line in Path(path).read_text().splitlines():
30
+ line = line.strip()
31
+ if not line:
32
+ continue
33
+ if "." in line:
34
+ _, stmt = line.split(".", 1)
35
+ stmt = stmt.strip()
36
+ else:
37
+ stmt = line
38
+ stmts.append(stmt)
39
+ return stmts
40
+
41
+
42
+ def now() -> str:
43
+ return '[' + datetime.datetime.now().isoformat() + ']'
44
+
45
+
46
+ FAIL = "fail"
47
+
48
+
49
+ def _get_logprob(student_result, normalize):
50
+ """Return logprob, optionally normalized by proof length."""
51
+ lp = student_result.logprob
52
+ if normalize and lp is not None and student_result.solution_actions:
53
+ lp = lp / max(len(student_result.solution_actions), 1)
54
+ return lp
55
+
56
+
57
+ DISTRIBUTED = os.environ.get('DISTRIBUTED', False)
58
+
59
+
60
+ def submit_task(agent_path: str, theory: worker.BackgroundTheory, statement: str, timeout: float = None):
61
+ if DISTRIBUTED:
62
+ return worker.try_prove.apply_async(args=(agent_path, theory, statement),
63
+ kwargs={'timeout': timeout})
64
+ else:
65
+ return worker.try_prove.run(agent_path, theory, statement, timeout=timeout)
66
+
67
+
68
+ def get_task_result(task, timeout=None):
69
+ if DISTRIBUTED:
70
+ return task.get(timeout=timeout)
71
+ else:
72
+ return task
73
+
74
+
75
+ async def teacher_loop(cfg: DictConfig):
76
+ print('Running in', 'distributed mode.' if DISTRIBUTED else 'single-process mode.')
77
+
78
+ agent = make_agent(cfg)
79
+
80
+ with open(os.path.join(os.path.dirname(__file__), 'theories', cfg.theory.name + '.p')) as f:
81
+ theory = f.read()
82
+
83
+ difficulty_buckets = sorted([list(cfg.difficulty_buckets[i].items())[0]
84
+ for i in range(len(cfg.difficulty_buckets))],
85
+ key=lambda kv: kv[1])
86
+
87
+ premises = cfg.theory.premises
88
+
89
+ d = peano.PyDerivation()
90
+ d.incorporate(theory)
91
+ proven_conjectures = []
92
+ seen_hindsight_goals = set()
93
+ proofs = []
94
+ outcomes = []
95
+
96
+ continue_dir = cfg.get('continue')
97
+ start_iteration = 0
98
+
99
+ if continue_dir is not None:
100
+ os.chdir(continue_dir)
101
+ print('Continuing run from', continue_dir)
102
+ # Find largest iteration number such that i.pt exists.
103
+ i = 0
104
+ while os.path.exists(f'{i}.pt'):
105
+ i += 1
106
+ i -= 1
107
+ start_iteration = i
108
+ agent = torch.load(f'{i}.pt', weights_only=False)
109
+ print('Loaded agent from', f'{i}.pt')
110
+ # Load examples and outcomes.
111
+ if i > 0:
112
+ with open(f'outcomes_{i-1}.json', 'r') as f:
113
+ outcomes = json.load(f)
114
+ proven_conjectures = [o['problem'] for o in outcomes
115
+ if o['hindsight'] is False and
116
+ o['proof'] is not None]
117
+ seen_hindsight_goals = {o['problem'] for o in outcomes
118
+ if o['hindsight'] and o['proof'] is not None}
119
+
120
+ print('Loaded', len(proven_conjectures), 'proven conjectures from previous run.')
121
+
122
+
123
+ if cfg.get('freeze_conjecturer', False):
124
+ print('Ablation: Freezing conjecturer.')
125
+
126
+
127
+ with open('log.jsonl', 'w') as log:
128
+ for i in range(start_iteration, cfg.iterations):
129
+ torch.save(agent, f'{i}.pt')
130
+
131
+ fixed_path = cfg.get('fixed_statements_path', None)
132
+
133
+ if fixed_path is not None:
134
+ conjectures = load_fixed_statements(fixed_path)
135
+ print(now(), f'Iteration #{i}: using {len(conjectures)} fixed benchmark problems.')
136
+ else:
137
+ context = Context(d, None, [])
138
+ # 1- Run conjecturing model to obtain N conjectures.
139
+ print(now(), f'Iteration #{i}: making conjectures...')
140
+
141
+ progress_bar = tqdm(total=cfg.n_conjectures)
142
+
143
+ conjectures = []
144
+
145
+ while len(conjectures) < cfg.n_conjectures:
146
+ proposal = sample_conjecture(AgentLM(agent, 'Conj:(hard) '), context)
147
+
148
+ if proposal and proposal not in conjectures + proven_conjectures:
149
+ # Contract conjectures to make them Peano-parseable.
150
+ contracted_proposal = d.contract(proposal)
151
+ if contracted_proposal not in conjectures + proven_conjectures:
152
+ conjectures.append(contracted_proposal)
153
+ progress_bar.update(1)
154
+
155
+ progress_bar.close()
156
+
157
+
158
+ print(now(), 'done, have', len(conjectures), 'conjectures')
159
+ print(conjectures)
160
+
161
+ log.write(json.dumps({'iteration': i,
162
+ 'msg': f'It #{i}: posing {len(conjectures)} conjectures.',
163
+ 'conjectures': conjectures}))
164
+ log.write('\n')
165
+ log.flush()
166
+
167
+ # 2- Try to prove each of the conjectures
168
+ tasks = []
169
+
170
+ # Reuse the checkpoint already saved above.
171
+ agent_path = os.path.abspath(f'{i}.pt')
172
+
173
+ proof_search_timeout = cfg.get('proof_search_timeout', None)
174
+ if proof_search_timeout:
175
+ print(f'Proof search timeout: {proof_search_timeout}s')
176
+
177
+ print('Submitting tasks...')
178
+ for conjecture in tqdm(conjectures, miniters=1):
179
+ tasks.append(submit_task(
180
+ agent_path,
181
+ worker.BackgroundTheory(theory, premises),
182
+ conjecture,
183
+ timeout=proof_search_timeout))
184
+
185
+ # 3- Train model on proofs and outcome of conjectures (easy, hard, timeout)
186
+ examples = []
187
+ student_results = []
188
+
189
+ inactivity_timeout = (proof_search_timeout + 60) if proof_search_timeout else 660
190
+ print('Collecting', len(tasks), f'results from workers (inactivity timeout: {inactivity_timeout}s).')
191
+
192
+ if DISTRIBUTED:
193
+ import time as _time
194
+ pending = set(range(len(tasks)))
195
+ last_result_time = _time.time()
196
+ progress_bar = tqdm(total=len(tasks), miniters=1)
197
+
198
+ while pending and (_time.time() - last_result_time) < inactivity_timeout:
199
+ for idx in list(pending):
200
+ if tasks[idx].ready():
201
+ pending.discard(idx)
202
+ progress_bar.update(1)
203
+ last_result_time = _time.time()
204
+ try:
205
+ student_result = tasks[idx].get(timeout=5)
206
+ if student_result.error:
207
+ print('Error in prover process!')
208
+ print(student_result.error)
209
+ continue
210
+ student_results.append(student_result)
211
+ except Exception as e:
212
+ print(f'Failed to get result for task {idx}: {e}')
213
+ _time.sleep(1)
214
+
215
+ progress_bar.close()
216
+ if pending:
217
+ print(f'Collection stopped after {inactivity_timeout}s of inactivity.')
218
+ print(f'Got {len(student_results)} results out of {len(tasks)} tasks.')
219
+ else:
220
+ for task in tqdm(tasks, miniters=1):
221
+ student_result = get_task_result(task)
222
+ if student_result.error:
223
+ print('Error in prover process!')
224
+ print(student_result.error)
225
+ continue
226
+ student_results.append(student_result)
227
+
228
+ success_logprobs = []
229
+ n_timeouts = 0
230
+ normalize_lp = cfg.get('normalize_logprob', False)
231
+
232
+ # 3a- Look at all the success logprobs and compute the easy/hard threhsold.
233
+ for student_result in student_results:
234
+ if student_result.success:
235
+ success_logprobs.append(_get_logprob(student_result, normalize_lp))
236
+
237
+ if getattr(student_result, 'timed_out', False):
238
+ n_timeouts += 1
239
+
240
+ outcomes.append({'iteration': i,
241
+ 'problem': student_result.problem,
242
+ 'proof': student_result.proof,
243
+ 'logprob': student_result.logprob,
244
+ 'actions': student_result.solution_actions,
245
+ 'hindsight': False,
246
+ 'timed_out': getattr(student_result, 'timed_out', False),
247
+ 'proof_features': getattr(student_result, 'proof_features', None),
248
+ })
249
+
250
+ for h in student_result.hindsight_examples:
251
+ outcomes.append({'iteration': i,
252
+ 'problem': h.statement,
253
+ 'proof': h.proof,
254
+ 'logprob': h.logprob,
255
+ 'actions': h.solution_actions,
256
+ 'hindsight': True
257
+ })
258
+
259
+ if not success_logprobs:
260
+ print(f'No solutions found in iteration {i} - stopping learning loop...')
261
+ break
262
+
263
+ print(f'Iteration #{i}: {len(success_logprobs)} solved, {n_timeouts} timed out, '
264
+ f'{len(student_results) - len(success_logprobs) - n_timeouts} failed.')
265
+
266
+ thresholds = [np.percentile(success_logprobs, p)
267
+ for _, p in difficulty_buckets]
268
+
269
+ print('Thresholds:',
270
+ list(zip([k for k, _ in difficulty_buckets], thresholds)),
271
+ 'min =', np.min(success_logprobs),
272
+ 'max =', np.max(success_logprobs))
273
+
274
+ # 3b- Classify problems into easy/hard.
275
+ for student_result in student_results:
276
+ # Outcome is the name of the first difficulty bucket that is larger than the logprob.
277
+ if student_result.success:
278
+ lp = _get_logprob(student_result, normalize_lp)
279
+ outcome = next(k
280
+ for i, (k, _) in enumerate(difficulty_buckets)
281
+ if (lp <= thresholds[i] or
282
+ i + 1 == len(difficulty_buckets)))
283
+ else:
284
+ outcome = FAIL
285
+
286
+ if not cfg.get('freeze_conjecturer', False):
287
+ examples.append(f'Conj:({outcome}) ' + d.elaborate(student_result.problem))
288
+
289
+ if student_result.success:
290
+ proven_conjectures.append(student_result.problem)
291
+ proofs.append(student_result.proof)
292
+
293
+ examples.extend(student_result.extracted_examples)
294
+
295
+ if cfg.train_policy_on_hindsight_examples:
296
+ for h in student_result.hindsight_examples:
297
+ if h.goal not in seen_hindsight_goals:
298
+ h_lp = h.logprob
299
+ if normalize_lp and h.solution_actions:
300
+ h_lp = h_lp / max(len(h.solution_actions), 1)
301
+ outcome = next(k
302
+ for i, (k, _) in enumerate(difficulty_buckets)
303
+ if h_lp <= thresholds[i] or i + 1 == len(difficulty_buckets))
304
+
305
+ if not cfg.get('freeze_conjecturer', False):
306
+ examples.append(f'Conj:({outcome}) ' + d.elaborate(student_result.problem))
307
+ examples.extend(h.examples)
308
+ seen_hindsight_goals.add(h.goal)
309
+
310
+ log.write(json.dumps({'iteration': i,
311
+ 'msg': f'Training on {len(examples)} examples.'}))
312
+ log.write('\n')
313
+
314
+ # 3c- Train model on conjecturing and proof search examples.
315
+ if i + 1 < cfg.iterations:
316
+ print(len(examples), 'accumulated training examples.')
317
+ agent.train(examples)
318
+
319
+ save_json(examples, f'examples_{i}.json')
320
+ save_json(outcomes, f'outcomes_{i}.json')
321
+ torch.save(student_results, f'results_{i}.json')
322
+
323
+
324
+ @hydra.main(version_base="1.2", config_path="config", config_name="bootstrap")
325
+ def main(cfg: DictConfig):
326
+ print('Running from:', os.getcwd())
327
+ setup_wandb(cfg)
328
+ if cfg.task == 'teacher':
329
+ asyncio.run(teacher_loop(cfg))
330
+
331
+ if __name__ == '__main__':
332
+ main()
333
+
334
+ #DISTRIBUTED=1 python bootstrap.py --config-name bootstrap_NoHER
335
+ #DISTRIBUTED=1 python bootstrap.py --config-name bootstrap_nat_mul
336
+ #CUDA_VISIBLE_DEVICES=0 celery -A worker.app worker --loglevel=info --concurrency=5 -n gpu0@%h
337
+ #CUDA_VISIBLE_DEVICES=1 celery -A worker.app worker --loglevel=info --concurrency=5 -n gpu1@%h
338
+ #CUDA_VISIBLE_DEVICES=2 celery -A worker.app worker --loglevel=info --concurrency=5 -n gpu2@%h
339
+ #CUDA_VISIBLE_DEVICES=3 celery -A worker.app worker --loglevel=info --concurrency=5 -n gpu3@%h
340
+ #redis-server --port 6379
341
+ #DISTRIBUTED=1 python bootstrap.py --config-name bootstrap_800_moreupdates.yaml
342
+ #DISTRIBUTED=1 python bootstrap.py --config-name bootstrap_nat_mul_800.yaml
343
+
344
+ #DISTRIBUTED=1 python bootstrap.py --config-name bootstrap_fixed_benchmark +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/2.pt
345
+
346
+
347
+ #DISTRIBUTED=1 python bootstrap.py --config-name bootstrap_fixed_benchmark +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_fixed_bench_noHER/2026-03-19_18-44-53/9.pt
348
+ #DISTRIBUTED=1 python bootstrap.py --config-name bootstrap_nat_mul_800
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/.hydra/config.yaml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: teacher
2
+ iterations: 5
3
+ n_conjectures: 800
4
+ difficulty_buckets:
5
+ - hard: 20
6
+ - easy: 50
7
+ - triv: 100
8
+ train_policy_on_hindsight_examples: true
9
+ freeze_conjecturer: false
10
+ proof_search_timeout: 600
11
+ job:
12
+ wandb_project: peano
13
+ agent:
14
+ type: mcts
15
+ node_type: holophrasm
16
+ max_mcts_nodes: 1000
17
+ expansions: 1000
18
+ max_searches: 1
19
+ max_examples: 1000
20
+ policy:
21
+ type: LM
22
+ lr: 0.0001
23
+ value_prior_weight: 10
24
+ max_pos_neg_ratio: 5
25
+ train_iterations: 2000
26
+ batch_size: 10000
27
+ curiosity:
28
+ type: constant
29
+ theory:
30
+ name: propositional-logic
31
+ premises:
32
+ - and_i
33
+ - and_el
34
+ - and_er
35
+ - or_il
36
+ - or_ir
37
+ - or_e
38
+ - not_i
39
+ - not_e
40
+ - exfalso
41
+ - iff_i
42
+ - iff_el
43
+ - iff_er
44
+ - em
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/.hydra/hydra.yaml ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/${now:%Y-%m-%d_%H-%M-%S}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.mode=RUN
114
+ task: []
115
+ job:
116
+ name: bootstrap
117
+ chdir: true
118
+ override_dirname: ''
119
+ id: ???
120
+ num: ???
121
+ config_name: bootstrap_800.yaml
122
+ env_set: {}
123
+ env_copy: []
124
+ config:
125
+ override_dirname:
126
+ kv_sep: '='
127
+ item_sep: ','
128
+ exclude_keys: []
129
+ runtime:
130
+ version: 1.3.2
131
+ version_base: '1.2'
132
+ cwd: /datadrive/ayush/home/minimoX/learning
133
+ config_sources:
134
+ - path: hydra.conf
135
+ schema: pkg
136
+ provider: hydra
137
+ - path: /datadrive/ayush/home/minimoX/learning/config
138
+ schema: file
139
+ provider: main
140
+ - path: ''
141
+ schema: structured
142
+ provider: schema
143
+ output_dir: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21
144
+ choices:
145
+ theory: propositional-logic
146
+ agent: mcts-lm
147
+ agent/curiosity: constant
148
+ hydra/env: default
149
+ hydra/callbacks: null
150
+ hydra/job_logging: default
151
+ hydra/hydra_logging: default
152
+ hydra/hydra_help: default
153
+ hydra/help: default
154
+ hydra/sweeper: basic
155
+ hydra/launcher: basic
156
+ hydra/output: default
157
+ verbose: false
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/.hydra/overrides.yaml ADDED
@@ -0,0 +1 @@
 
 
1
+ []
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4227cf047b1fbf1c3a3d0dbad516a7379b85436692f34aecd2487bb95fc585e1
3
+ size 111708283
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb3609aee819beffe6650bde3bdd92015b1069138b894aa6df55153b37db60a4
3
+ size 318254363
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/2.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc727188f9f00bd72ce7b5dafb120efc9efef941fe0d75998afce5480c499877
3
+ size 318254363
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/3.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d96639848bf2b5be471d5ba50df53fd21fd9de7b01ea4b773c75eb9a74dd0e43
3
+ size 318254363
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/4.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e28b7f731d5608b3aee63c56d7eae01a8f7f4393f4902c246df22a1b29a59bf6
3
+ size 318254363
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/bootstrap.log ADDED
File without changes
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/checkpoints/0.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4227cf047b1fbf1c3a3d0dbad516a7379b85436692f34aecd2487bb95fc585e1
3
+ size 111708283
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/.hydra/config.yaml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: eval
2
+ problemset: extrinsic-pl
3
+ max_problems: 1000
4
+ accumulate_library: false
5
+ proof_search_timeout: 1200
6
+ eval_num_workers: 3
7
+ agent:
8
+ max_mcts_nodes: 2000
9
+ type: mcts
10
+ node_type: vanilla
11
+ expansions: 50000
12
+ max_searches: 1
13
+ max_examples: 50
14
+ policy:
15
+ type: Uniform
16
+ curiosity:
17
+ type: constant
18
+ job:
19
+ wandb_project: peano
20
+ agent_path: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/.hydra/hydra.yaml ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.run.dir=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06
114
+ - hydra.mode=RUN
115
+ task:
116
+ - task=eval
117
+ - +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt
118
+ - problemset=extrinsic-pl
119
+ - agent.max_mcts_nodes=2000
120
+ - proof_search_timeout=1200
121
+ - eval_num_workers=3
122
+ job:
123
+ name: proofsearch
124
+ chdir: true
125
+ override_dirname: +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt,agent.max_mcts_nodes=2000,eval_num_workers=3,problemset=extrinsic-pl,proof_search_timeout=1200,task=eval
126
+ id: ???
127
+ num: ???
128
+ config_name: proofsearch
129
+ env_set: {}
130
+ env_copy: []
131
+ config:
132
+ override_dirname:
133
+ kv_sep: '='
134
+ item_sep: ','
135
+ exclude_keys: []
136
+ runtime:
137
+ version: 1.3.2
138
+ version_base: '1.2'
139
+ cwd: /datadrive/ayush/home/minimoX/learning
140
+ config_sources:
141
+ - path: hydra.conf
142
+ schema: pkg
143
+ provider: hydra
144
+ - path: /datadrive/ayush/home/minimoX/learning/config
145
+ schema: file
146
+ provider: main
147
+ - path: ''
148
+ schema: structured
149
+ provider: schema
150
+ output_dir: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06
151
+ choices:
152
+ agent: mcts
153
+ agent/curiosity: constant
154
+ hydra/env: default
155
+ hydra/callbacks: null
156
+ hydra/job_logging: default
157
+ hydra/hydra_logging: default
158
+ hydra/hydra_help: default
159
+ hydra/help: default
160
+ hydra/sweeper: basic
161
+ hydra/launcher: basic
162
+ hydra/output: default
163
+ verbose: false
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/.hydra/overrides.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ - task=eval
2
+ - +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt
3
+ - problemset=extrinsic-pl
4
+ - agent.max_mcts_nodes=2000
5
+ - proof_search_timeout=1200
6
+ - eval_num_workers=3
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/1_pt_proved_results.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "problem": "extrinsic_1",
5
+ "proof": "theorem t : [('A : prop) -> ['A -> 'A]] {\n intro x : prop.\n intro _ : [x -> x].\n}"
6
+ },
7
+ {
8
+ "problem": "extrinsic_3",
9
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> ['B -> 'C]] -> ['B -> ['A -> 'C]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : prop.\n intro x2 : [x -> [x0 -> x1]].\n intro x3 : x0.\n intro x4 : x.\n show [x0 -> x1] by x2.\n apply p.\n}"
10
+ },
11
+ {
12
+ "problem": "extrinsic_2",
13
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> ['B -> 'C] -> ['A -> 'C]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : prop.\n intro x2 : [x -> x0].\n intro x3 : [x0 -> x1].\n intro x4 : x.\n show x0 by x2.\n apply x3.\n}"
14
+ },
15
+ {
16
+ "problem": "extrinsic_5",
17
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ('C : prop) -> [(and 'A 'B) -> 'C] -> ['A -> ['B -> 'C]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : prop.\n intro x2 : [(and x x0) -> x1].\n intro x3 : x.\n intro x4 : x0.\n apply x2.\n goal (and x x0) {\n apply and_i.\n }\n}"
18
+ },
19
+ {
20
+ "problem": "extrinsic_6",
21
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [['B -> 'C] -> ['A -> 'C]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : prop.\n intro x2 : [x -> x0].\n intro x3 : [x0 -> x1].\n intro x4 : x.\n apply x3.\n goal x0 {\n show x0 by x2.\n }\n}"
22
+ },
23
+ {
24
+ "problem": "extrinsic_7",
25
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [['C -> 'A] -> ['C -> 'B]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : prop.\n intro x2 : [x -> x0].\n intro x3 : [x1 -> x].\n intro x4 : x1.\n show x by x3.\n apply x2.\n}"
26
+ },
27
+ {
28
+ "problem": "extrinsic_8a",
29
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [(and 'A 'C) -> (and 'B 'C)]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : prop.\n intro x2 : [x -> x0].\n intro x3 : (and x x1).\n apply and_i.\n goal x0 {\n apply x2.\n goal x {\n show x by and_el.\n }\n }\n goal x1 {\n show x1 by and_er.\n }\n}"
30
+ },
31
+ {
32
+ "problem": "extrinsic_8b",
33
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [(and 'C 'A) -> (and 'C 'B)]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : prop.\n intro x2 : [x -> x0].\n intro x3 : (and x1 x).\n apply and_i.\n goal x1 {\n show x1 by and_el.\n }\n goal x0 {\n apply x2.\n goal x {\n show x by and_er.\n }\n }\n}"
34
+ },
35
+ {
36
+ "problem": "extrinsic_4",
37
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> ['B -> 'C]] -> [(and 'A 'B) -> 'C]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : prop.\n intro x2 : [x -> [x0 -> x1]].\n intro x3 : (and x x0).\n show x0 by and_er.\n show x by and_el.\n show [x0 -> x1] by x2.\n apply p1.\n}"
38
+ },
39
+ {
40
+ "problem": "extrinsic_10a",
41
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> [(not 'A) -> ['A -> 'B]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (not x).\n intro x2 : x.\n apply exfalso.\n goal false {\n apply not_e.\n }\n}"
42
+ },
43
+ {
44
+ "problem": "extrinsic_10b",
45
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ['A -> [(not 'A) -> 'B]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : x.\n intro x2 : (not x).\n apply exfalso.\n goal false {\n apply not_e.\n }\n}"
46
+ },
47
+ {
48
+ "problem": "extrinsic_11",
49
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ['B -> ['A -> 'B]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : x0.\n intro _ : [x -> x0].\n}"
50
+ },
51
+ {
52
+ "problem": "extrinsic_12",
53
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ['A -> 'B] -> [(not 'B) -> (not 'A)]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : [x -> x0].\n intro x2 : (not x0).\n apply not_i.\n goal [x -> false] {\n intro x3 : x.\n show x0 by x1.\n show false by not_e.\n }\n}"
54
+ },
55
+ {
56
+ "problem": "extrinsic_13",
57
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ['A -> (not 'B)] -> ['B -> (not 'A)]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : [x -> (not x0)].\n intro x2 : x0.\n apply not_i.\n goal [x -> false] {\n intro x3 : x.\n show (not x0) by x1.\n show false by not_e.\n }\n}"
58
+ },
59
+ {
60
+ "problem": "extrinsic_16",
61
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ['A -> 'B] -> ['B -> 'A] -> (iff 'A 'B)] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : [x -> x0].\n intro x2 : [x0 -> x].\n apply iff_i.\n}"
62
+ },
63
+ {
64
+ "problem": "extrinsic_17a",
65
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> ['A -> 'B]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n show [x -> x0] by iff_el.\n}"
66
+ },
67
+ {
68
+ "problem": "extrinsic_17b",
69
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> ['B -> 'A]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n show [x0 -> x] by iff_er.\n}"
70
+ },
71
+ {
72
+ "problem": "extrinsic_18a",
73
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> 'A -> 'B] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n show [x -> x0] by iff_el.\n}"
74
+ },
75
+ {
76
+ "problem": "extrinsic_18b",
77
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> 'B -> 'A] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n show [x0 -> x] by iff_er.\n}"
78
+ },
79
+ {
80
+ "problem": "extrinsic_19",
81
+ "proof": "theorem t : [('A : prop) -> (iff 'A 'A)] {\n intro x : prop.\n apply iff_i.\n goal [x -> x] {\n intro _ : [x -> x].\n }\n goal [x -> x] {\n intro _ : [x -> x].\n }\n}"
82
+ },
83
+ {
84
+ "problem": "extrinsic_20",
85
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> (iff 'B 'A)] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n apply iff_i.\n goal [x0 -> x] {\n show [x0 -> x] by iff_er.\n }\n goal [x -> x0] {\n show [x -> x0] by iff_el.\n }\n}"
86
+ }
87
+ ],
88
+ "num_proved": 21
89
+ }
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/proofsearch.log ADDED
File without changes
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/debug-internal.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"time":"2026-03-13T01:16:09.785083032Z","level":"INFO","msg":"stream: starting","core version":"0.24.0"}
2
+ {"time":"2026-03-13T01:16:10.076942766Z","level":"INFO","msg":"stream: created new stream","id":"3egbnt6l"}
3
+ {"time":"2026-03-13T01:16:10.077089199Z","level":"INFO","msg":"handler: started","stream_id":"3egbnt6l"}
4
+ {"time":"2026-03-13T01:16:10.077302187Z","level":"INFO","msg":"stream: started","id":"3egbnt6l"}
5
+ {"time":"2026-03-13T01:16:10.077344416Z","level":"INFO","msg":"writer: started","stream_id":"3egbnt6l"}
6
+ {"time":"2026-03-13T01:16:10.07739266Z","level":"INFO","msg":"sender: started","stream_id":"3egbnt6l"}
7
+ {"time":"2026-03-13T01:16:11.071544487Z","level":"INFO","msg":"flowcontrol: backed up, offloading to disk","recordNumber":82}
8
+ {"time":"2026-03-13T01:16:11.075460643Z","level":"INFO","msg":"flowcontrol: unblocked","totalOffloaded":48}
9
+ {"time":"2026-03-13T01:24:23.280094998Z","level":"INFO","msg":"stream: closing","id":"3egbnt6l"}
10
+ {"time":"2026-03-13T01:24:23.6285521Z","level":"INFO","msg":"fileTransfer: Close: file transfer manager closed"}
11
+ {"time":"2026-03-13T01:24:23.812323995Z","level":"INFO","msg":"handler: closed","stream_id":"3egbnt6l"}
12
+ {"time":"2026-03-13T01:24:23.812511385Z","level":"INFO","msg":"sender: closed","stream_id":"3egbnt6l"}
13
+ {"time":"2026-03-13T01:24:23.812527465Z","level":"INFO","msg":"stream: closed","id":"3egbnt6l"}
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/debug.log ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-03-13 01:16:09,558 INFO MainThread:494704 [wandb_setup.py:_flush():81] Current SDK version is 0.24.0
2
+ 2026-03-13 01:16:09,558 INFO MainThread:494704 [wandb_setup.py:_flush():81] Configure stats pid to 494704
3
+ 2026-03-13 01:16:09,558 INFO MainThread:494704 [wandb_setup.py:_flush():81] Loading settings from environment variables
4
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:setup_run_log_directory():717] Logging user logs to /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug.log
5
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:setup_run_log_directory():718] Logging internal logs to /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug-internal.log
6
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:init():844] calling init triggers
7
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:init():849] wandb.init called with sweep_config: {}
8
+ config: {'task': 'eval', 'problemset': 'extrinsic-pl', 'max_problems': 1000, 'accumulate_library': False, 'proof_search_timeout': 1200, 'eval_num_workers': 3, 'agent': {'max_mcts_nodes': 2000, 'type': 'mcts', 'node_type': 'vanilla', 'expansions': 50000, 'max_searches': 1, 'max_examples': 50, 'policy': {'type': 'Uniform'}, 'curiosity': {'type': 'constant'}}, 'job': {'wandb_project': 'peano', 'cwd': '/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06'}, 'agent_path': '/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt', '_wandb': {}}
9
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:init():892] starting backend
10
+ 2026-03-13 01:16:09,779 INFO MainThread:494704 [wandb_init.py:init():895] sending inform_init request
11
+ 2026-03-13 01:16:09,783 INFO MainThread:494704 [wandb_init.py:init():903] backend started and connected
12
+ 2026-03-13 01:16:09,784 INFO MainThread:494704 [wandb_init.py:init():973] updated telemetry
13
+ 2026-03-13 01:16:09,789 INFO MainThread:494704 [wandb_init.py:init():997] communicating run to backend with 90.0 second timeout
14
+ 2026-03-13 01:16:10,993 INFO MainThread:494704 [wandb_init.py:init():1044] starting run threads in backend
15
+ 2026-03-13 01:16:11,054 INFO MainThread:494704 [wandb_run.py:_console_start():2529] atexit reg
16
+ 2026-03-13 01:16:11,054 INFO MainThread:494704 [wandb_run.py:_redirect():2377] redirect: wrap_raw
17
+ 2026-03-13 01:16:11,054 INFO MainThread:494704 [wandb_run.py:_redirect():2446] Wrapping output streams.
18
+ 2026-03-13 01:16:11,054 INFO MainThread:494704 [wandb_run.py:_redirect():2469] Redirects installed.
19
+ 2026-03-13 01:16:11,058 INFO MainThread:494704 [wandb_init.py:init():1084] run started, returning control to user process
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/config.yaml ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _wandb:
2
+ value:
3
+ cli_version: 0.24.0
4
+ e:
5
+ 861cu1nqdzk82vj98my9aev6orkfaq48:
6
+ args:
7
+ - task=eval
8
+ - +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt
9
+ - problemset=extrinsic-pl
10
+ - agent.max_mcts_nodes=2000
11
+ - proof_search_timeout=1200
12
+ - eval_num_workers=3
13
+ - hydra.run.dir=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06
14
+ codePath: learning/proofsearch.py
15
+ cpu_count: 96
16
+ cpu_count_logical: 96
17
+ cudaVersion: "12.9"
18
+ disk:
19
+ /:
20
+ total: "133003395072"
21
+ used: "81316069376"
22
+ email: leanaimsr@gmail.com
23
+ executable: /datadrive/ayush/home/miniconda3/envs/minimo_new/bin/python
24
+ git:
25
+ commit: ac4e88178e931f5de8a8c54ad25492c31d8351a4
26
+ remote: https://github.com/ayush1801/minimoX.git
27
+ gpu: NVIDIA A100 80GB PCIe
28
+ gpu_count: 4
29
+ gpu_nvidia:
30
+ - architecture: Ampere
31
+ cudaCores: 6912
32
+ memoryTotal: "85899345920"
33
+ name: NVIDIA A100 80GB PCIe
34
+ uuid: GPU-76194153-5180-b45d-7661-b5c1ab4d9253
35
+ - architecture: Ampere
36
+ cudaCores: 6912
37
+ memoryTotal: "85899345920"
38
+ name: NVIDIA A100 80GB PCIe
39
+ uuid: GPU-a918c9eb-4e44-bd40-312f-677864d0ec66
40
+ - architecture: Ampere
41
+ cudaCores: 6912
42
+ memoryTotal: "85899345920"
43
+ name: NVIDIA A100 80GB PCIe
44
+ uuid: GPU-e18a19fc-9805-7572-3e95-b0e4d4ef1781
45
+ - architecture: Ampere
46
+ cudaCores: 6912
47
+ memoryTotal: "85899345920"
48
+ name: NVIDIA A100 80GB PCIe
49
+ uuid: GPU-c9ca30c0-1398-c581-273e-c33df47e36bc
50
+ host: MSRI-DNN3-NEW
51
+ memory:
52
+ total: "929976573952"
53
+ os: Linux-6.8.0-1044-azure-x86_64-with-glibc2.35
54
+ program: /datadrive/ayush/home/minimoX/learning/proofsearch.py
55
+ python: CPython 3.11.14
56
+ root: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06
57
+ startedAt: "2026-03-13T01:16:09.557066Z"
58
+ writerId: 861cu1nqdzk82vj98my9aev6orkfaq48
59
+ m: []
60
+ python_version: 3.11.14
61
+ t:
62
+ "1":
63
+ - 1
64
+ - 11
65
+ - 49
66
+ - 50
67
+ "2":
68
+ - 1
69
+ - 11
70
+ - 49
71
+ - 50
72
+ "3":
73
+ - 16
74
+ "4": 3.11.14
75
+ "5": 0.24.0
76
+ "6": 4.57.6
77
+ "12": 0.24.0
78
+ "13": linux-x86_64
79
+ accumulate_library:
80
+ value: false
81
+ agent:
82
+ value:
83
+ curiosity:
84
+ type: constant
85
+ expansions: 50000
86
+ max_examples: 50
87
+ max_mcts_nodes: 2000
88
+ max_searches: 1
89
+ node_type: vanilla
90
+ policy:
91
+ type: Uniform
92
+ type: mcts
93
+ agent_path:
94
+ value: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt
95
+ eval_num_workers:
96
+ value: 3
97
+ job:
98
+ value:
99
+ cwd: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06
100
+ wandb_project: peano
101
+ max_problems:
102
+ value: 1000
103
+ problemset:
104
+ value: extrinsic-pl
105
+ proof_search_timeout:
106
+ value: 1200
107
+ task:
108
+ value: eval
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/output.log ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 1 [('A : prop) -> ['A -> 'A]]
2
+ 2 [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> ['B -> 'C] -> ['A -> 'C]]
3
+ 3 [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> ['B -> 'C]] -> ['B -> ['A -> 'C]]]
4
+ 4 [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> ['B -> 'C]] -> [(and 'A 'B) -> 'C]]
5
+ 5 [('A : prop) -> ('B : prop) -> ('C : prop) -> [(and 'A 'B) -> 'C] -> ['A -> ['B -> 'C]]]
6
+ 6 [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [['B -> 'C] -> ['A -> 'C]]]
7
+ 7 [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [['C -> 'A] -> ['C -> 'B]]]
8
+ 8a [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [(and 'A 'C) -> (and 'B 'C)]]
9
+ 8b [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [(and 'C 'A) -> (and 'C 'B)]]
10
+ 9a [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [(or 'A 'C) -> (or 'B 'C)]]
11
+ 9b [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> 'B] -> [(or 'A 'C) -> (or 'B 'C)]]
12
+ 10a [('A : prop) -> ('B : prop) -> [(not 'A) -> ['A -> 'B]]]
13
+ 10b [('A : prop) -> ('B : prop) -> ['A -> [(not 'A) -> 'B]]]
14
+ 11 [('A : prop) -> ('B : prop) -> ['B -> ['A -> 'B]]]
15
+ 12 [('A : prop) -> ('B : prop) -> ['A -> 'B] -> [(not 'B) -> (not 'A)]]
16
+ 13 [('A : prop) -> ('B : prop) -> ['A -> (not 'B)] -> ['B -> (not 'A)]]
17
+ 14 [('A : prop) -> ('B : prop) -> [(not 'A) -> 'B] -> [(not 'B) -> 'A]]
18
+ 15 [('A : prop) -> ('B : prop) -> [(not 'A) -> (not 'B)] -> ['B -> 'A]]
19
+ 16 [('A : prop) -> ('B : prop) -> ['A -> 'B] -> ['B -> 'A] -> (iff 'A 'B)]
20
+ 17a [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> ['A -> 'B]]
21
+ 17b [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> ['B -> 'A]]
22
+ 18a [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> 'A -> 'B]
23
+ 18b [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> 'B -> 'A]
24
+ 19 [('A : prop) -> (iff 'A 'A)]
25
+ 20 [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> (iff 'B 'A)]
26
+ 21 [('A : prop) -> ('B : prop) -> ('C : prop) -> (iff 'A 'B) -> (iff 'B 'C) -> (iff 'A 'C)]
27
+ 22 [('A : prop) -> ('B : prop) -> ('C : prop) -> ['A -> ['B -> 'C]] -> [(not (not 'A)) -> [(not (not 'B)) -> (not (not 'C))]]]
28
+ 23 [('A : prop) -> ('B : prop) -> [(not (not ['A -> 'B]))] -> [(not (not 'A)) -> (not (not 'B))]]
29
+ 24 [('A : prop) -> ('B : prop) -> ('C : prop) -> [(not (not ['A -> 'B]))] -> [(not (not ['B -> 'C]))] -> [(not (not ['A -> 'C]))]]
30
+ 25 [('A : prop) -> ('B : prop) -> (iff (not (not (and 'A 'B))) (and (not (not 'A)) (not (not 'B))))]
31
+ Proof search timeout: 1200s per problem
32
+ Parallel eval: 3 workers
33
+ Eval: 100%|███████████████████████| 30/30 [08:10<00:00, 16.35s/it]
34
+ Solved 21/30
35
+ Solved problems: extrinsic_11, extrinsic_1, extrinsic_6, extrinsic_8a, extrinsic_19, extrinsic_3, extrinsic_17b, extrinsic_7, extrinsic_10a, extrinsic_10b, extrinsic_4, extrinsic_13, extrinsic_5, extrinsic_16, extrinsic_20, extrinsic_17a, extrinsic_2, extrinsic_18b, extrinsic_18a, extrinsic_12, extrinsic_8b
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/requirements.txt ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ setuptools==80.9.0
2
+ wheel==0.45.1
3
+ pip==25.3
4
+ maturin==1.11.5
5
+ peano==0.1.0
6
+ pytz==2025.2
7
+ nvidia-cusparselt-cu12==0.7.1
8
+ mpmath==1.3.0
9
+ bottle==0.13.4
10
+ antlr4-python3-runtime==4.9.3
11
+ wcwidth==0.2.14
12
+ vine==5.1.0
13
+ urllib3==2.6.3
14
+ tzlocal==5.3.1
15
+ tzdata==2025.3
16
+ typing_extensions==4.15.0
17
+ triton==3.5.1
18
+ tqdm==4.67.1
19
+ sympy==1.14.0
20
+ smmap==5.0.2
21
+ six==1.17.0
22
+ safetensors==0.7.0
23
+ rpds-py==0.30.0
24
+ regex==2026.1.15
25
+ redis==7.1.0
26
+ PyYAML==6.0.3
27
+ protobuf==6.33.4
28
+ platformdirs==4.5.1
29
+ packaging==25.0
30
+ nvidia-nvtx-cu12==12.8.90
31
+ nvidia-nvshmem-cu12==3.3.20
32
+ nvidia-nvjitlink-cu12==12.8.93
33
+ nvidia-nccl-cu12==2.27.5
34
+ nvidia-curand-cu12==10.3.9.90
35
+ nvidia-cufile-cu12==1.13.1.3
36
+ nvidia-cuda-runtime-cu12==12.8.90
37
+ nvidia-cuda-nvrtc-cu12==12.8.93
38
+ nvidia-cuda-cupti-cu12==12.8.90
39
+ nvidia-cublas-cu12==12.8.4.1
40
+ numpy==2.4.1
41
+ networkx==3.6.1
42
+ narwhals==2.15.0
43
+ MarkupSafe==3.0.3
44
+ idna==3.11
45
+ hf-xet==1.2.0
46
+ fsspec==2026.1.0
47
+ filelock==3.20.3
48
+ coloraide==7.0
49
+ click==8.3.1
50
+ charset-normalizer==3.4.4
51
+ certifi==2026.1.4
52
+ billiard==4.2.4
53
+ attrs==25.4.0
54
+ annotated-types==0.7.0
55
+ typing-inspection==0.4.2
56
+ sentry-sdk==2.49.0
57
+ requests==2.32.5
58
+ referencing==0.37.0
59
+ python-dateutil==2.9.0.post0
60
+ pydantic_core==2.41.5
61
+ prompt_toolkit==3.0.52
62
+ omegaconf==2.3.0
63
+ nvidia-cusparse-cu12==12.5.8.93
64
+ nvidia-cufft-cu12==11.3.3.83
65
+ nvidia-cudnn-cu12==9.10.2.21
66
+ Jinja2==3.1.6
67
+ gitdb==4.0.12
68
+ click-plugins==1.1.1.2
69
+ click-didyoumean==0.3.1
70
+ amqp==5.3.1
71
+ pydantic==2.12.5
72
+ nvidia-cusolver-cu12==11.7.3.90
73
+ kombu==5.6.2
74
+ jsonschema-specifications==2025.9.1
75
+ hydra-core==1.3.2
76
+ huggingface-hub==0.36.0
77
+ GitPython==3.1.46
78
+ croniter==6.0.0
79
+ click-repl==0.3.0
80
+ wandb==0.24.0
81
+ torch==2.9.1
82
+ tokenizers==0.22.2
83
+ rq==2.6.1
84
+ jsonschema==4.26.0
85
+ celery==5.6.2
86
+ transformers==4.57.6
87
+ altair==6.0.0
88
+ debugpy==1.8.19
89
+ psutil==7.2.1
90
+ pyzmq==27.1.0
91
+ tornado==6.5.4
92
+ asttokens==3.0.1
93
+ comm==0.2.3
94
+ decorator==5.2.1
95
+ executing==2.2.1
96
+ nest_asyncio==1.6.0
97
+ parso==0.8.5
98
+ jedi==0.19.2
99
+ ptyprocess==0.7.0
100
+ pexpect==4.9.0
101
+ pure_eval==0.2.3
102
+ Pygments==2.19.2
103
+ ipython_pygments_lexers==1.1.1
104
+ stack_data==0.6.3
105
+ traitlets==5.14.3
106
+ matplotlib-inline==0.2.1
107
+ jupyter_core==5.9.1
108
+ ipython==9.9.0
109
+ jupyter_client==8.8.0
110
+ ipykernel==7.1.0
111
+ pyparsing==3.3.2
112
+ pillow==12.1.0
113
+ kiwisolver==1.4.9
114
+ fonttools==4.61.1
115
+ cycler==0.12.1
116
+ contourpy==1.3.3
117
+ matplotlib==3.10.8
118
+ z3-solver==4.15.7.0
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/wandb-metadata.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "os": "Linux-6.8.0-1044-azure-x86_64-with-glibc2.35",
3
+ "python": "CPython 3.11.14",
4
+ "startedAt": "2026-03-13T01:16:09.557066Z",
5
+ "args": [
6
+ "task=eval",
7
+ "+agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt",
8
+ "problemset=extrinsic-pl",
9
+ "agent.max_mcts_nodes=2000",
10
+ "proof_search_timeout=1200",
11
+ "eval_num_workers=3",
12
+ "hydra.run.dir=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06"
13
+ ],
14
+ "program": "/datadrive/ayush/home/minimoX/learning/proofsearch.py",
15
+ "codePath": "learning/proofsearch.py",
16
+ "git": {
17
+ "remote": "https://github.com/ayush1801/minimoX.git",
18
+ "commit": "ac4e88178e931f5de8a8c54ad25492c31d8351a4"
19
+ },
20
+ "email": "leanaimsr@gmail.com",
21
+ "root": "/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06",
22
+ "host": "MSRI-DNN3-NEW",
23
+ "executable": "/datadrive/ayush/home/miniconda3/envs/minimo_new/bin/python",
24
+ "cpu_count": 96,
25
+ "cpu_count_logical": 96,
26
+ "gpu": "NVIDIA A100 80GB PCIe",
27
+ "gpu_count": 4,
28
+ "disk": {
29
+ "/": {
30
+ "total": "133003395072",
31
+ "used": "81316069376"
32
+ }
33
+ },
34
+ "memory": {
35
+ "total": "929976573952"
36
+ },
37
+ "gpu_nvidia": [
38
+ {
39
+ "name": "NVIDIA A100 80GB PCIe",
40
+ "memoryTotal": "85899345920",
41
+ "cudaCores": 6912,
42
+ "architecture": "Ampere",
43
+ "uuid": "GPU-76194153-5180-b45d-7661-b5c1ab4d9253"
44
+ },
45
+ {
46
+ "name": "NVIDIA A100 80GB PCIe",
47
+ "memoryTotal": "85899345920",
48
+ "cudaCores": 6912,
49
+ "architecture": "Ampere",
50
+ "uuid": "GPU-a918c9eb-4e44-bd40-312f-677864d0ec66"
51
+ },
52
+ {
53
+ "name": "NVIDIA A100 80GB PCIe",
54
+ "memoryTotal": "85899345920",
55
+ "cudaCores": 6912,
56
+ "architecture": "Ampere",
57
+ "uuid": "GPU-e18a19fc-9805-7572-3e95-b0e4d4ef1781"
58
+ },
59
+ {
60
+ "name": "NVIDIA A100 80GB PCIe",
61
+ "memoryTotal": "85899345920",
62
+ "cudaCores": 6912,
63
+ "architecture": "Ampere",
64
+ "uuid": "GPU-c9ca30c0-1398-c581-273e-c33df47e36bc"
65
+ }
66
+ ],
67
+ "cudaVersion": "12.9",
68
+ "writerId": "861cu1nqdzk82vj98my9aev6orkfaq48"
69
+ }
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/files/wandb-summary.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"_wandb":{"runtime":492},"_runtime":492}
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug-core.log ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"time":"2026-03-13T01:16:09.593931934Z","level":"INFO","msg":"main: starting server","port-filename":"/tmp/tmpd9fsvhvv/port-494704.txt","pid":494704,"log-level":0,"disable-analytics":false,"shutdown-on-parent-exit":false,"enable-dcgm-profiling":false}
2
+ {"time":"2026-03-13T01:16:09.59469141Z","level":"INFO","msg":"server: will exit if parent process dies","ppid":494704}
3
+ {"time":"2026-03-13T01:16:09.594646101Z","level":"INFO","msg":"server: accepting connections","addr":{"Name":"/tmp/wandb-494704-494847-2830316773/socket","Net":"unix"}}
4
+ {"time":"2026-03-13T01:16:09.778953644Z","level":"INFO","msg":"connection: ManageConnectionData: new connection created","id":"1(@)"}
5
+ {"time":"2026-03-13T01:16:09.784970372Z","level":"INFO","msg":"handleInformInit: received","streamId":"3egbnt6l","id":"1(@)"}
6
+ {"time":"2026-03-13T01:16:10.077315632Z","level":"INFO","msg":"handleInformInit: stream started","streamId":"3egbnt6l","id":"1(@)"}
7
+ {"time":"2026-03-13T01:24:23.279906636Z","level":"INFO","msg":"handleInformTeardown: server teardown initiated","id":"1(@)"}
8
+ {"time":"2026-03-13T01:24:23.280135699Z","level":"INFO","msg":"connection: closing","id":"1(@)"}
9
+ {"time":"2026-03-13T01:24:23.280156438Z","level":"INFO","msg":"server is shutting down"}
10
+ {"time":"2026-03-13T01:24:23.280192726Z","level":"INFO","msg":"connection: closed successfully","id":"1(@)"}
11
+ {"time":"2026-03-13T01:24:23.280327517Z","level":"INFO","msg":"server: listener closed","addr":{"Name":"/tmp/wandb-494704-494847-2830316773/socket","Net":"unix"}}
12
+ {"time":"2026-03-13T01:24:23.815883098Z","level":"INFO","msg":"handleInformTeardown: server shutdown complete","id":"1(@)"}
13
+ {"time":"2026-03-13T01:24:23.815906572Z","level":"INFO","msg":"connection: ManageConnectionData: connection closed","id":"1(@)"}
14
+ {"time":"2026-03-13T01:24:23.815915098Z","level":"INFO","msg":"server is closed"}
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug-internal.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"time":"2026-03-13T01:16:09.785083032Z","level":"INFO","msg":"stream: starting","core version":"0.24.0"}
2
+ {"time":"2026-03-13T01:16:10.076942766Z","level":"INFO","msg":"stream: created new stream","id":"3egbnt6l"}
3
+ {"time":"2026-03-13T01:16:10.077089199Z","level":"INFO","msg":"handler: started","stream_id":"3egbnt6l"}
4
+ {"time":"2026-03-13T01:16:10.077302187Z","level":"INFO","msg":"stream: started","id":"3egbnt6l"}
5
+ {"time":"2026-03-13T01:16:10.077344416Z","level":"INFO","msg":"writer: started","stream_id":"3egbnt6l"}
6
+ {"time":"2026-03-13T01:16:10.07739266Z","level":"INFO","msg":"sender: started","stream_id":"3egbnt6l"}
7
+ {"time":"2026-03-13T01:16:11.071544487Z","level":"INFO","msg":"flowcontrol: backed up, offloading to disk","recordNumber":82}
8
+ {"time":"2026-03-13T01:16:11.075460643Z","level":"INFO","msg":"flowcontrol: unblocked","totalOffloaded":48}
9
+ {"time":"2026-03-13T01:24:23.280094998Z","level":"INFO","msg":"stream: closing","id":"3egbnt6l"}
10
+ {"time":"2026-03-13T01:24:23.6285521Z","level":"INFO","msg":"fileTransfer: Close: file transfer manager closed"}
11
+ {"time":"2026-03-13T01:24:23.812323995Z","level":"INFO","msg":"handler: closed","stream_id":"3egbnt6l"}
12
+ {"time":"2026-03-13T01:24:23.812511385Z","level":"INFO","msg":"sender: closed","stream_id":"3egbnt6l"}
13
+ {"time":"2026-03-13T01:24:23.812527465Z","level":"INFO","msg":"stream: closed","id":"3egbnt6l"}
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug.log ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-03-13 01:16:09,558 INFO MainThread:494704 [wandb_setup.py:_flush():81] Current SDK version is 0.24.0
2
+ 2026-03-13 01:16:09,558 INFO MainThread:494704 [wandb_setup.py:_flush():81] Configure stats pid to 494704
3
+ 2026-03-13 01:16:09,558 INFO MainThread:494704 [wandb_setup.py:_flush():81] Loading settings from environment variables
4
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:setup_run_log_directory():717] Logging user logs to /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug.log
5
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:setup_run_log_directory():718] Logging internal logs to /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/logs/debug-internal.log
6
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:init():844] calling init triggers
7
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:init():849] wandb.init called with sweep_config: {}
8
+ config: {'task': 'eval', 'problemset': 'extrinsic-pl', 'max_problems': 1000, 'accumulate_library': False, 'proof_search_timeout': 1200, 'eval_num_workers': 3, 'agent': {'max_mcts_nodes': 2000, 'type': 'mcts', 'node_type': 'vanilla', 'expansions': 50000, 'max_searches': 1, 'max_examples': 50, 'policy': {'type': 'Uniform'}, 'curiosity': {'type': 'constant'}}, 'job': {'wandb_project': 'peano', 'cwd': '/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06'}, 'agent_path': '/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/1.pt', '_wandb': {}}
9
+ 2026-03-13 01:16:09,559 INFO MainThread:494704 [wandb_init.py:init():892] starting backend
10
+ 2026-03-13 01:16:09,779 INFO MainThread:494704 [wandb_init.py:init():895] sending inform_init request
11
+ 2026-03-13 01:16:09,783 INFO MainThread:494704 [wandb_init.py:init():903] backend started and connected
12
+ 2026-03-13 01:16:09,784 INFO MainThread:494704 [wandb_init.py:init():973] updated telemetry
13
+ 2026-03-13 01:16:09,789 INFO MainThread:494704 [wandb_init.py:init():997] communicating run to backend with 90.0 second timeout
14
+ 2026-03-13 01:16:10,993 INFO MainThread:494704 [wandb_init.py:init():1044] starting run threads in backend
15
+ 2026-03-13 01:16:11,054 INFO MainThread:494704 [wandb_run.py:_console_start():2529] atexit reg
16
+ 2026-03-13 01:16:11,054 INFO MainThread:494704 [wandb_run.py:_redirect():2377] redirect: wrap_raw
17
+ 2026-03-13 01:16:11,054 INFO MainThread:494704 [wandb_run.py:_redirect():2446] Wrapping output streams.
18
+ 2026-03-13 01:16:11,054 INFO MainThread:494704 [wandb_run.py:_redirect():2469] Redirects installed.
19
+ 2026-03-13 01:16:11,058 INFO MainThread:494704 [wandb_init.py:init():1084] run started, returning control to user process
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-06/wandb/run-20260313_011609-3egbnt6l/run-3egbnt6l.wandb ADDED
Binary file (80.6 kB). View file
 
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/.hydra/config.yaml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: eval
2
+ problemset: extrinsic-pl
3
+ max_problems: 1000
4
+ accumulate_library: false
5
+ proof_search_timeout: 1200
6
+ eval_num_workers: 3
7
+ agent:
8
+ max_mcts_nodes: 2000
9
+ type: mcts
10
+ node_type: vanilla
11
+ expansions: 50000
12
+ max_searches: 1
13
+ max_examples: 50
14
+ policy:
15
+ type: Uniform
16
+ curiosity:
17
+ type: constant
18
+ job:
19
+ wandb_project: peano
20
+ agent_path: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/0.pt
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/.hydra/hydra.yaml ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.run.dir=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57
114
+ - hydra.mode=RUN
115
+ task:
116
+ - task=eval
117
+ - +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/0.pt
118
+ - problemset=extrinsic-pl
119
+ - agent.max_mcts_nodes=2000
120
+ - proof_search_timeout=1200
121
+ - eval_num_workers=3
122
+ job:
123
+ name: proofsearch
124
+ chdir: true
125
+ override_dirname: +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/0.pt,agent.max_mcts_nodes=2000,eval_num_workers=3,problemset=extrinsic-pl,proof_search_timeout=1200,task=eval
126
+ id: ???
127
+ num: ???
128
+ config_name: proofsearch
129
+ env_set: {}
130
+ env_copy: []
131
+ config:
132
+ override_dirname:
133
+ kv_sep: '='
134
+ item_sep: ','
135
+ exclude_keys: []
136
+ runtime:
137
+ version: 1.3.2
138
+ version_base: '1.2'
139
+ cwd: /datadrive/ayush/home/minimoX/learning
140
+ config_sources:
141
+ - path: hydra.conf
142
+ schema: pkg
143
+ provider: hydra
144
+ - path: /datadrive/ayush/home/minimoX/learning/config
145
+ schema: file
146
+ provider: main
147
+ - path: ''
148
+ schema: structured
149
+ provider: schema
150
+ output_dir: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57
151
+ choices:
152
+ agent: mcts
153
+ agent/curiosity: constant
154
+ hydra/env: default
155
+ hydra/callbacks: null
156
+ hydra/job_logging: default
157
+ hydra/hydra_logging: default
158
+ hydra/hydra_help: default
159
+ hydra/help: default
160
+ hydra/sweeper: basic
161
+ hydra/launcher: basic
162
+ hydra/output: default
163
+ verbose: false
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/.hydra/overrides.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ - task=eval
2
+ - +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/0.pt
3
+ - problemset=extrinsic-pl
4
+ - agent.max_mcts_nodes=2000
5
+ - proof_search_timeout=1200
6
+ - eval_num_workers=3
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/0_pt_proved_results.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "results": [
3
+ {
4
+ "problem": "extrinsic_1",
5
+ "proof": "theorem t : [('A : prop) -> ['A -> 'A]] {\n intro x : prop.\n intro _ : [x -> x].\n}"
6
+ },
7
+ {
8
+ "problem": "extrinsic_10a",
9
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> [(not 'A) -> ['A -> 'B]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (not x).\n intro x2 : x.\n show false by not_e.\n apply exfalso.\n}"
10
+ },
11
+ {
12
+ "problem": "extrinsic_11",
13
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ['B -> ['A -> 'B]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : x0.\n intro _ : [x -> x0].\n}"
14
+ },
15
+ {
16
+ "problem": "extrinsic_10b",
17
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ['A -> [(not 'A) -> 'B]]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : x.\n intro x2 : (not x).\n show false by not_e.\n apply exfalso.\n}"
18
+ },
19
+ {
20
+ "problem": "extrinsic_16",
21
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> ['A -> 'B] -> ['B -> 'A] -> (iff 'A 'B)] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : [x -> x0].\n intro x2 : [x0 -> x].\n apply iff_i.\n}"
22
+ },
23
+ {
24
+ "problem": "extrinsic_17a",
25
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> ['A -> 'B]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n show [x -> x0] by iff_el.\n}"
26
+ },
27
+ {
28
+ "problem": "extrinsic_17b",
29
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> ['B -> 'A]] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n show [x0 -> x] by iff_er.\n}"
30
+ },
31
+ {
32
+ "problem": "extrinsic_18a",
33
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> 'A -> 'B] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n show [x -> x0] by iff_el.\n}"
34
+ },
35
+ {
36
+ "problem": "extrinsic_18b",
37
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> 'B -> 'A] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n show [x0 -> x] by iff_er.\n}"
38
+ },
39
+ {
40
+ "problem": "extrinsic_19",
41
+ "proof": "theorem t : [('A : prop) -> (iff 'A 'A)] {\n intro x : prop.\n apply iff_i.\n goal [x -> x] {\n intro _ : [x -> x].\n }\n goal [x -> x] {\n intro _ : [x -> x].\n }\n}"
42
+ },
43
+ {
44
+ "problem": "extrinsic_20",
45
+ "proof": "theorem t : [('A : prop) -> ('B : prop) -> (iff 'A 'B) -> (iff 'B 'A)] {\n intro x : prop.\n intro x0 : prop.\n intro x1 : (iff x x0).\n apply iff_i.\n goal [x0 -> x] {\n show [x0 -> x] by iff_er.\n }\n goal [x -> x0] {\n show [x -> x0] by iff_el.\n }\n}"
46
+ }
47
+ ],
48
+ "num_proved": 11
49
+ }
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/proofsearch.log ADDED
File without changes
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/wandb/debug-internal.log ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"time":"2026-03-13T01:17:01.316487938Z","level":"INFO","msg":"stream: starting","core version":"0.24.0"}
2
+ {"time":"2026-03-13T01:17:01.626260827Z","level":"INFO","msg":"stream: created new stream","id":"5a8bpycd"}
3
+ {"time":"2026-03-13T01:17:01.626453311Z","level":"INFO","msg":"handler: started","stream_id":"5a8bpycd"}
4
+ {"time":"2026-03-13T01:17:01.626716648Z","level":"INFO","msg":"stream: started","id":"5a8bpycd"}
5
+ {"time":"2026-03-13T01:17:01.62679041Z","level":"INFO","msg":"writer: started","stream_id":"5a8bpycd"}
6
+ {"time":"2026-03-13T01:17:01.626838986Z","level":"INFO","msg":"sender: started","stream_id":"5a8bpycd"}
7
+ {"time":"2026-03-13T01:32:27.20868956Z","level":"INFO","msg":"stream: closing","id":"5a8bpycd"}
8
+ {"time":"2026-03-13T01:32:27.646647624Z","level":"INFO","msg":"fileTransfer: Close: file transfer manager closed"}
9
+ {"time":"2026-03-13T01:32:29.975084715Z","level":"INFO","msg":"handler: closed","stream_id":"5a8bpycd"}
10
+ {"time":"2026-03-13T01:32:29.975358015Z","level":"INFO","msg":"sender: closed","stream_id":"5a8bpycd"}
11
+ {"time":"2026-03-13T01:32:29.975374896Z","level":"INFO","msg":"stream: closed","id":"5a8bpycd"}
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/wandb/debug.log ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-03-13 01:17:01,089 INFO MainThread:496326 [wandb_setup.py:_flush():81] Current SDK version is 0.24.0
2
+ 2026-03-13 01:17:01,089 INFO MainThread:496326 [wandb_setup.py:_flush():81] Configure stats pid to 496326
3
+ 2026-03-13 01:17:01,089 INFO MainThread:496326 [wandb_setup.py:_flush():81] Loading settings from environment variables
4
+ 2026-03-13 01:17:01,089 INFO MainThread:496326 [wandb_init.py:setup_run_log_directory():717] Logging user logs to /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/wandb/run-20260313_011701-5a8bpycd/logs/debug.log
5
+ 2026-03-13 01:17:01,089 INFO MainThread:496326 [wandb_init.py:setup_run_log_directory():718] Logging internal logs to /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/wandb/run-20260313_011701-5a8bpycd/logs/debug-internal.log
6
+ 2026-03-13 01:17:01,089 INFO MainThread:496326 [wandb_init.py:init():844] calling init triggers
7
+ 2026-03-13 01:17:01,089 INFO MainThread:496326 [wandb_init.py:init():849] wandb.init called with sweep_config: {}
8
+ config: {'task': 'eval', 'problemset': 'extrinsic-pl', 'max_problems': 1000, 'accumulate_library': False, 'proof_search_timeout': 1200, 'eval_num_workers': 3, 'agent': {'max_mcts_nodes': 2000, 'type': 'mcts', 'node_type': 'vanilla', 'expansions': 50000, 'max_searches': 1, 'max_examples': 50, 'policy': {'type': 'Uniform'}, 'curiosity': {'type': 'constant'}}, 'job': {'wandb_project': 'peano', 'cwd': '/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57'}, 'agent_path': '/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/0.pt', '_wandb': {}}
9
+ 2026-03-13 01:17:01,089 INFO MainThread:496326 [wandb_init.py:init():892] starting backend
10
+ 2026-03-13 01:17:01,308 INFO MainThread:496326 [wandb_init.py:init():895] sending inform_init request
11
+ 2026-03-13 01:17:01,313 INFO MainThread:496326 [wandb_init.py:init():903] backend started and connected
12
+ 2026-03-13 01:17:01,315 INFO MainThread:496326 [wandb_init.py:init():973] updated telemetry
13
+ 2026-03-13 01:17:01,320 INFO MainThread:496326 [wandb_init.py:init():997] communicating run to backend with 90.0 second timeout
14
+ 2026-03-13 01:17:02,105 INFO MainThread:496326 [wandb_init.py:init():1044] starting run threads in backend
15
+ 2026-03-13 01:17:02,170 INFO MainThread:496326 [wandb_run.py:_console_start():2529] atexit reg
16
+ 2026-03-13 01:17:02,170 INFO MainThread:496326 [wandb_run.py:_redirect():2377] redirect: wrap_raw
17
+ 2026-03-13 01:17:02,170 INFO MainThread:496326 [wandb_run.py:_redirect():2446] Wrapping output streams.
18
+ 2026-03-13 01:17:02,170 INFO MainThread:496326 [wandb_run.py:_redirect():2469] Redirects installed.
19
+ 2026-03-13 01:17:02,174 INFO MainThread:496326 [wandb_init.py:init():1084] run started, returning control to user process
experiments/learnability/checkpoints/dnn3_bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57/wandb/run-20260313_011701-5a8bpycd/files/config.yaml ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _wandb:
2
+ value:
3
+ cli_version: 0.24.0
4
+ e:
5
+ 7wilk39x9pkpjprvzodsvy8w5k24e2gu:
6
+ args:
7
+ - task=eval
8
+ - +agent_path=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/0.pt
9
+ - problemset=extrinsic-pl
10
+ - agent.max_mcts_nodes=2000
11
+ - proof_search_timeout=1200
12
+ - eval_num_workers=3
13
+ - hydra.run.dir=/datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57
14
+ codePath: learning/proofsearch.py
15
+ cpu_count: 96
16
+ cpu_count_logical: 96
17
+ cudaVersion: "12.9"
18
+ disk:
19
+ /:
20
+ total: "133003395072"
21
+ used: "81316208640"
22
+ email: leanaimsr@gmail.com
23
+ executable: /datadrive/ayush/home/miniconda3/envs/minimo_new/bin/python
24
+ git:
25
+ commit: ac4e88178e931f5de8a8c54ad25492c31d8351a4
26
+ remote: https://github.com/ayush1801/minimoX.git
27
+ gpu: NVIDIA A100 80GB PCIe
28
+ gpu_count: 4
29
+ gpu_nvidia:
30
+ - architecture: Ampere
31
+ cudaCores: 6912
32
+ memoryTotal: "85899345920"
33
+ name: NVIDIA A100 80GB PCIe
34
+ uuid: GPU-76194153-5180-b45d-7661-b5c1ab4d9253
35
+ - architecture: Ampere
36
+ cudaCores: 6912
37
+ memoryTotal: "85899345920"
38
+ name: NVIDIA A100 80GB PCIe
39
+ uuid: GPU-a918c9eb-4e44-bd40-312f-677864d0ec66
40
+ - architecture: Ampere
41
+ cudaCores: 6912
42
+ memoryTotal: "85899345920"
43
+ name: NVIDIA A100 80GB PCIe
44
+ uuid: GPU-e18a19fc-9805-7572-3e95-b0e4d4ef1781
45
+ - architecture: Ampere
46
+ cudaCores: 6912
47
+ memoryTotal: "85899345920"
48
+ name: NVIDIA A100 80GB PCIe
49
+ uuid: GPU-c9ca30c0-1398-c581-273e-c33df47e36bc
50
+ host: MSRI-DNN3-NEW
51
+ memory:
52
+ total: "929976573952"
53
+ os: Linux-6.8.0-1044-azure-x86_64-with-glibc2.35
54
+ program: /datadrive/ayush/home/minimoX/learning/proofsearch.py
55
+ python: CPython 3.11.14
56
+ root: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57
57
+ startedAt: "2026-03-13T01:17:01.087744Z"
58
+ writerId: 7wilk39x9pkpjprvzodsvy8w5k24e2gu
59
+ m: []
60
+ python_version: 3.11.14
61
+ t:
62
+ "1":
63
+ - 1
64
+ - 11
65
+ - 49
66
+ - 50
67
+ "2":
68
+ - 1
69
+ - 11
70
+ - 49
71
+ - 50
72
+ "3":
73
+ - 16
74
+ "4": 3.11.14
75
+ "5": 0.24.0
76
+ "6": 4.57.6
77
+ "12": 0.24.0
78
+ "13": linux-x86_64
79
+ accumulate_library:
80
+ value: false
81
+ agent:
82
+ value:
83
+ curiosity:
84
+ type: constant
85
+ expansions: 50000
86
+ max_examples: 50
87
+ max_mcts_nodes: 2000
88
+ max_searches: 1
89
+ node_type: vanilla
90
+ policy:
91
+ type: Uniform
92
+ type: mcts
93
+ agent_path:
94
+ value: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/0.pt
95
+ eval_num_workers:
96
+ value: 3
97
+ job:
98
+ value:
99
+ cwd: /datadrive/ayush/home/minimoX/learning/outputs/bootstrap_bs_800_para/2026-03-12_23-41-21/eval_para_2026-03-13_01-16-57
100
+ wandb_project: peano
101
+ max_problems:
102
+ value: 1000
103
+ problemset:
104
+ value: extrinsic-pl
105
+ proof_search_timeout:
106
+ value: 1200
107
+ task:
108
+ value: eval