Package list-reverse-def: Definition of the list reverse function
Information
name | list-reverse-def |
version | 1.30 |
description | Definition of the list reverse function |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2012-04-05 |
requires | bool list-def |
show | Data.Bool Data.List |
Files
- Package tarball list-reverse-def-1.30.tgz
- Theory file list-reverse-def.thy (included in the package tarball)
Defined Constant
- Data
- List
- reverse
- List
Theorems
⊦ reverse [] = []
⊦ ∀h t. reverse (h :: t) = reverse t @ h :: []
Input Type Operators
- →
- bool
- Data
- List
- list
- List
Input Constants
- =
- select
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ⊤
- List
- ::
- @
- []
- Bool
Assumptions
⊦ ⊤
⊦ (∃) = λp. p ((select) p)
⊦ (∀) = λp. p = λx. ⊤
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ (∧) = λp q. (λf. f p q) = λf. f ⊤ ⊤
⊦ ∀p. (∀x. ∃y. p x y) ⇔ ∃y. ∀x. p x (y x)
⊦ ∀b f. ∃fn. fn [] = b ∧ ∀h t. fn (h :: t) = f h t (fn t)