roozbeh-yz commited on
Commit
667966c
·
verified ·
1 Parent(s): 1c3ffd8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +109 -3
README.md CHANGED
@@ -1,3 +1,109 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Lemmas Dataset
2
+ Lemmas dataset is a benchmark that consists of building blocks for 13 IMO problems, and also the complete formal proofs for 20 IMO problems. The topics cover a variety of concepts ranging from divisibility to finite sets and functions. All proof steps are written in Lean 4.
3
+
4
+ All files compile with no error in Lean v4.17.0.
5
+
6
+ The purpose of the dataset is to expose current theorem provers' ability in solving IMO problems and highlight their strengths and weaknesses.
7
+
8
+ The dataset is released under MIT license. Contributions are welcome through pull requests.
9
+
10
+ IMO problems formalized in this paper are as follows:
11
+
12
+ | \# | Year | Problem | Topic | in miniF2F | Lean proof publicly available | \# of lines of Lean4 code |
13
+ |-------|------|---------|---------------|------------|-------------------------------|---------------------------|
14
+ | 1 | 1959 | P1 | number theory | Yes | Yes | 9 |
15
+ | 2 | 1960 | P2 | algebra | Yes | Yes | 40 |
16
+ | 3 | 1962 | P2 | algebra | Yes | No | 60 |
17
+ | 4 | 1963 | P5 | algebra | Yes | No | 50 |
18
+ | 5 | 1964 | P2 | algebra | Yes | Yes | 50 |
19
+ | 6 | 1965 | P2 | algebra | Yes | No | 210 |
20
+ | 7 | 1968 | P5 | algebra | Yes | No | 30 |
21
+ | 8 | 1969 | P2 | algebra | Yes | No | 150 |
22
+ | 9 | 1974 | P3 | number theory | Yes | No | 510 |
23
+ | 10 | 1981 | P6 | algebra | Yes | No | 40 |
24
+ | 11 | 1982 | P1 | algebra | Yes | No | 75 |
25
+ | 12 | 1983 | P6 | algebra | Yes | No | 180 |
26
+ | 13 | 1984 | P6 | number theory | Yes | No | 380 |
27
+ | 14 | 1985 | P6 | number theory | Yes | No | 1,310 |
28
+ | 15 | 1992 | P1 | number theory | Yes | No | 480 |
29
+ | 16 | 1997 | P5 | number theory | Yes | No | 390 |
30
+ | 17 | 2007 | P6 | algebra | Yes | No | 570 |
31
+ | 18 | 2022 | P2 | algebra | No | No | 260 |
32
+ | 19 | 2022 | P5 | number theory | No | No | 640 |
33
+ | 20 | 2023 | P4 | number theory | No | No | 450 |
34
+ | total | | | | | | 5,884 |
35
+
36
+
37
+ ## Performance of SOTA LLMs on the Lemmas Dataset
38
+ | Problem | # of lemmas | DeepSeek Prover-v1.5-RL (@32) | Goedel-Prover (@32) | ReProver retrieval ✗ | ReProver retrieval ✓ | o3-mini (with 10 e.f.) |
39
+ |:---------:|:--------------:|:-------------------------------------------:|:-------------------------------------------:|:-------------------------------:|:-------------------------------:|:-------------------------------:|
40
+ | 1959-p1 | 4 | 3 (75.0\%) | 2 (50.0\%) | 2 (50.0\%) | 2 (50.0\%) | 2 (50.0\%) |
41
+ | 1960-p2 | 9 | 7 (77.8\%) | 6 (66.7\%) | 3 (33.3\%) | 4 (44.4\%) | 1 (11.1\%) |
42
+ | 1962-p2 | 14 | 13 (92.9\%) | 12 (85.7\%) | 7 (50.0\%) | 8 (57.1\%) | 6 (42.9\%) |
43
+ | 1964-p2 | 9 | 5 (55.6\%) | 5 (55.6\%) | 5 (55.6\%) | 5 (55.6\%) | 3 (33.3\%) |
44
+ | 1965-p2 | 73 | 48 (65.8\%) | 47 (64.4\%) | 47 (64.4\%) | 46 (63.0\%) | 12 (16.4\%) |
45
+ | 1983-p6 | 53 | 25 (47.2\%) | 32 (60.4\%) | 28 (52.8\%) | 29 (54.7\%) | 18 (34.0\%) |
46
+ | 1984-p6 | 64 | 31 (50.0\%) | 33 (51.6\%) | 25 (39.1\%) | 24 (37.5\%) | 13 (20.3\%) |
47
+ | 1985-p6 | 427 | 116 (27.2\%) | 116 (27.2\%) | 89 (20.8\%) | 89 (20.8\%) | 84 (19.7\%) |
48
+ | 1992-p1 | 91 | 48 (52.7\%) | 54 (59.3\%) | 35 (38.5\%) | 34 (37.4\%) | 25 (27.5\%) |
49
+ | 1997-p5 | 122 | 51 (41.8\%) | 49 (40.2\%) | 48 (39.3\%) | 51 (41.8\%) | 30 (24.6\%) |
50
+ | 2022-p2 | 61 | 34 (55.7\%) | 30 (49.2\%) | 24 (39.3\%) | 25 (41.0\%) | 25 (41.0\%) |
51
+ | 2022-p5 | 265 | 89 (33.6\%) | 76 (28.7\%) | 80 (30.2\%) | 77 (29.1\%) | 60 (22.6\%) |
52
+ | 2023-p4 | 137 | 52 (38.0\%) | 41 (29.9\%) | 43 (31.4\%) | 45 (32.8\%) | 37 (27.0\%) |
53
+ | Total | 1,329 | 522 (39.3\%) | 504 (37.9\%) | 436 (32.8\%) | 439 (33.0\%) | 316 (23.8\%) |
54
+
55
+ ## Distribution of Proof Length of LLM-Generated Proofs
56
+ ![LLM Comparison](assets/all_llms.png)
57
+ The figure demonstrates that the SOTA LLMs tend to write shorter proofs, which is a potential challenge for lengthier proof procedures that require long-term planning.
58
+
59
+ ## Citation
60
+ The dataset, motivations and additional results are available [here](https://openreview.net/forum?id=CrKMqRAhBo)
61
+ ```
62
+ @article{
63
+ yousefzadeh2025a,
64
+ title={A Lean Dataset for International Math Olympiad: Small Steps towards Writing Math Proofs for Hard Problems},
65
+ author={Roozbeh Yousefzadeh and Xuenan Cao and Azim Ospanov},
66
+ journal={Transactions on Machine Learning Research},
67
+ year={2025},
68
+ url={https://openreview.net/forum?id=CrKMqRAhBo}
69
+ }
70
+ ```
71
+ ## Versioning
72
+ The Lemmas Dataset is explicitly written for the latest available Lean4 version at the moment - v4.17.0. Any subsequent release can impact the released lemmas and some proofs might need future revision.
73
+
74
+ ## Formalised IMO Problems Statistics
75
+ | # | Year | Problem | Topic | in miniF2F | Lean proof publicly available | # of lemmas | # of lines of Lean4 proof |
76
+ |:-------:|:------:|:---------:|:---------------:|:------------:|:-------------------------------:|:-------------:|:---------------------------:|
77
+ | 1 | 1959 | p1 | number theory | Yes | Yes | 4 | 9 |
78
+ | 2 | 1960 | p2 | algebra | Yes | Yes | 9 | 40 |
79
+ | 3 | 1962 | p2 | algebra | Yes | No | 14 | 60 |
80
+ | 4 | 1964 | p2 | algebra | Yes | Yes | 9 | 50 |
81
+ | 5 | 1965 | p2 | algebra | Yes | No | 73 | 210 |
82
+ | 6 | 1983 | p6 | algebra | Yes | No | 53 | 180 |
83
+ | 7 | 1984 | p6 | number theory | Yes | No | 64 | 380 |
84
+ | 8 | 1985 | p6 | number theory | Yes | No | 427 | 1,310 |
85
+ | 9 | 1992 | p1 | number theory | Yes | No | 91 | 480 |
86
+ | 10 | 1997 | p5 | number theory | Yes | No | 122 | 390 |
87
+ | 11 | 2022 | p2 | algebra | No | No | 61 | 260 |
88
+ | 12 | 2022 | p5 | number theory | No | No | 265 | 640 |
89
+ | 13 | 2023 | p4 | number theory | No | No | 137 | 450 |
90
+ | | total| | | | | 1,329 | 4,459 |
91
+
92
+ ## Additional Analysis of o3-mini Generated Proofs
93
+ | \# | Problem | \# of lemmas | Correct proof in NL | Correct proof in Lean | Match between NL and Lean |
94
+ |:-----:|:-------:|:------------:|:-------------------:|:---------------------:|:-------------------------:|
95
+ | 1 | 1959-p1 | 4 | 100\% | 50.0\% | 100\% |
96
+ | 2 | 1960-p2 | 9 | 55.6\% | 11.1\% | 100\% |
97
+ | 3 | 1962-p2 | 14 | 92.9\% | 42.9\% | 100\% |
98
+ | 4 | 1964-p2 | 9 | 77.8\% | 33.3\% | 100\% |
99
+ | 5 | 1965-p2 | 73 | 97.3\% | 16.4\% | 100\% |
100
+ | 6 | 1983-p6 | 53 | 64.2\% | 34.0\% | 100\% |
101
+ | 7 | 1984-p6 | 64 | 73.4\% | 20.3\% | 100\% |
102
+ | 8 | 1985-p6 | 427 | 75.2\% | 19.7\% | 95.6\% |
103
+ | 9 | 1992-p1 | 91 | 87.6\% | 27.5\% | 100\% |
104
+ | 10 | 1997-p5 | 122 | 69.7\% | 24.6\% | 100\% |
105
+ | 11 | 2022-p2 | 61 | 77.0\% | 41.0\% | 100\% |
106
+ | 12 | 2022-p5 | 265 | 63.4\% | 22.6\% | 92.8\% |
107
+ | 13 | 2023-p4 | 137 | 88.3\% | 27.0\% | 92.7\% |
108
+ | | total | 1,329 | 75.5\% | 23.8\% | 96.4\% |
109
+