Package unit-thm: Properties of the unit type
Information
name | unit-thm |
version | 1.7 |
description | Properties of the unit type |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-11-12 |
requires | bool unit-def |
show | Data.Bool Data.Unit |
Files
- Package tarball unit-thm-1.7.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
- ∀
- ∧
- ⇒
- ∃
- ∃!
- T
- Unit
- ()
- Bool
Assumptions
⊦ T
⊦ ∀t. t ⇒ t
⊦ ∀v. v = ()
⊦ ∀t. (∀x. t) ⇔ t
⊦ (∀) = λp. p = λx. T
⊦ ∀t. T ∧ t ⇔ t
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ ∀x y. x = y ⇔ y = x
⊦ (∧) = λp q. (λf. f p q) = λf. f T T
⊦ (∃) = λ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'