CombiBench: Benchmarking LLM Capability for Combinatorial Mathematics

Junqi Liu, Xiaohan Lin, Bolton Bailey, Jonas Bayer, Yaël Dillies, Weijie Jiang, Xiaodan Liang, Roman Soletskyi, Haiming Wang, Yunzhou Xie, Beibei Xiong, Zhengfeng Yang, Jujian Zhang, Lihong Zhi, Zekai Zhu, Jia Li, Zhengying Liu

TL;DR

This paper introduces CombiBench, a new benchmark of 100 combinatorial math problems formalized in Lean 4, to address the current lack of robust evaluation tools for AI models in this challenging domain. They also propose Fine-Eval, a novel evaluation framework that can handle both proof-based and fill-in-the-blank problems, revealing that even state-of-the-art LLMs struggle, solving only about 48% of CombiBench problems.

What Problem Does This Paper Address?

While AI models have made impressive strides in formalizing and solving problems in algebra, geometry, and number theory, combinatorics remains a significant hurdle. Existing benchmarks often lack sufficient combinatorial content, use outdated formalization languages, or don't adequately test the unique "fill-in-the-blank" problem format common in mathematics. This gap makes it difficult to accurately assess and improve AI's capabilities in this area, which is crucial for advancing automated reasoning.

Methods

The core contributions are:

  • CombiBench: A new benchmark comprising 100 combinatorial problems. These problems are drawn from various sources, including the International Mathematical Olympiad (IMO), university-level texts, and online resources, covering a wide range of difficulty and topics. Each problem is formalized in Lean 4, a modern formal proof language, and paired with its informal statement.
  • Fine-Eval (Fill-in-the-blank in Lean Evaluation): A novel evaluation framework designed to assess AI models on formal mathematics problems. It's unique in its ability to handle "fill-in-the-blank" questions, where the model must not only generate a solution but also prove its correctness. Fine-Eval uses a two-stage process: first, it checks for an exact match of the solution and proof; if that fails, it attempts to verify the equivalence of the model's proposed solution to the ground truth.

Datasets

  • CombiBench: A newly introduced benchmark consisting of 100 combinatorial mathematics problems. These problems are sourced from:
  • 10 easy problems from hackmath.net
    • 42 exercises from Brualdi's "Introductory Combinatorics" textbook
    • 36 problems from the International Mathematical Olympiad (IMO) and related competitions (APMO, Baltic Way, EGMO, IMO-Shortlist, IZHO, BXMO, USAMO)
  • Existing benchmarks mentioned for comparison include miniF2F, FIMO, and PutnamBench.

Key Insights and Ideas

  • Combinatorics is a persistent AI bottleneck: Despite advances in other math domains, combinatorics problems continue to challenge even the most advanced AI models, as evidenced by recent IMO performance.
  • Formalization is hard, especially for combinatorics: The gap between informal, natural language problem statements and rigorous formal proofs is particularly wide in combinatorics. This often requires defining new lemmas and definitions from scratch, increasing the formalization effort.
  • Fill-in-the-blank problems require new evaluation methods: Traditional proof-checking isn't sufficient for problems where the answer itself needs to be generated. Fine-Eval addresses this by verifying both the generated solution and its proof.
  • Model performance varies significantly with development time: Newer, more developed models (like Seed-Prover 1.5) show substantially better performance than older or less specialized ones, highlighting the impact of continuous improvement and architectural advancements.

Key Results

  • State-of-the-art LLMs solve only 48% of CombiBench problems.
  • Even specialized theorem-proving models struggle, with top performers like DeepSeek-Prover-V2 solving around 10% and Seed-Prover 1.5 achieving 48%.
  • The performance gap between open-source and closed-source models is notable, with Seed-Prover 1.5 (closed-source) significantly outperforming others.
  • The formalization of CombiBench problems is time-consuming, with IMO-level problems potentially requiring over 8 hours each.
  • Analysis shows that models perform poorly on topics like the pigeonhole principle, systems of distinct representatives, and graph theory within CombiBench.

Limitations and Future Work

  • Formalization effort: The manual formalization of problems is time-consuming, and the limited coverage of combinatorics in existing libraries like Mathlib necessitates custom definitions.
  • Data leakage: To prevent cheating, ground-truth proofs are not publicly released, requiring a verification process for submissions.
  • Future Work: The authors plan to contribute the formalized definitions from CombiBench to Mathlib and develop a dedicated theorem library for combinatorics. They aim to continue improving CombiBench and Fine-Eval to foster reproducible research and accelerate progress in AI for combinatorial mathematics.

Summary updated

BibTeX
@inproceedings{liu2026combibench,
  author = {Junqi Liu and Xiaohan Lin and Bolton Bailey and Jonas Bayer and Yaël Dillies and Weijie Jiang and Xiaodan Liang and Roman Soletskyi and Haiming Wang and Yunzhou Xie and Beibei Xiong and Zhengfeng Yang and Jujian Zhang and Lihong Zhi and Zekai Zhu and Jia LI and Zhengying Liu},
  title = {{CombiBench: Benchmarking LLM Capability for Combinatorial Mathematics}},
  booktitle = {AI4Math @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=qeZStJVYnc},
}
Figure