Package option-dest-thm: Properties of option type destructors

Information

nameoption-dest-thm
version1.15
descriptionProperties of option type destructors
authorJoe Leslie-Hurd <joe@gilith.com>
licenseMIT
provenanceHOL Light theory extracted on 2014-11-01
checksum98c003e0912920e764ac03c4277131792b1e78e4
requiresbool
option-dest-def
option-thm
showData.Bool
Data.Option

Files

Theorem

x. case none some x = x

External Type Operators

External Constants

Assumptions

() = λp. p = λx.

() = λp q. p q p

b f. case b f none = b

x. x = none a. x = some a

() = λp q. (λf. f p q) = λf. f

() = λp. q. (x. p x q) q

b f a. case b f (some a) = f a

() = λp q. r. (p r) (q r) r