# 17 million lines of AI slop just cracked a 167-year-old math problem...

## Executive summary

The video discusses the controversial claims made by Levent Alpagay regarding a 41-day conversation with Claude, which allegedly produced 17 million lines of Lean code claiming to prove the Riemann Hypothesis. The proof was reportedly compiled by the Lean community. The discussion also covers a second AI-generated proof (73,000 lines of Lean) for the VP versus VNP conjecture, which lacks human verification. The content highlights the challenges of managing massive, complex, and potentially flawed AI-generated codebases, promoting CodeRabbit as a solution for large diff review.

## Key takeaways

- AI-Generated Mathematical Proofs: Levent Alpagay claimed that a 41-day conversation with Claude resulted in a 17 million line proof of the Riemann Hypothesis, which was subsequently compiled by the Lean community.
- Code Quality and Verification Issues: The alleged proof contained a function, `any geometry`, which was reported to simply return true, leading to the declaration of the proof as invalid by Jenny Nielsen.
- AI's Role in Theoretical Computer Science: Anthropic also released a paper claiming to prove the VP versus VNP conjecture, which was generated entirely by Claude, with no human mathematician having checked the 73,000 lines of Lean code.
- Code Review for Large Diff: The video introduces CodeRabbit as a tool designed to help engineers understand large diffs and complex PRs generated by coding agents, providing an overview of risk and affected services.

## Technical details

- Lean Programming Language: Lean is a formal verification language used in the alleged proofs. The 17 million lines of code for the Riemann Hypothesis and 73,000 lines for VP vs VNP were generated in this language.
- Riemann Hypothesis: The Riemann Hypothesis concerns the distribution of prime numbers. The alleged proof suggests that primes are not random but follow a pattern.
- AI Code Review and Diff Analysis: CodeRabbit is presented as a solution to the challenge of reviewing thousands of lines of PRs from coding agents, mapping affected files and services.

## Practical implications

- Build engineers must be prepared to manage and review extremely large, complex codebases (millions of lines) generated by AI, requiring specialized tools for diff analysis.
- The reliance on formal verification languages (like Lean) means that code quality is tied to mathematical correctness, which is currently unverified in these examples.
- AI-generated code requires robust review surfaces to ensure that the underlying logic is sound, not just that the code compiles.

## Topics

AI, Formal Verification, Code Review, Mathematics, Software Engineering, CodeRabbit Explain, Fireship Newsletter

Source: https://www.youtube.com/watch?v=Jatwf_XOncE
