Package natural-add-numeral: natural-add-numeral

Information

namenatural-add-numeral
version1.3
descriptionnatural-add-numeral
authorJoe Hurd <joe@gilith.com>
licenseHOLLight
provenanceHOL Light theory extracted on 2011-09-21
showData.Bool

Files

Theorems

n. Number.Natural.bit0 n = Number.Natural.+ n n

n. Number.Natural.bit1 n = Number.Natural.suc (Number.Natural.+ n n)

Input Type Operators

Input Constants

Assumptions

T

t. (x. t) t

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

x. x = x T

n. Number.Natural.bit1 n = Number.Natural.suc (Number.Natural.bit0 n)

() = λp q. p q p

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

Number.Natural.bit0 0 = 0
  n.
    Number.Natural.bit0 (Number.Natural.suc n) =
    Number.Natural.suc (Number.Natural.suc (Number.Natural.bit0 n))

P. P 0 (n. P n P (Number.Natural.suc n)) n. P n

(n. Number.Natural.+ 0 n = n) (m. Number.Natural.+ m 0 = m)
  (m n.
     Number.Natural.+ (Number.Natural.suc m) n =
     Number.Natural.suc (Number.Natural.+ m n))
  m n.
    Number.Natural.+ m (Number.Natural.suc n) =
    Number.Natural.suc (Number.Natural.+ m n)