Rules and proofs
Each game's rules are propositions, and the checkers are proved sound.
How Lean 4 is used on this site: rules stated, checkers proved, an engine in the browser.
Each game's rules are propositions, and the checkers are proved sound.
The same Lean code, compiled to WebAssembly for the browser, and the full elaborator on a local server.
These pages are generated by Lean, with Verso.