Accelerating mathematical research with language models: A case study of an interaction with GPT-5-Pro on a convex analysis problem

Adil SalimAI4Research @ ICML 2026

TL;DR

This paper documents a successful collaboration between a researcher and GPT-5-Pro to prove a new Taylor expansion for the gradient of the biconjugation operator in convex analysis. The study highlights a "Goldilocks" approach to AI evaluation—choosing problems that are neither trivial nor impossibly complex—revealing that while frontier models can significantly accelerate mathematical discovery, they still require expert "sanity checks" to navigate subtle logical errors.

What Problem Does This Paper Address?

The paper tackles a specific challenge in convex analysis, a branch of mathematics foundational to optimization and optimal transport. Specifically, the author sought to establish a Taylor expansion for the gradient of the biconjugation operator (the Fenchel transform applied twice) around a strictly convex function.

While similar lemmas exist for a single Fenchel transform (notably used by Gangbo in the 1990s to simplify proofs in optimal transport), extending this to the biconjugate is non-trivial. The difficulty lies in the "locality" of the problem: just because a function has a positive definite Hessian at a single point doesn't mean it is strongly convex in a neighborhood. Proving that the "convexification" process doesn't change the function's behavior at that specific point requires a delicate touch that standard literature hadn't explicitly addressed.

Methods

The research followed a collaborative, iterative workflow resembling an oral examination rather than a static prompt-and-response.

  • Mathematical Framework: The proof relies on Alexandrov’s Theorem (which guarantees second-order differentiability almost everywhere for convex functions) and Carathéodory’s Theorem (to represent the biconjugate as an infimum of finite convex combinations).
  • AI Interaction: The author used GPT-5-Pro as a research assistant. The process involved:
  • Prompting the model for relevant literature and potential proof directions.
  • The model suggesting a "key conjecture": that for small enough perturbations, the biconjugate is "inactive" (i.e., it equals the original function) at the point of interest.
  • Iterative refinement where the human corrected the AI’s tendency to over-generalize local properties into global ones.
  • Color-Coded Documentation: In the final paper, the author uses blue text for ideas originating from the AI and black for human contributions, providing a transparent look at the "division of labor."

Datasets

Not discussed in the paper. As a theoretical mathematics case study, it does not use traditional training or evaluation datasets. The "data" is the documented interaction transcript provided in the Appendix.

Key Insights and Ideas

  • The "Key Conjecture": One of the most significant "aha" moments came when GPT-5-Pro suggested that the remainder term $o(t)$ in the Taylor expansion is actually zero for sufficiently small $t$. This shifted the goal from finding a limit to proving local equality.
  • The Local-Global Trap: A recurring theme was the AI's struggle with mathematical nuance. The model repeatedly tried to prove the result by assuming the function was strongly convex on a small ball. The human researcher had to repeatedly point out that they only had information at a single point $x$, forcing the logic toward a more rigorous "pointwise" argument.
  • AI as a Literature Map: Even when the AI failed to provide a perfect proof, it was highly effective at identifying the right "mathematical language" (e.g., epi-differentiability and tilt-stability) and pointing toward seminal texts like Rockafellar & Wets’ Variational Analysis.

Key Results

  • Proposition 2.1: The paper successfully proves that for a convex function $\phi$ with a symmetric positive definite Hessian at $x$, the biconjugate $(\phi + th)^{**}$ satisfies: $$\nabla(\phi + th)^{**}(x) = \nabla\phi(x) + t\nabla h(x) + o(t)$$
  • Zero Remainder: It rigorously establishes that for $|t|$ small enough (depending on $x$), the biconjugate is exactly equal to the perturbed function at that point: $(\phi + th)^{**}(x) = (\phi + th)(x)$.
  • Research Acceleration: Qualitatively, the author notes that the AI "significantly accelerated" the process by suggesting directions that a human might have overlooked or taken longer to verify.

Limitations and Future Work

  • Expert Oversight is Mandatory: The paper emphasizes that GPT-5-Pro is prone to "subtle mistakes," such as using inequalities in the wrong direction or confusing pointwise properties with neighborhood properties. Without an expert to catch these, the "proof" would be invalid.
  • Qualitative Evaluation: The authors acknowledge that this case study is limited to a single problem and a single model. They argue that current numerical benchmarks (like pass@k) are insufficient for evaluating research-level mathematical reasoning.
  • Future Direction: The author calls for the development of systematic, scalable frameworks to assess human-AI collaboration in research, moving beyond simple "correct/incorrect" metrics toward evaluating the process of discovery.

Summary updated

BibTeX
@inproceedings{salim2026accelerating,
  author = {Adil Salim},
  title = {{Accelerating mathematical research with language models: A case study of an interaction with GPT-5-Pro on a convex analysis problem}},
  booktitle = {AI4Research @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=mOzmbLmpIQ},
}
Figure