Make a small change.
Edit freely, save a local draft, or download a Lean file. The experimental compiler runs in your browser. No source code is uploaded or sent to analytics.
What are you working on?
Lesson and example instructions are static teaching explanations, not live goals or compiler output. Your editable code may differ from the original task.
Hints
Use the Code panel to edit and download. The Status panel explains the current checking-service limitations.
Use Unicode directly: ∀ ∃ → ∧ ≠. Tab moves to the next control. Drafts are local to this browser.
Loading the example and local draft. Editing is locked until initialization completes.
Not checked
No compiler result exists for this code. Choose Check code to load the experimental runtime; output comes from the real compiler. No goal or exercise pass is simulated.
What will a check mean?
Compilation, matching the intended statement, auditing axioms, and mathematical review are separate checks.
Limits: 20 KB source, 90-second environment loading, 10-second check, 1 GiB maximum WASM linear memory (browser overhead is additional), 64 KB diagnostics. Stop terminates the worker. Each check starts fresh and never runs on our server.
Read the checking methodCheck locally instead
Install the target Lean toolchain using the official instructions. Review code before running it; Lean programs may perform IO. Run only your own or trusted code on your computer.
lean --version
lean Main.leanThe original worked proofs were compiled with official Lean 4.33.1 on 25 November 2026. Your edits require a new check; this does not certify a fixed exercise.
Official Lean installation