Claude Code formalizes the ternary Goldbach conjecture and corrects errors
Start here
Independent developer Charlie Reams used Claude Code to formalize the ternary Goldbach conjecture, whose proof Helfgott announced in 2013, into 194,000 lines of Lean 4 code, with zero sorry across the entire library, and found 11 places where the original proof did not match the original book and corrected them. Helfgott responded on X, mentioning that Reams had privately informed him on October 4 that the formalization ran successfully; the external axiom assumptions were reduced from 5 to 2.
Generated by AI from reports · Updated 16 days ago
Progress timeline
- WeChat · AI Era (Xinzhiyuan)Claude Code writes 194,000 lines of Lean 4 code to formalize a proof of the ternary Goldbach conjecture, uncovering 11 problems in the original proof
Independent developer Charlie Reams used Claude Code to formalize the ternary Goldbach conjecture, whose proof mathematician Harald Helfgott announced in 2013, writing 194,000 lines of Lean 4 code with zero sorry across the entire library, meaning no unproven step was skipped. The formalization found 11 places where the original proof did not match the original book and corrected them, such as equation (6.77) writing the key constant as 0.5 when the correct value is 0.8102; the cited Ramaré 1995 result claimed the product does not exceed 8, while the actual value is about 8.0845, and the project used a different splitting method to obtain 7.04. Helfgott responded on X, mentioning that Charlie Reams had privately informed him on October 4 of this year that the formalization ran through; afterward the external axiom assumptions the proof relies on were reduced from 5 to 2, namely Platt's numerical verification of GRH and the local verification of the even Goldbach conjecture up to 4x10^18, which remain outside the Lean kernel.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- WebAI Era (Xinzhiyuan)Math world shaken! Claude writes 190,000 lines of source code in one go and uncovers an error in a proof from 13 years ago(opens the original post in a new tab)
- X@MillerAurvalCharlie Reams used Claude Code to move Helfgott's 2013 ternary Goldbach proof into Lean 4, with zero sorry. Errors in the original book were also found. A constant that should have been 0.8102 was written as 0.5, and an inequality at v=2...(opens the original post in a new tab)