name | option-dest-thm |
version | 1.2 |
description | option-dest-thm |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-08-15 |
show | Data.Bool |
⊦ ∀x. Data.Option.case.none.some Data.Option.none Data.Option.some x = x
⊦ 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.none.some b f Data.Option.none = b) ∧
∀b f a. Data.Option.case.none.some b f (Data.Option.some a) = f a