Papers › Solving Inequality Proofs with Large Language Models

Solving Inequality Proofs with Large Language Models

9 Jun 2025arXiv:2506.07927archive 2025-07-28

Jiayi Sheng, Luna Lyu, Jikai Jin, Tony Xia, Alex Gu, James Zou, Pan Lu

Inequality proving, crucial across diverse scientific and mathematical fields, tests advanced reasoning skills such as discovering tight bounds and strategic theorem application. This makes it a distinct, demanding frontier for large language models (LLMs), offering insights beyond general mathematical problem-solving. Progress in this area is hampered by existing datasets that are often scarce, synthetic, or rigidly formal. We address this by proposing an informal yet verifiable task formulation, recasting inequality proving into two automatically checkable subtasks: bound estimation and relation prediction. Building on this, we release IneqMath, an expert-curated dataset of Olympiad-level inequalities, including a test set and training corpus enriched with step-wise solutions and theorem annotations. We also develop a novel LLM-as-judge evaluation framework, combining a final-answer judge with four step-wise judges designed to detect common reasoning flaws. A systematic evaluation of 29 leading LLMs on IneqMath reveals a surprising reality: even top models like o1 achieve less than 10% overall accuracy under step-wise scrutiny; this is a drop of up to 65.5% from their accuracy considering only final answer equivalence. This discrepancy exposes fragile deductive chains and a critical gap for current LLMs between merely finding an answer and constructing a rigorous proof. Scaling model size and increasing test-time computation yield limited gains in overall proof correctness. Instead, our findings highlight promising research directions such as theorem-guided reasoning and self-refinement. Code and data are available at https://ineqmath.github.io/.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2506.07927")

Code

Syntology Ran 9 of 10 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 4 ran · violated contract; 4 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

lupantech/ineqmath officialmentioned in papermentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 9 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · violated contract
4ran · our draft was wrong
1ran
1unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from lupantech/ineqmath. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

EquivalenceCheck lupantech/ineqmath/models/utils/compute_score.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 166a2bb1eff7ab17 · report
clean_answer lupantech/ineqmath/data_curation/data_reformulation/bound_reformulation.py official repository ran · violated contract fingerprinted MIT (permissive) · 11636c4dee59c991 · report
extract_bound_answer lupantech/ineqmath/models/utils/compute_score.py official repository ran · our draft was wrong MIT (permissive) · 67cfa7775d25af48 · report
extract_relation_answer lupantech/ineqmath/models/utils/compute_score.py official repository ran · our draft was wrong MIT (permissive) · ff123d3fec1da790 · report
get_transformation_prompt lupantech/ineqmath/data_curation/data_reformulation/bound_reformulation.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · fda61b96dacc3bc0 · report
locate_answer lupantech/ineqmath/models/utils/compute_score.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 39d9673604e55cb6 · report
verify_bound_answer lupantech/ineqmath/models/utils/compute_score.py official repository ran · violated contract MIT (permissive) · 3ceaf943c514f3ac · report
verify_bound_answer_with_llm lupantech/ineqmath/models/utils/compute_score.py official repository ran · violated contract MIT (permissive) · 2509a65628293bac · report
verify_relation_answer lupantech/ineqmath/models/utils/compute_score.py official repository ran · violated contract MIT (permissive) · 2008ae1131969bfc · report
ScoreComputer lupantech/ineqmath/models/utils/compute_score.py official repository unverified MIT (permissive) · fb5c76164b56d0ce · report

Tasks

Mathematical Problem-SolvingRelation Prediction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections