lean2/library/data/data.md

1 KiB

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
  • fin : finite ordinals
  • int : the integers
  • rat : the rationals
  • pnat : the positive natural numbers
  • real : the real numbers
  • complex : the complex numbers

Constructors:

Types with extra information: