Package unit-def: Definition of the unit type
Information
name | unit-def |
version | 1.10 |
description | Definition of the unit type |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2014-06-12 |
requires | bool |
show | Data.Bool Data.Unit |
Files
- Package tarball unit-def-1.10.tgz
- Theory source file unit-def.thy (included in the package tarball)
Defined Type Operator
- Data
- Unit
- unit
- Unit
Defined Constant
- Data
- Unit
- ()
- Unit
Theorem
⊦ ∀v. v = ()
External Type Operators
- →
- bool
External 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