∴LeanProofs
Guide

What is Lean, and where should I start?

Lean is a programming language and interactive theorem prover. A proof is a term of a proposition’s type; tactics help construct that term. Start with a small equality before tackling a research repository.

LeanProofs editorial · 24 November 2026 · native examples compiled 25 November 2026; mathematical review pending

A statement before a tactic

In “theorem identity (n : Nat) : n = n”, n is a natural number and the goal is its equality with itself. “by rfl” supplies a proof by reflexivity. This is a teaching explanation, not live goal output.

Who this path is for

Use these lessons if you know basic mathematical notation and want short, explicit steps. For Mathlib development, multi-file repositories or full IDE support, use the official installation and documentation. The experimental workspace checks core-library code in a browser worker; it has no full Mathlib environment.

Make the next move

Read the first worked proof, then open it in the workspace and change one side of the equality. Download it for a trusted local Lean installation. No installation or account is needed for reading and editing here.

Sources & next step