Visual Lean
leangame.autumnofautumn.com- Category
- Education
- Rank
- No. 137Apps board
Previous survey · No. 124 ·
- Pricing
- Open Source
- Type
- APP
- Date
About
Visual Lean is an experimental graphical interface for writing Lean code, with Lean verification running locally in the browser on desktop and mobile through WebAssembly. It starts with a visual version of the Natural Numbers Game, where players prove basic properties of arithmetic, and also offers the classic typed version. The source is released under GPL-3.0.
At a glance
Visual Lean is an experimental browser interface for building formally checked proofs through clicks and drags. It is worth trying if proof syntax has kept you from exploring Lean: the opening lessons connect a visible action to the proof step it creates. A click closed an equality with rfl; dragging an assumed equality into another expression produced a rewrite, followed by a second accepted proof.
Good fit
Mathematically curious beginners who want to manipulate a proof before learning to type every command. The Visual Natural Numbers Game introduces arithmetic properties in a sequence of locked and unlocked levels. The site also offers the classic typed game, giving you a way to compare the graphical approach with writing Lean code directly.
Consider something else when
You need a mature general-purpose proof editor, an arithmetic calculator or a course that avoids mathematical reasoning. The graphical controls change how you enter a proof, not the need to understand what makes it valid. Later levels and the broader interface have not been evaluated here; two introductory successes do not establish that an entire course is accessible or effective.
Start here
Choose The Visual Natural Numbers Game and wait for Lean’s modules to load. In the first tutorial, click the goal whose two sides are identical to apply rfl. The next lesson asks you to double-click a goal, choose the side to edit and drag its assumed equality onto the matching expression. Return to the goal and close the resulting identical equality. Open proof view to see the generated steps; returning to the map showed two completed levels.
Cost and requirements
The tested desktop-browser lessons required no account, payment or local installation. The site says Lean verification runs locally through WebAssembly and documents desktop and mobile use; this trial covered desktop only. Loading the verifier’s modules is part of the first-use wait. Optional telemetry asks for consent, and declining it did not prevent completing the two lessons. The inspected engine stores visual proof/session data in browser storage.
Limits to know
The drag-and-transform interface has its own concepts to learn, and some expressions rely on visual structure beyond the accessibility text. The trial checked the first two lessons, generated proof steps and map progress. It did not test keyboard-only use, mobile gestures, offline operation, progress export/import or long-term retention. The project describes itself as an experimental prototype; treat the early lessons as a trial of the approach before committing to a larger learning plan.
Sources checked 2026-10-31. Source-based assessment.
- leangame.autumnofautumn.com
- leangame.autumnofautumn.com/g/local/NNG4/world/Tutorial/level/1/visual
- leangame.autumnofautumn.com/g/local/NNG4/world/Tutorial/level/2/visual
- leangame.autumnofautumn.com/visualNNG
- github.com/ryyanmapes/lean4game/blob/main/README.md
- github.com/ryyanmapes/lean4game/blob/main/package.json
- github.com/ryyanmapes/lean4game/blob/main/doc/telemetry-client.md
- github.com/ryyanmapes/lean4game/blob/main/client/src/state/gameProgressStorage.ts
Similar apps
Tags
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.