This website requires JavaScript.
Explore
Help
Sign in
michael
/
lean2
Watch
1
Star
0
Fork
You've already forked lean2
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
be5d034b6e
lean2
/
library
/
standard
/
data
/
data.md
Jeremy Avigad
2d69303344
feat(library/standard): add sigma types and subtypes, make inhabited constructive
2014-08-15 12:58:58 -07:00
534 B
Raw
Blame
History
data
Various data types.
Basic types:
empty
: the empty type
unit
: the singleton type
bool
: the boolean values
num
: generic numerals
string
: ascii strings
nat
: the natural numbers
int
: the integers
Constructors:
prod
: cartesian product
sum
sigma
: the dependent product
option
subtype
list
set