Package natural-dest: Natural number destructors
Information
name | natural-dest |
version | 1.18 |
description | Natural number destructors |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | MIT |
checksum | b2e09315a88f198b20aa98e636c5828d3aeec233 |
requires | bool natural-thm |
show | Data.Bool Number.Natural |
Files
- Package tarball natural-dest-1.18.tgz
- Theory source file natural-dest.thy (included in the package tarball)
Defined Constant
- Number
- Natural
- pre
- Natural
Theorem
⊦ ∀n. pre (suc n) = n
External Type Operators
- →
- bool
- Number
- Natural
- natural
- Natural
External Constants
- =
- select
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ∃!
- ⊤
- Bool
- Number
- Natural
- suc
- zero
- Natural
Assumptions
⊦ ⊤
⊦ (∃) = λp. p ((select) p)
⊦ (∀) = λp. p = λx. ⊤
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ (∧) = λp q. (λf. f p q) = λf. f ⊤ ⊤
⊦ (∃!) = λp. (∃) p ∧ ∀x y. p x ∧ p y ⇒ x = y
⊦ ∀e f. ∃!fn. fn 0 = e ∧ ∀n. fn (suc n) = f (fn n) n