Package set-size-def: Definition of finite set cardinality
Information
name | set-size-def |
version | 1.15 |
description | Definition of finite set cardinality |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-11-27 |
requires | bool |
show | Data.Bool Number.Natural Set |
Files
- Package tarball set-size-def-1.15.tgz
- Theory 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
Input Type Operators
- →
- bool
- Number
- Natural
- natural
- Natural
- Set
- set
Input Constants
- =
- Data
- Bool
- ∀
- ∧
- T
- Bool
- Number
- Natural
- suc
- zero
- Natural
- Set
- finite
- fold
Assumptions
⊦ T
⊦ (∀) = λp. p = λx. T