 The Lean Reference Manual
Release 3.3.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 Expressions 11 3.1 Universes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5 Other Commands 37 5.1 Universes and Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Reference Manual, Release 3.3.0 10 Chapter 2. Lexical Structure CHAPTER THREE EXPRESSIONS 3.1 Universes Every type in Lean is, by definition, an expression of type Sort u for some universe level u. A0 码力 | 67 页 | 266.23 KB | 1 年前3 The Lean Reference Manual
Release 3.3.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 Expressions 11 3.1 Universes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5 Other Commands 37 5.1 Universes and Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Reference Manual, Release 3.3.0 10 Chapter 2. Lexical Structure CHAPTER THREE EXPRESSIONS 3.1 Universes Every type in Lean is, by definition, an expression of type Sort u for some universe level u. A0 码力 | 67 页 | 266.23 KB | 1 年前3
 Theorem Proving in Lean
Release 3.23.0type theory known as the Calculus of Constructions, with a countable hierarchy of non-cumulative universes and inductive types. By the end of this chapter, you will understand much of what this means. 2 discuss Prop in the next chapter. We want some operations, however, to be polymorphic over type universes. For example, list α should make sense for any type α, no matter which type universe α lives in also just syntactic sugar for Sort (u+1). Prop has some special features, but like the other type universes, it is closed under the arrow constructor: if we have p q : Prop, then p → q : Prop. There are0 码力 | 173 页 | 777.93 KB | 1 年前3 Theorem Proving in Lean
Release 3.23.0type theory known as the Calculus of Constructions, with a countable hierarchy of non-cumulative universes and inductive types. By the end of this chapter, you will understand much of what this means. 2 discuss Prop in the next chapter. We want some operations, however, to be polymorphic over type universes. For example, list α should make sense for any type α, no matter which type universe α lives in also just syntactic sugar for Sort (u+1). Prop has some special features, but like the other type universes, it is closed under the arrow constructor: if we have p q : Prop, then p → q : Prop. There are0 码力 | 173 页 | 777.93 KB | 1 年前3
 Agda User Manual v2.6.4.11 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Language Reference Agda User Manual, Release 2.6.4.1 3.40 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 311 页 | 1.38 MB | 1 年前3 Agda User Manual v2.6.4.11 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Language Reference Agda User Manual, Release 2.6.4.1 3.40 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 311 页 | 1.38 MB | 1 年前3
 Agda User Manual v2.6.4.3modules. 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Dmitriy Traytel, LMCS Vol. 13(3:28)2017, pp. 1–22 (2017). 3.40 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 311 页 | 1.38 MB | 1 年前3 Agda User Manual v2.6.4.3modules. 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Dmitriy Traytel, LMCS Vol. 13(3:28)2017, pp. 1–22 (2017). 3.40 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 311 页 | 1.38 MB | 1 年前3
 Agda User Manual v2.6.4.2modules. 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Dmitriy Traytel, LMCS Vol. 13(3:28)2017, pp. 1–22 (2017). 3.40 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 311 页 | 1.38 MB | 1 年前3 Agda User Manual v2.6.4.2modules. 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Dmitriy Traytel, LMCS Vol. 13(3:28)2017, pp. 1–22 (2017). 3.40 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 311 页 | 1.38 MB | 1 年前3
 Agda User Manual v2.6.4modules. 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Dmitriy Traytel, LMCS Vol. 13(3:28)2017, pp. 1–22 (2017). 3.40 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 313 页 | 1.38 MB | 1 年前3 Agda User Manual v2.6.4modules. 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Dmitriy Traytel, LMCS Vol. 13(3:28)2017, pp. 1–22 (2017). 3.40 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 313 页 | 1.38 MB | 1 年前3
 Agda User Manual v2.6.3Sized Types Example for coinduction: finite languages References Sort System Introduction to universes Agda’s sort system Sort metavariables and unknown sorts Syntactic Sugar Do-notation Idiom brackets importing modules. Cumulativity Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the -- cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set₁. Agda also does0 码力 | 379 页 | 354.83 KB | 1 年前3 Agda User Manual v2.6.3Sized Types Example for coinduction: finite languages References Sort System Introduction to universes Agda’s sort system Sort metavariables and unknown sorts Syntactic Sugar Do-notation Idiom brackets importing modules. Cumulativity Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the -- cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set₁. Agda also does0 码力 | 379 页 | 354.83 KB | 1 年前3
 Agda User Manual v2.6.3modules. 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Dmitriy Traytel, LMCS Vol. 13(3:28)2017, pp. 1–22 (2017). 3.39 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 288 页 | 1.24 MB | 1 年前3 Agda User Manual v2.6.3modules. 3.9 Cumulativity 3.9.1 Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the --cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is 3 Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set1. Agda also does Dmitriy Traytel, LMCS Vol. 13(3:28)2017, pp. 1–22 (2017). 3.39 Sort System Sorts (also known as universes) are types whose members themselves are again types. The fundamental sort in Agda is named Set and0 码力 | 288 页 | 1.24 MB | 1 年前3
 Agda User Manual v2.6.2Sized Types Example for coinduction: finite languages References Sort System Introduction to universes Agda’s sort system Sort metavariables and unknown sorts Syntactic Sugar Do-notation Idiom brackets x y) → C y p Cumulativity Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the -- cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set₁. Agda also does0 码力 | 348 页 | 414.11 KB | 1 年前3 Agda User Manual v2.6.2Sized Types Example for coinduction: finite languages References Sort System Introduction to universes Agda’s sort system Sort metavariables and unknown sorts Syntactic Sugar Do-notation Idiom brackets x y) → C y p Cumulativity Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the -- cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set₁. Agda also does0 码力 | 348 页 | 414.11 KB | 1 年前3
 Agda User Manual v2.6.2.2Sized Types Example for coinduction: finite languages References Sort System Introduction to universes Agda’s sort system Sort metavariables and unknown sorts Syntactic Sugar Do-notation Idiom brackets x y) → C y p Cumulativity Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the -- cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set₁. Agda also does0 码力 | 354 页 | 433.60 KB | 1 年前3 Agda User Manual v2.6.2.2Sized Types Example for coinduction: finite languages References Sort System Introduction to universes Agda’s sort system Sort metavariables and unknown sorts Syntactic Sugar Do-notation Idiom brackets x y) → C y p Cumulativity Basics Since version 2.6.1, Agda supports optional cumulativity of universes under the -- cumulativity flag. {-# OPTIONS --cumulativity #-} When the --cumulativity flag is Limitations Currently cumulativity only enables subtyping between universes, but not between any other types containing universes. For example, List Set is not a subtype of List Set₁. Agda also does0 码力 | 354 页 | 433.60 KB | 1 年前3
共 76 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8














