Lecture Notes for the 2026 Zhejiang University Lean Summer School [qrcode]

Dong Anjie

The Chinese University of Hong Kong, Shenzhen

anjiedong at link dot cuhk dot edu dot cn\mathtt{anjiedong\ at\ link\ dot\ cuhk\ dot\ edu\ dot\ cn}

Finally, a note about ‘we’ in this book: ‘we’ will almost always mean the reader and the authors together, not the authors alone.

TermElabM.run PrettyPrinter.delab TermElabM.toIO EIO.toBaseIO IO.toEIO EIO.toIO CoreM.toIO MetaM.toIO CoreM.run StateRefT'.run Tactic.run MetaM.run RequestM.runCommandElabM RequestM.runTermElabM runTermElabM, liftTermElabM Frontend.runCommandElabM RequestM.runCoreM liftCoreM liftCommandElabM TacticM TermElabM MetaM CoreM EIO IO RequestM DelabM BaseIO CommandElabM SimpM FrontendM
The map of Lean 4's metaprogramming monads, modified from the Mathlib 4 wiki's Monad map.