Package unit-def: Definition of the unit type
Information
name | unit-def |
version | 1.13 |
description | Definition of the unit type |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2014-11-01 |
checksum | 5f6feb4c479325bbb29dd41bcf726dc252ee0910 |
requires | bool |
show | Data.Bool Data.Unit |
Files
- Package tarball unit-def-1.13.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