
Share
Mathematicians on the platform Mathstodon.xyz are leveraging AI to solve complex problems, as seen in the recent resolution of Erdős problem #367, demonstrating how technology can aid formal verification and collaboration.
In a recent development in the world of mathematical research, the Mastodon server mathstodon.xyz has become a hub for collaborative problem-solving, particularly with the help of AI. A notable example is the resolution of Erdős problem #367, which showcases how AI tools can complement human intuition and formal verification methods.
Erdős problem #367, listed on the Erdős Problems website, was recently tackled by Wouter van Doorn. On November 20, Van Doorn proposed a disproof of the second part of the problem, contingent on a specific congruence identity he believed to be true. He confidently stated that "someone here is able to verify... does indeed hold."
A few hours later, Terence Tao, a renowned mathematician, posed Van Doorn's proposed identity to Gemini Deepthink, an advanced AI model from Google. After approximately ten minutes, Gemini produced a complete proof of the identity using p-adic algebraic number theory-a somewhat overkill approach for this problem.
Tao then manually converted the AI-generated proof into a more elementary form, which he presented on the Erdős Problems website. He noted that the resulting proof was suitable for "vibe formalizing" in Lean, a popular theorem prover used in formal verification.
Two days later, Boris Alexeev took up the task of formalizing Tao's refined proof using the Aristotle tool from Harmonic. This process involved translating the proof into Lean code while ensuring that the final statement was verified by hand to prevent any potential AI exploits. The entire formalization process took between two to three hours, and the resulting Lean file is available at Boris Alexeev's website.

To round out the project, Tao conducted an AI-assisted literature search on the problem using ChatGPT and Gemini. After about fifteen minutes, these tools turned up some related literature on consecutive powerful numbers but found no direct connections to Erdős problem #367. The detailed results of this literature search can be found at ChatGPT's share link and Gemini's share link.
This case study highlights the growing role of AI in mathematical research. Here are a few key takeaways:
The resolution of Erdős problem #367 on mathstodon.xyz is a prime example of how AI and human collaboration can accelerate mathematical research. By leveraging AI for initial proofs and formal verification, researchers can focus more on creative problem-solving and less on tedious verification tasks. This synergy between AI and human expertise promises to open new avenues in the field of mathematics.
Tags
Original Sources
About the author
Kai built ML infrastructure at a Bay Area startup before developing an obsession with transformer architectures and inference optimisation that eventually pulled him out of product work entirely. A stint at a compute research lab sharpened his instinct for what actually matters in a model release versus what is marketing. He writes from the inside — from the perspective of someone who has debugged the systems he is describing at three in the morning. He is allergic to hype and instinctively drawn to the unglamorous plumbing questions that everyone else skips over.
More from The Engineer →This Week's Edition
25 November 2025
88 articles
Related Articles
Related Articles
More Stories