Package option-dest-def: Definition of option type destructors

Information

nameoption-dest-def
version1.61
descriptionDefinition of option type destructors
authorJoe Leslie-Hurd <joe@gilith.com>
licenseMIT
provenanceHOL Light theory extracted on 2014-11-17
checksume188551ac0339cac419cb13ebfc102dc6b876402
requiresbool
option-def
showData.Bool
Data.Option

Files

Defined Constants

Theorems

isNone none

¬isSome none

a. isSome (some a)

a. ¬isNone (some a)

b f. case b f none = b

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

External Type Operators

External Constants

Assumptions

() = λp. p ((select) p)

() = λp. p = λx.

t. (t ) t

t. (t ) ¬t

() = λp q. p q p

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

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

b f. fn. fn none = b a. fn (some a) = f a