Package unit-thm: Properties of the unit type
Information
name | unit-thm |
version | 1.16 |
description | Properties of the unit type |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2014-11-01 |
checksum | 88c4527cf282b08a176d6b9d9444f91a09053c20 |
requires | bool unit-def |
show | Data.Bool Data.Unit |
Files
- Package tarball unit-thm-1.16.tgz
- Theory source file unit-thm.thy (included in the package tarball)
Theorems
⊦ ∀f g. f = g
⊦ ∀e. ∃fn. fn () = e
⊦ ∀e. ∃!fn. fn () = e
⊦ ∀p. p () ⇒ ∀x. p x
External Type Operators
- →
- bool
- Data
- Unit
- unit
- Unit
External Constants
- =
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ∃!
- ⊤
- Unit
- ()
- Bool
Assumptions
⊦ ⊤
⊦ ∀t. t ⇒ t
⊦ ∀v. v = ()
⊦ ∀t. (∀x. t) ⇔ t
⊦ (∀) = λp. p = λx. ⊤
⊦ ∀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'