Package set-size-def: Definition of finite set cardinality
Information
| name | set-size-def |
| version | 1.33 |
| description | Definition of finite set cardinality |
| author | Joe Leslie-Hurd <joe@gilith.com> |
| license | HOLLight |
| provenance | HOL Light theory extracted on 2014-10-30 |
| checksum | 2db12e8f076e243552f308ccdb3fe545d2d876c6 |
| requires | bool natural set-fold |
| show | Data.Bool Number.Natural Set |
Files
- Package tarball set-size-def-1.33.tgz
- Theory source file set-size-def.thy (included in the package tarball)
Defined Constants
- Set
- hasSize
- size
Theorems
⊦ size = fold (λx n. suc n) 0
⊦ ∀s n. hasSize s n ⇔ finite s ∧ size s = n
External Type Operators
- →
- bool
- Number
- Natural
- natural
- Natural
- Set
- set
External Constants
- =
- Data
- Bool
- ∀
- ∧
- ⊤
- Bool
- Number
- Natural
- suc
- zero
- Natural
- Set
- finite
- fold
Assumptions
⊦ ⊤
⊦ (∀) = λp. p = λx. ⊤