Package list-reverse-def: Definition of the list reverse function
Information
name | list-reverse-def |
version | 1.48 |
description | Definition of the list reverse function |
author | Joe Leslie-Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2014-11-04 |
checksum | cbf546f9f0f42720e5922d29cf5f36f6f2dc5492 |
requires | bool list-append list-def |
show | Data.Bool Data.List |
Files
- Package tarball list-reverse-def-1.48.tgz
- Theory source 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 :: []
External Type Operators
- →
- bool
- Data
- List
- list
- List
External 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 ⊤ ⊤
⊦ ∀b f. ∃fn. fn [] = b ∧ ∀h t. fn (h :: t) = f h t (fn t)