A “proof” of Fermat’s Last Theorem that fits the margin

Researchers found a Lean bug that could make an invalid proof of Fermat’s Last Theorem appear checked. The flaw affects stable Lean versions through 4.33.1, and a fix is included in v4.34.0-rc1. The researchers say it is not a kernel soundness issue; they discovered it while using GPT-5.6 to test a code-review skill.

AI-written summary, checked against the cited sources. How summaries work

Image: Trail of Bits

Read at Trail of Bits