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

Information

nameoption-dest-def
version1.27
descriptionDefinition of option type destructors
authorJoe Hurd <joe@gilith.com>
licenseMIT
provenanceHOL Light theory extracted on 2011-11-27
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

Input Type Operators

Input Constants

Assumptions

T

() = λP. P ((select) P)

() = λp. p = λx. T

t. (t T) t

t. (t F) ¬t

() = λp q. p q p

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

() = λP. q. (x. P x q) q

NONE' SOME'. fn. fn none = NONE' a. fn (some a) = SOME' a