Paper · 2109.00110 · ICLR · 2022
MiniF2F: a cross-system benchmark for formal Olympiad-level mathematics
Kunhao Zheng, Jesse Han, Stanislas Polu
arXiv · PDF · Open in the Atlas
Code that ran
3 of 3 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
- 0 ran with no instrument failure
0 honoured the contract we drafted, 0 violated it, 0 have no contract verdict
- 3 ran where Syntology's instrument failed
failures of Syntology's instrument, not of the code: 3 where our contract draft was wrong, 0 where the contract check could not run
- 0 have no recorded run
- 0 of those that ran constructed an object rather than computing a result
an executed sample whose run returned an instance of its own class (fixture_out_type equals the entry name): the run built an object and did not compute a result
- 0 are pointer only: the body is not served under this paper's link
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2109.00110.json · badge: /api/ran/2109.00110.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|
| facebookresearch/minif2f |
extension (classifier label) classifier basis: classifier_2025 |
3 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|
| reserved_notation_check |
Ran ran; our contract draft was wrong, not the code |
facebookresearch/minif2f/lean/scripts/lint_style.py code served (permissive licence) · get_code("6cd16db0c1444e10") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
from pathlib import Path
# Mock __file__ since we're not in a real module context
mock_file = Path('/scripts/mock_script.py')
# Create mock directory structure
SCRIPTS_DIR = mock_file.parent.resolve()
ROOT_DIR = SCRIPTS_DIR.parent
# Create the function (copy from problem statement)
ERR_RNT = 5
RESERVED_NOTATION = ROOT_DIR / 'src/tactic/reserved_notation.lean'
def skip_comments(enumerate_lines):
in_comment = False
for line_nr, line in enumerate_lines:
if '/-' in line:
in_comment = True
if '-/' in line:
in_comment = False
continue
if line == '\n' or in_comment:
continue
yield (line_nr, line)
def skip_string(enumerate_lines):
in_string = False
in_comment = False
for line_nr, line in enumerate_lines:
if not in_string:
if '/-' in line:
in_comment = True
if '-/' in line:
in_comment = False
if not in_comment:
if line.count('"') - line.count('\\"') % 2 == 1:
in_string = not in_string
if line.count('"') > 0:
continue
if in_string:
continue
yield (line_nr, line)
def reserved_notation_check(lines, path):
if path.resolve() == RESERVED_NOTATION:
return []
errors = []
for line_nr, line in skip_string(skip_comments(enumerate(lines, 1))):
if line.startswith('reserve') or line.startswith('precedence'):
errors += [(ERR_RNT, line_nr, path)]
return errors
# Construct valid arguments
lines = [
"-- This is a comment\n",
"def foo := 1\n",
"reserve infix ` + ` : 50\n",
"precedence `+` : 50\n",
"def bar := 2\n",
]
path = Path('/some/test/file.lean')
ARGS = {
'lines': lines,
'path': path,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| set_option_check |
Ran ran; our contract draft was wrong, not the code |
facebookresearch/minif2f/lean/scripts/lint_style.py code served (permissive licence) · get_code("26a8582dd6f1cac7") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
# Analyze the function to understand what arguments it needs
# set_option_check(lines, path)
# - lines: an iterable of strings (the function enumerates them)
# - path: a string (used in error tuple, not actually used for file operations)
# The function processes lines looking for 'set_option' commands
# It skips comments (between '/-' and '-/') and strings (between quotes)
# It checks if lines starting with 'set_option' have certain two-character patterns
# Create test data with various set_option lines
test_lines = [
"# Regular comment\n",
"set_option pp.something true\n",
"set_option pr.other false\n",
"set_option tr.value 42\n",
"set_option valid.option true\n",
"some other code\n",
'/-\n',
'set_option pp.hidden true\n',
'-/\n',
'text with "set_option pp.quoted" string\n',
"another line\n",
]
test_path = "/test/path.txt"
ARGS = {
"lines": test_lines,
"path": test_path,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| small_alpha_vrachy_check |
Ran ran; our contract draft was wrong, not the code |
facebookresearch/minif2f/lean/scripts/lint_style.py code served (permissive licence) · get_code("9a6fcf24bb8c49fb") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
# Analyze the function to understand what it needs
# small_alpha_vrachy_check(lines, path)
# - lines: iterable of strings (used in enumerate)
# - path: string (used in error tuple construction)
ARGS = {
'lines': [
'def hello():\n',
' x = "test ᾰ string"\n',
' return x\n',
'ᾰ\n',
'/-\n',
' ᾰ in comment\n',
'-/\n',
'final line\n',
],
'path': '/test/file.py'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
Also present in other papers' code
Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.
Repositories linked to this paper
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Abstract
We present miniF2F, a dataset of formal Olympiad-level mathematics problems statements intended to provide a unified cross-system benchmark for neural theorem proving. The miniF2F benchmark currently targets Metamath, Lean, Isabelle (partially) and HOL Light (partially) and consists of 488 problem statements drawn from the AIME, AMC, and the International Mathematical Olympiad (IMO), as well as material from high-school and undergraduate mathematics courses. We report baseline results using GPT-f (Polu & Sutskever, 2020), a neural theorem prover based on GPT-3 (Brown et al., 2020) and provide an analysis of its performance. We intend for miniF2F to be a community-driven effort and hope that our benchmark will help spur advances in neural theorem proving.
For agents
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2109.00110")
get_code_for_paper("2109.00110")
have("2109.00110")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2109.00110.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2109.00110)
Connect an agent — have() is free.