Yes—for single-file, core-library Lean 4 proofs and beginner exercises. LeanProofs runs a self-hosted WebAssembly Lean runtime directly in your browser with no account or local elan/lean installation, after an initial ~75 MB download. It returns real compiler diagnostics and checked-snapshot cursor goals, while full Mathlib imports, live LSP autocomplete/hover, and independent exercise certification are not yet available in the browser.
Verifiable evidence (first-party checks on 25 November 2026)
- Pinned browser WASM runtime (not official native Lean 4.33.1): LeanProofs self-hosts the Apache-2.0 third-party
cauliLean WASM fork (lean-wasm-62b6a22-editor1, library commit62b6a2291302d4bbeace37642a066b7510d0145c, editor1 recipe4f021d2bb4989b5803d7583d9ebe6466734809f8). The initial download is approximately 75 MB (~74.3 MiB; 77,900,418 manifest transfer bytes across 1,887 core library files). Each check runs in a fresh, cancellable Web Worker on your device under explicit bounds: 20 KB source cap, 300 s cold boot limit, 10 s check timeout, 1 GiB max WASM linear memory (browser overhead additional), and 64 KB diagnostic output cap. In isolated desktop Chromium tests on 25 November 2026, all 10 worked proofs compiled with matching input SHA-256 hashes, alongside 9 diagnostic scenarios (valid proof, type error, syntax error,sorrywarning, custom axiom, cursor goal snapshot⊢ P, 10 s timeout, Stop cancellation, and edit invalidation). - 10 native Lean 4.33.1 compiled proofs & reference audit: Independently of the browser fork, all 10 original core-library proofs and 10 deliberate error examples were compiled offline with official native Lean 4.33.1 (
commit 819816b2e0a3bf405af45ae5c7af2491d8f5bee6) on 25 November 2026: 10/10 proofs exited 0 with empty diagnostics and 10/10 error examples exited non-zero with real diagnostics (inspect public native evidence JSON). Separately, the 6 fixed lesson reference answers passed a nativeisDefEqand recursive axiom-allowlist audit (6 reference answers accepted, 9 negative fixtures rejected; repository fixtures only, not visitor grading—inspect public reference audit JSON). - Lesson 1 AI tutor checked by the real Lean kernel: On 25 November 2026, the optional AI tutor at Lesson 1 in the playground completed a live production loop: an actual wrong-term Lean diagnostic bound to the source hash was shared by the user, the model suggested a core-Lean fix without
sorryor extra axioms, the user manually applied it, a fresh browser Lean WASM worker compiled the edited file (Compilation completedwith matching source hash), and Undo restored the prior draft while invalidating the compiler status. AI suggestions are never treated as compiler verdicts or course passes.
Browser WASM vs. local Lean 4 installation
| Capability | LeanProofs browser WASM | Local official Lean 4 + Mathlib |
|---|---|---|
| Setup & install | Zero local install; ~75 MB initial download in browser | Install elan, VS Code Lean 4 extension, and project toolchain |
| Compiler & libraries | Pinned third-party cauli fork; core library only (no Mathlib) | Official Lean 4 releases (e.g. 4.33.1) + full Mathlib cache |
| Goals & editor feedback | Real diagnostics + cursor goal snapshot after clicking Check | Continuous live LSP, hover types, tactic info view, multi-file |
| Verification boundary | Compilation feedback only; no visitor exercise certification | Supports local #print axioms and official comparator validation |
| Verified environments | Desktop Chromium (mobile compilation & Safari not yet verified) | macOS, Linux, and Windows desktops/servers |
Who it is for—and who should install Lean locally
Good fit for browser Lean 4
- Beginners learning core Lean 4 syntax, types, equality rewrites, logic, quantifiers, and basic induction without installing
elan. - Developers and math readers testing short single-file proofs (≤ 20 KB) on desktop Chromium with real compiler feedback.
- Learners stepping through Lesson 1 with an optional AI tutor whose edits are always checked by the Lean compiler itself.
Not a fit (use local Lean instead)
- Anyone needing Mathlib imports, multi-file Lake projects, or real-time LSP hover and completion.
- Formal verification or graded exercise certification of untrusted submissions (browser compilation does not verify fixed targets or axioms).
- Slow connections where a ~75 MB cold download times out, low-memory mobile devices, or Safari browser compilation.
Honest limitations
Compilation without errors in the browser does not prove that your statement matches a fixed exercise target, that no sorry or custom axioms were introduced, or that the formal statement matches human mathematical intent. Independent mathematical review of the 10 teaching proofs remains pending, and cold ~75 MB runtime downloads can take several minutes on constrained networks.