hn.today

Lean Grimoire

terrytao.wordpress.com62 points11 comments
Screenshot of Lean Grimoire

Lean Grimoire is an interactive game for learning propositional and first-order logic by constructing proofs. It modernizes QED, a JavaScript “crafting game” created in 2018, in which players apply logical rules to a set of hypotheses to derive a target conclusion. The example proof task is to establish that A implies the conjunction of A and B, illustrating how the game turns formal reasoning into a sequence of hands-on moves.

The updated version was rebuilt with help from a modern coding agent and adds the option to display the corresponding Lean proof as the player works. This connects the game’s visual, rule-based interface to a proof assistant used to formalize mathematics, potentially making it useful both for teaching logic and for introducing Lean. A fantasy mode gives mathematical objects playful names: statements become potions and expressions become scrolls. The project is still being developed, and its creator is inviting players to test it and help assess how well it teaches logical proof and Lean.

Read on terrytao.wordpress.com11 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Ggml v1.0.0

Ggml v1.0.0

ggml 1.0.0 removes deprecated public APIs and legacy DIAG_MASK operations, while adding configurable YaRN truncation and FP8 support. It also improves backend performance with quantized matrix multiplication, fused MoE operations, and new attention and scheduling paths. (github.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.