Package pair-def: Definition of product types

Information

namepair-def
version1.13
descriptionDefinition of product types
authorJoe Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2011-12-18
requiresbool
showData.Bool
Data.Pair

Files

Defined Type Operator

Defined Constants

Theorems

x y. fst (x, y) = x

x y. snd (x, y) = y

p. x y. p = (x, y)

x y a b. (x, y) = (a, b) x = a y = b

Input Type Operators

Input Constants

Assumptions

T

¬F T

¬T F

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

t. (λx. t x) = t

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

t. ¬¬t t

t. (T t) t

t. (t T) t

t. F t F

t. T t t

t. t T t

t. t T T

t. F t t

t. T t T

t. (F t) ¬t

t. t F ¬t

() = λp q. p q p

t. (t T) (t F)

x y. x = y y = x

t1 t2. t1 t2 t2 t1

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

p. ¬(x. p x) x. ¬p x

p. ¬(x. p x) x. ¬p x

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

f g. (x. f x = g x) f = g

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

p q. p (x. q x) x. p q x

p q. (x. p x) q x. p x q

p q. (x. p x) q x. p x q

p q. (x. p x) q x. p x q

t1 t2 t3. (t1 t2) t3 t1 t2 t3

p x. (y. p y y = x) (select) p = x

p. (x. y. p x y) y. x. p x (y x)

p q. (x. p x q x) (x. p x) x. q x