Package unit: The unit type

Information

nameunit
version1.20
descriptionThe unit type
authorJoe Leslie-Hurd <joe@gilith.com>
licenseMIT
checksum5b2b994769e08238aa28f615334e67c6b1088a83
requiresbool
showData.Bool
Data.Unit

Files

Defined Type Operator

Defined Constant

Theorems

v. v = ()

f g. f = g

e. fn. fn () = e

e. ∃!fn. fn () = e

p. p () x. p x

External Type Operators

External Constants

Assumptions

t. t t

() = λp. p ((select) p)

t. (x. t) t

() = λp. p = λx.

t. (t ) t

t. t t

() = λp q. p q p

x y. x = y y = x

() = λp q. (λf. f p q) = λf. f

() = λp. q. (x. p x q) q

f g. (x. f x = g x) f = g

p. (∃!x. p x) (x. p x) x x'. p x p x' x = x'