AI Today

🧮 LeanProofs: write and check Lean 4 proofs in the browser, no install

· 4 min

In brief


🧮 Since AI-assisted proofs such as the one for the Riemann hypothesis are checked in the Lean language, more people want to see what a machine-checked proof looks like. The new website [LeanProofs](https://leanproofs.com/) offers a way in without installing anything: you write Lean 4 code in the browser, have it checked and see the compiler's real messages. According to the site, the checker is a modified WebAssembly build of Lean that runs entirely on your own device; your code is not sent to a server for this. The first download is about 75 MB. The operators say it is tested only in desktop Chromium browsers, phones and Safari are not verified, and the large maths library Mathlib is missing. 🎓 Beginners get small exercises, such as replacing a placeholder in a simple equality theorem with a real proof, plus an optional AI tutor that gives one hint at a time. No price is stated, and no operator is named either. Anyone who wants to work seriously with Lean still needs a local installation.


🔍 **How the check works.** The site's playground holds a file Main.lean that you can edit freely, save as a draft in the browser or download. Only a click on "Check code" loads the runtime; after that, errors and goals come from the real compiler, not from a simulation. Each check starts fresh and, according to the site, never runs on the operators' server. The limits are stated openly: at most 20 KB of source, up to 300 seconds to load the environment, 10 seconds per check and up to 1 GiB of memory for the WebAssembly runtime, with at least 512 MiB required.

📏 **What the browser cannot do.** The operators draw a clear line between "compiles" and "is mathematically right". The browser checker knows only Lean's core library: no Mathlib, no audit of the axioms used and no live language server of the kind editors rely on. The sample proofs on the site were also compiled with the official Lean 4.33.1 and carry a note that a mathematical review is still pending. For more, the site points to the official installation, with the advice to run only your own or trusted code locally.

🎓 **The exercises.** The front page shows short tasks from logic and arithmetic: from a = b and b = c follows a = c, from "P and Q" follows "Q and P", and from "P implies Q" follows the contrapositive. The lesson explanations are static teaching text; the compiler checks your own solution, but that does not count as an official pass of the lesson.

🤖 **The AI tutor.** On request an AI assistant suggests a next step, never the whole solution at once. According to the site it sends only the excerpt you choose; the server forwards it without storing conversation content, but the model provider's retention policy applies. The site does not say which model is used, and requests are subject to quotas.

📚 **The tracker.** A separate section follows, by the site's count, 18 milestones of AI mathematics and Lean formalisation across 38 primary sources, separating announcements from verified results. It lists, for example, the Claude-assisted proof of the Riemann hypothesis that the Lean team and the Mathlib community checked, and a paper on singularities of the Navier-Stokes equations, for which the site notes a gap at the external numerical certificate. The site says it has not reproduced either itself.

⚖️ **Who it suits.** LeanProofs suits curious readers, students and teachers who want a feel for formal proofs without setting up a toolchain. It is explicitly not meant for research with Mathlib or for large projects. As the site names no operator, it remains unclear who runs it.

Sources

Open in the interactive reader →

This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources. Imprint, privacy policy and terms of service