IneqAgent: Agentic Inequality Proving in Lean with Symbolic Computation

Gaolei He, Jinhui Li, Ruobing Zuo, Xia Zeng, Zhengfeng Yang
10/14/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Formal inequality proving requires mathematical reasoning and exact computation, often connected through intermediate lemmas and goal reformulations. We introduce IneqAgent, an agentic framework combining LLM reasoning with symbolic computation for inequality proving in Lean4. Lemma-level Monte Carlo Tree Search coordinates lemma construction, goal reformulation, and symbolic backend selection. Complementary sum-of-squares, Bernstein, and successive difference-substitution backends produce exact certificates for local Lean proof generation. The agent integrates these proofs with LLM-generated steps and uses Lean feedback to construct complete proofs checked against the original theorem statements. On four benchmarks, IneqAgent with DeepSeek-V4-Flash solves 175 of 186 problems (94.09%), achieving the highest overall success rate among the evaluated methods. Across four backbones, it achieves higher success rates at low LLM inference cost thresholds than Direct Agent using the same backbone, with lower mean inference costs over each method's successful runs. We also obtain Lean-verified strengthenings of Dittert's conjecture in dimensions four and five, and certify the Holens--Djokovic $(4,4)$ inequality, implying Merris's conjecture in dimension four.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{he2026ineqagent,
  title  = {IneqAgent: Agentic Inequality Proving in Lean with Symbolic Computation},
  author = {Gaolei He and Jinhui Li and Ruobing Zuo and Xia Zeng and Zhengfeng Yang},
  year   = {2026},
  eprint = {2610.20681},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.20681v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.20681.svg)](https://codeofpaper.com/paper/2610.20681)

Discussion