atlas

Research map / Large language models / Agents, code and math

Ineq-Comp: Benchmarking Human-Intuitive Compositional Reasoning in Automated Theorem Proving of Inequalities

NeurIPS 2025 · Large language models › Agents, code and math · approach: Retrieval-augmented formal theorem proving · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Ineq-Comp, a Lean 4 inequality benchmark built from seed problems via compositional and algebraic transformations, showing LLM provers drop sharply on variants even with seed proofs in context, and that SFT on synthetic compositions doesn't transfer OOD.

Problem

Whether LLM-based formal provers (Lean) understand compositional structure in mathematical inequalities, i.e., can apply known inequalities (AM-GM, Cauchy) within multi-step compositions that humans find trivial.

Approach

Bottom-up benchmark: starts from 75 easy Lean-verified seed inequalities and generates variants by variable duplication, multiplication/addition of inequalities, and algebraic variable/statement transformations, plus a rule-based generator (Ineq-Mix) and real-world problems (Ineq-Real); evaluates provers under pass@N and ICL with seed proofs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply Type I variable duplication/composition instead of using the seed inequalityDeepSeek-Prover-V2-7B · Ineq-AMGMpass@3200 accuracy: 96.0 -> 84.0Hurt
Apply Type II algebraic transformation instead of using the seed inequalityDeepSeek-Prover-V2-7B · Ineq-AMGMpass@3200 accuracy: 96.0 -> 76.0Hurt
Apply Type I variable duplication/composition instead of using the seed inequalityDeepSeek-Prover-V2-7B · Ineq-Cauchypass@3200 accuracy: 76.0 -> 52.0Hurt
Apply Type II algebraic transformation instead of using the seed inequalityDeepSeek-Prover-V2-7B · Ineq-Cauchypass@3200 accuracy: 76.0 -> 48.0Hurt
Scale model size from 7B to 671B (ablation)DeepSeek-Prover-V2 · Ineq-Comp Type Ipass@32 accuracy: 46.97 -> 68.33Helped
Scale model size from 7B to 671B (ablation)DeepSeek-Prover-V2 · Ineq-Comp Type IIpass@32 accuracy: 42.1 -> 70.67Helped
Provide the verified seed proof in the prompt (ablation)Qwen2.5-Coder-32B-Instruct · Ineq-AMGM Type IIpass@128 accuracyNo clear effect
Provide the verified seed proof in the prompt (ablation)DeepSeek-R1-Distill-Qwen-32B with thinking · Ineq-AMGM Type Ipass@128 accuracyNo clear effect
Fine-tune on compositional data mixed with 5k Goedel SFT examples (ablation)Goedel-Prover-SFT · Ineq-AMGM Type Ipass@3200 accuracy: 4.0 -> 64.0Helped
Fine-tune on compositional data mixed with 5k Goedel SFT examples (ablation)Goedel-Prover-SFT · Ineq-AMGM Type IIpass@3200 accuracy: 24.0 -> 28.0No clear effect
Fine-tune on compositional data mixed with 5k Goedel SFT examples (ablation)Goedel-Prover-SFT · Ineq-Cauchy Type Ipass@3200 accuracy: 32.0 -> 32.0No clear effect
Fine-tune on compositional data mixed with 5k Goedel SFT examples (ablation)Goedel-Prover-SFT · Ineq-Cauchy Type IIpass@3200 accuracy: 28.0 -> 28.0No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Ineq-Simp Ineq-Mix Ineq-Real MiniF2F

Benchmarks: Ineq-Comp MiniF2F

Metrics: pass@N standard deviation

Baselines: DeepSeek-Prover-V1.5-RL Goedel-Prover-SFT STP Kimina-Prover-Preview-Distill-7B DeepSeek-Prover-V2-7B InternLM2.5-StepProver+BF DeepSeek-R1-Distill-Qwen-32B

Builds on: Lean 4 DeepSeek-Prover-V1.5 LeanDojo

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy