Verify the Riemann Hypothesis in about two hours in your browser
Steps to verify the Riemann Hypothesis without installing anything
Upvotes: 0 · Log in to upvote, follow, set alerts, subscribe, or comment.
Around two weeks ago (on November 20, 2026), an Anthropic researcher published a proof of a famous open problem in mathematics, called the Riemann Hypothesis. Because he first only published AI-coded lean files and he said not even he understood them fully, there was initially some skepticism regarding whether it has really been proved, or verified.
The formally verified mathematics in Lean 4 have now been optimized and reduced in length so that it can now run more quickly, and in the steps below I show you how you can verify it for yourself in your browser, by building the code from scratch using a Linux kernel built for the browser and the same Lean environment that researchers typically use.
Because the steps below don’t require you to download anything permanently onto your computer or install anything (they run in WebAssembly in your browser), they take about 50 times longer to run than if you installed the files. If you run the files yourself, perhaps in a virtualized container, you might be able to complete the steps in around 5 minutes.
You can now easily check the proof for yourself in about two hours, from your browser, without installing anything.
Prerequisites:
You should have a modern computer built in the past 5 years, 4 gigabytes of free RAM and 30 gigabytes of free disk space. You can delete the used space once y ou’re done.
You can use the following steps:
-
We’ll be using this repo, in which community members have gotten the original proof down to around 300,000 lines: https://github.com/leanprover-community/riemann-hypothesis
-
We’ll run things on unkernel.dev - this is going to be pretty slow. If you know what you’re doing, you can build the repo on your own computer or in a VM instead, which would be about 50 times faster, according to my tests.
-
Go to unkernel.dev and increase the size of the hard drive by clicking the settings in the lower right and setting it to something large enough for the build, around 30 gigabytes should be okay. You can give it a little more memory, I gave it 4 gigabytes.
-
Install lean 4 by installing elan. Type:
apt-get install -y elan
-
set lean 4 default. Type:
elan default stable
-
Clone the repo. Type:
git clone https://github.com/leanprover-community/riemann-hypothesis
-
cd into the repo. Type:
cd riemann-hypothesis
-
Next get the prebuilt cache from the project. This is going to take a really long time, like half an hour or more, because you’re running in linux within a sandbox in your browser (via wasm), rather than on native hardware, and unkernel.dev is proxying the network connections for you since javascript fetch() wouldn’t work with github. The code runs on your own computer though, within your browser. This will take a really long time. Type:
lake exe cache get
-
Now you’re ready to build it. I put “time” in front of it so I could see how long it would take, here is the command I ran. Type:
time lake build
or just:
lake build
It’s going to run for a really long time, and then eventually build. Congratulations, you’ve just proved the Riemann Hypothesis :) Let me know in the comments how long it took on your hardware. I tested this on a Mac Mini.

Copyright © @robertviragh. Authors retain 100% copyright over both the free public section and all locked paid sections published on ezmon-e.com (ezmon-e holds non-exclusive redistribution rights only). This technical article reflects the author's independent work.
Discussion (0)
Registered users comment under their own username. Read our Reddit-inspired Comment Guidelines. Gemma 4 E4B checks comments to prevent abuse while welcoming vigorous debate and disagreement. Story authors may moderate comments on their own stories.
Log in or sign up to join the discussion.
No comments yet. Be the first to respond thoughtfully.