Package unit-def: Definition of the unit type
Information
name | unit-def |
version | 1.8 |
description | Definition of the unit type |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-12-18 |
requires | bool |
show | Data.Bool Data.Unit |
Files
- Package tarball unit-def-1.8.tgz
- Theory file unit-def.thy (included in the package tarball)
Defined Type Operator
- Data
- Unit
- unit
- Unit
Defined Constant
- Data
- Unit
- ()
- Unit
Theorem
⊦ ∀v. v = ()
Input Type Operators
- →
- bool
Input Constants
- =
- select
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ⊤
- Bool
Assumptions
⊦ ⊤
⊦ (∃) = λp. p ((select) p)
⊦ ∀t. (∀x. t) ⇔ t
⊦ (∀) = λp. p = λx. ⊤
⊦ ∀t. (t ⇔ ⊤) ⇔ t
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ (∧) = λp q. (λf. f p q) = λf. f ⊤ ⊤
⊦ (∃) = λp. ∀q. (∀x. p x ⇒ q) ⇒ q