HeadlinesBriefing favicon HeadlinesBriefing.com

Lean Books Guide: From Intro to Metaprogramming

Hacker News •
×

Lean, the proof‑assistant language that has surged in academia, now boasts a growing library of hand‑crafted guides. A recent roundup lists nine essential titles, ranging from introductory overviews to deep dives into metaprogramming. The collection, curated by a seasoned developer, stresses parallel reading to build a solid foundation before tackling tactics or compiler work for future proofers today quickly.

Microsoft’s sponsorship of *Functional Programming in Lean* by David Thrane Christiansen marks the first full‑length book treating Lean as a programming language, offering a gentle introduction to functional concepts. The guide also covers structures, inductives, and instance search—core tools for writing proofs. For those eyeing tactics or compiler internals, the *Metaprogramming in Lean* volume follows, demanding prior language fluency today.

Other staples include *Theorem Proving in Lean*, which blends theory with practical proofs, and *Mathematics in Lean*, a hands‑on Mathlib‑style curriculum. Interactive options like the *Natural Number Game* and Kevin Buzzard’s *Formalising Mathematics* offer playful pathways, while the Lean 4 language manual provides raw, evolving documentation. Together, these resources chart a clear path from beginner to expert in Lean community.