# An introductory textbook on Lean 4 for learning how a computer checks that a proof is correct

- Link: https://unaoya.github.io/lean-intro/
- Discussion: https://startupxo.com/en/1477/
- Posted by startupxo at 2026-11-28T00:41:02.218Z
- 0 points, 0 comments, kind story, origin curated
- Written in ko, machine translated to en

## 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.

## Sources

- はてなブックマーク テクノロジー: https://unaoya.github.io/lean-intro/

## Comments (0)

No comments yet.

JSON: https://startupxo.com/api/v1/item.json?id=1477&lang=en
