{"id":1477,"kind":"story","title":"An introductory textbook on Lean 4 for learning how a computer checks that a proof is correct","url":"https://unaoya.github.io/lean-intro/","host":"unaoya.github.io","by":"startupxo","score":0,"comments":0,"time":"2026-11-28T00:41:02.218Z","origin":"curated","language":{"source":"ko","reading":"en","translated":true},"summary":["This textbook aims less at teaching how to write Lean code yourself and more at helping you understand how a computer checks whether a mathematical proof is correct. Lean is a programming language used to verify proofs.","There are two key points. Whether a string of characters is a grammatically valid expression (term) can be decided mechanically, and what kind (type) is attached to a term can also be computed mechanically.","Through the correspondence \"a proposition is a type, and a proof is a term of that type,\" it explains that the process of inferring a type is itself proof verification.","To reduce black boxes, it covers tactics, which are proof automation tools, only briefly, and it uses only the standard Lean 4 environment without the math library mathlib. The original states that all exercise solutions were checked by Lean."],"discussion":"https://startupxo.com/en/1477/","markdown":"https://startupxo.com/en/1477.md","api":"https://startupxo.com/api/v1/item.json?id=1477&lang=en","text":null,"edited":null,"sources":[{"site":"rss","name":"はてなブックマーク テクノロジー","url":"https://unaoya.github.io/lean-intro/","score":null,"comments":null,"observed_at":"2026-11-28T00:40:31Z"}],"thread":[]}