Package unit-thm: Properties of the unit type
Information
name | unit-thm |
version | 1.10 |
description | Properties of the unit type |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2012-02-03 |
requires | bool unit-def |
show | Data.Bool Data.Unit |
Files
- Package tarball unit-thm-1.10.tgz
- Theory 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
Input Type Operators
- →
- bool
- Data
- Unit
- unit
- Unit
Input 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'