Skip to content
WeChat · AI Era (Xinzhiyuan)·Indexed by this site · Originally published· AI updates →

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

数学界震动!Claude一口气写下19万行源码,揪出13年前证明错误

AI summary

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.

Read originalmp.weixin.qq.com