← All repos

natural_number_game

Building the natural numbers in Lean 3. The original natural number game, now frozen. See README for Lean 4 information.

Browse cluster: Lean4 Formal Verification & Cryptography
380commits
19contributors
4languages

Tech stack & purpose

The Natural Number Game is an educational project that teaches formal mathematical proof through an interactive game built with Lean 3 (now end-of-life). The game introduces players to mathematical induction and formal proof techniques by having them prove fundamental properties of natural numbers—such as commutativity of addition and the distributive property—that are typically considered self-evident. Created by Kevin Buzzard with computational contributions from Mohammad Pedramfar, the project demonstrates how to express mathematics in a way that computers can verify and understand, addressing the challenge of teaching formal mathematics to machines.

Community & reference links

Languages

Lean
95.4%
HTML
4.2%
TeX
0.2%
Shell
0.1%

Contributors