Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,87 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
task_categories:
|
4 |
+
- text-generation
|
5 |
+
pretty_name: Formal Problem-Solving
|
6 |
+
size_categories:
|
7 |
+
- 100K<n<1M
|
8 |
+
---
|
9 |
+
|
10 |
+
# Dataset Card for Formal Problem-Solving
|
11 |
+
|
12 |
+
This benchmark is part of the official implementation of _Beyond Theorem Proving: Formulation, Framework and Benchmark for Formal Problem-Solving_.
|
13 |
+
|
14 |
+
Our research focuses on:
|
15 |
+
1. What is problem-solving?
|
16 |
+
2. Beyond proving known targets, how can process-verified problem-solving be conducted inside existing formal theorem proving (FTP) environments?
|
17 |
+
|
18 |
+
## Contribution
|
19 |
+
- A principled formulation of problem-solving as a deterministic Markov decision process;
|
20 |
+
- **FPS** (_**F**ormal **P**roblem-**S**olving_), utilizing FTP (formal theorem proving) environments to perform process-verified problem-solving;
|
21 |
+
- **D-FPS** (_**D**eductive **FPS**_), decoupling solving and answer verification for better human-alignment;
|
22 |
+
- **RPE** (_**R**estricted **P**ropositional **E**quivalence_), a symbolic approach to determine the _correctness_ of answers by formal verification;
|
23 |
+
- Three benchmarks on problem-solving: **FormalMath500**, **MiniF2F-Solving** and **PutnamBench-Solving**.
|
24 |
+
|
25 |
+
## Benchmark Details
|
26 |
+
- **FormalMath500** is a formalized subset of the prevalent MATH500 benchmark[5,6], including 387 data points:
|
27 |
+
- 123 about `Algebra`
|
28 |
+
- 92 about `Intermediate Algebra`
|
29 |
+
- 62 about `Number Theory`
|
30 |
+
- 65 about `Prealgebra`
|
31 |
+
- 45 about `Precalculus`
|
32 |
+
|
33 |
+
- **MiniF2F-Solving** is a refactored subset of MiniF2F[7], containing in 375 data points with:
|
34 |
+
- 30 from `AIME`
|
35 |
+
- 140 from `MATH-Algebra`
|
36 |
+
- 82 from `AMC`
|
37 |
+
- 3 from `IMO`
|
38 |
+
- 120 from `MATH-Number Theory`
|
39 |
+
|
40 |
+
- **PutnamBench-Solving** is a refactored subset of PutnamBench[8], containing 324 data points with:
|
41 |
+
- 9 about `Abstract Algebra`
|
42 |
+
- 138 about `Algebra`
|
43 |
+
- 122 about `Analysis`
|
44 |
+
- 14 about `Combinatorics`
|
45 |
+
- 28 about `Geometry`
|
46 |
+
- 25 about `Linear Algebra`
|
47 |
+
- 49 about `Number Theory`
|
48 |
+
- 8 about `Probability`
|
49 |
+
- 4 about `Set Theory`
|
50 |
+
|
51 |
+
## Direct Use
|
52 |
+
- **Formal Problem-Solving (FPS)**: Given a formal problem, generate a formal solution. The formal solution should solve all goals and provide a direct answer.
|
53 |
+
|
54 |
+
- **Deductive Formal Problem-Solving (D-FPS)**: Given a formal problem, generate a forward solution and, optionally, a backward proof. The forward solution should use deductive reasoning to derive a direct answer and prove its completeness.
|
55 |
+
The backward proof should prove the answer's soundness.
|
56 |
+
|
57 |
+
- **Formal Theorem Proving (FTP)**: Given a formal problem and its ground-truth answer, generate a formal proof to prove the ground-truth's correctness.
|
58 |
+
|
59 |
+
## Dataset Structure
|
60 |
+
Each problem contains the following fields:
|
61 |
+
- `informal_problem`: The problem in natural language (including LaTeX).
|
62 |
+
- `informal_answer`: The ground-truth answer in natural language (including LaTeX).
|
63 |
+
- `informal_solution`: A step-by-step solution in natural language (including LaTeX).
|
64 |
+
- `header`: Code that should be executed before initializing the formal problem, e.g., `open`s. If `null`, `open BigOperators Real Nat Topology` should be used.
|
65 |
+
- `intros`: Independent variables $V$ and hypotheses $\Phi$. $V=\{v_i\}_{i=1}^n$ is the set of variables independent to the queriable $a$. $\Phi = \{\phi_i\}_{i=1}^p$ is the set of propositions that depend on $V$ (whose all free variables are included in $V$), consisting of conditions that can be used to deduce the answer.
|
66 |
+
- `outros`: Conclusions $\Psi = \{\psi_i\}_{i=1}^q$ is the set of propositions which depend on $V \cup \{a\}$, consisting of conclusions that should be satisfied.
|
67 |
+
- `formal_answer`: The ground-truth answer in formal language (Lean 4).
|
68 |
+
- `formal_answer_type`: The type of the ground-truth answer in formal language (Lean 4).
|
69 |
+
- `metainfo`: Meta-information of the problem.
|
70 |
+
|
71 |
+
## References
|
72 |
+
[1] Moura, Leonardo de, and Sebastian Ullrich. "The Lean 4 theorem prover and programming language." Automated Deduction–CADE 28: 28th International Conference on Automated Deduction, Virtual Event, July 12–15, 2021, Proceedings 28. Springer International Publishing, 2021.
|
73 |
+
|
74 |
+
[2] Community, Mathlib . "The Lean mathematical library.", 10.1145/3372885.3373824. 2019.
|
75 |
+
|
76 |
+
[3] Limperg, Jannis, and Asta Halkjær From. "Aesop: White-box best-first proof search for Lean." Proceedings of the 12th ACM SIGPLAN International Conference on Certified Programs and Proofs. 2023.
|
77 |
+
|
78 |
+
[4] Aniva, Leni, et al. "Pantograph: A Machine-to-Machine Interaction Interface for Advanced Theorem Proving, High Level Reasoning, and Data Extraction in Lean 4." arXiv preprint arXiv:2410.16429 (2024).
|
79 |
+
|
80 |
+
[5] Lightman, Hunter, et al. "Let's verify step by step." The Twelfth International Conference on Learning Representations. 2023.
|
81 |
+
|
82 |
+
[6] Hendrycks, Dan, et al. "Measuring mathematical problem solving with the math dataset." arXiv preprint arXiv:2103.03874 (2021).
|
83 |
+
|
84 |
+
[7] Zheng, Kunhao, Jesse Michael Han, and Stanislas Polu. "Minif2f: a cross-system benchmark for formal olympiad-level mathematics." arXiv preprint arXiv:2109.00110 (2021).
|
85 |
+
|
86 |
+
[8] Tsoukalas, George, et al. "Putnambench: Evaluating neural theorem-provers on the putnam mathematical competition." arXiv preprint arXiv:2407.11214 (2024).
|
87 |
+
|