The Lean Language Reference 日本語訳
注意: この翻訳は有志による 非公式 翻訳です。原文の最新版は こちら です。
CAUTION: This is an Unofficial translation by volunteers. The latest version of original is here.
本書は Lean 言語リファレンス であり、Lean に関する執筆中のリファレンスです。本書は Lean についての包括的で正確な説明であることを意図しています:Lean のユーザが詳細な情報を調べることができる参考文献であって、新しいユーザのためのチュートリアルではありません。その他の文書については Lean のドキュメントサイト を参照してください。
This reference manual is not yet complete, but there's enough information to provide value to users. The top priority is to add the missing information as quickly as possible while staying up to date with Lean development. As the rest of the text is written, regular snapshots will be released, tracking upstream changes. This snapshot covers Lean version 4.16.0-rc2.
Our prioritization of content is based on our best understanding of our users' needs. Please use the issue tracker to help us better understand what you need to know. In particular, please create or upvote issues for topics that are important to you. Your feedback is much appreciated! Once sufficient content is available, we will begin saving snapshots for each release of Lean and making them conveniently available.
API reference documentation is included from the Lean standard library source code. Due to technical limitations at the moment, the Lean terms and examples embedded in it do not render as nicely as we would like. In the near future, we will be working on removing these limitations. Additionally, we will be adding missing API reference documentation and revising and improving the existing API reference documentation.
Release History
- 2024-12-16
This is the initial release of the reference manual.
- 1. はじめに(Introduction)
- 2. エラボレーションとコンパイル(Elaboration and Compilation)
- 3. 型システム(The Type System)
- 4. ソースファイル(Source Files)
- 5. 再帰定義(Recursive Definitions)
-
6. 項(Terms)
- 6.1. 識別子(Identifiers)
- 6.2. 関数型(Function Types)
- 6.3. 関数(Functions)
- 6.4. 関数適用(Function Application)
- 6.5. リテラル(Literals)
- 6.6. 構造体とコンストラクタ(Structures and Constructors)
- 6.7. 条件(Conditionals)
- 6.8. パターンマッチ(Pattern Matching)
- 6.9. ホール(Holes)
- 6.10. Type Ascription
- 6.11. Quotation と Antiquotation(Quotation and Antiquotation)
-
6.12.
do
記法(do
-Notation) - 6.13. 証明(Proofs)
- 7. 型クラス(Type Classes)
-
8. 関手・モナド・do記法(Functors, Monads and
do
-Notation) - 9. IO
- 10. タクティクによる証明(Tactic Proofs)
- 11. 単純化器(The Simplifier)
-
12. 基本的な型(Basic Types)
- 12.1. 自然数(Natural Numbers)
- 12.2. Integers
- 12.3. Finite Natural Numbers
- 12.4. Fixed-Precision Integer Types
- 12.5. Bitvectors
- 12.6. Floating-Point Numbers
- 12.7. 文字(Characters)
- 12.8. 文字列(Strings)
- 12.9. ユニット型(The Unit Type)
- 12.10. The Empty Type
- 12.11. 真偽値(Booleans)
- 12.12. Optional Values
- 12.13. Tuples
- 12.14. Sum Types
- 12.15. Dependent Pairs
- 12.16. Linked Lists
- 12.17. 配列(Arrays)
- 12.18. Subtypes
- 12.19. Lazy Computations
- 12.20. Tasks and Threads
- 13. Standard Library
- 14. 記法とマクロ(Notations and Macros)
- 15. Output from Lean
- 16. Elan
- 17. Lake and Reservoir
- Index
- 18. この翻訳について