Package option-dest-thm: option-dest-thm
Information
name | option-dest-thm |
version | 1.3 |
description | option-dest-thm |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-09-21 |
show | Data.Bool |
Files
- Package tarball option-dest-thm-1.3.tgz
- Theory file option-dest-thm.thy (included in the package tarball)
Theorem
⊦ ∀x. Data.Option.case Data.Option.none Data.Option.some x = x
Input Type Operators
- →
- bool
- Data
- Option
- Data.Option.option
- Option
Input Constants
- =
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ∨
- T
- Option
- Data.Option.case
- Data.Option.none
- Data.Option.some
- Bool
Assumptions
⊦ T
⊦ (∀) = λp. p = λx. T
⊦ ∀x. x = x ⇔ T
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ ∀x. x = Data.Option.none ∨ ∃a. x = Data.Option.some a
⊦ (∧) = λp q. (λf. f p q) = λf. f T T
⊦ (∃) = λP. ∀q. (∀x. P x ⇒ q) ⇒ q
⊦ (∨) = λp q. ∀r. (p ⇒ r) ⇒ (q ⇒ r) ⇒ r
⊦ (∀b f. Data.Option.case b f Data.Option.none = b) ∧
∀b f a. Data.Option.case b f (Data.Option.some a) = f a