Prime parity proof: 5,488 lines of Lean 4 written with Claude Code, zero sorry

xennygrimmato_ · x · 2026-11-06

Technical numbers behind the new prime parity algorithm: x^o(1) time (down from x^(1/2+o(1))); works on any interval [A, B], not just short ones; one query to Anthropic's #SAT engine; 5,488 lines of Lean 4 written with Claude Code; zero sorry and 3 standard axioms; 855,150 intervals checked numerically. Caveats: no prime finding or exact π(x) — impractical at real sizes, and it rests on Anthropic's ETH proof, under review and not yet human-checked.

Related event: Breakthrough Prime Parity Algorithm in x^o(1) Time Written Entirely by Claude Code(4 posts)→

Original post →

More from coding & agent

coding & agent channel →