Package function-thm: Properties of function operators and combinators
Information
name | function-thm |
version | 1.17 |
description | Properties of function operators and combinators |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-11-27 |
requires | bool function-def |
show | Data.Bool |
Files
- Package tarball function-thm-1.17.tgz
- Theory file function-thm.thy (included in the package tarball)
Theorems
⊦ ∀x. Function.id x = x
⊦ ∀f. Function.∘ Function.id f = f ∧ Function.∘ f Function.id = f
⊦ ∀f g x. Function.∘ f g x = f (g x)
⊦ ∀f g h. Function.∘ f (Function.∘ g h) = Function.∘ (Function.∘ f g) h
⊦ ∀f g. (∀x. ∃y. g y = f x) ⇔ ∃h. f = Function.∘ g h
⊦ ∀f. (∀y. ∃x. f x = y) ⇔ ∀P. (∀x. P (f x)) ⇔ ∀y. P y
⊦ ∀f. (∀y. ∃x. f x = y) ⇔ ∀P. (∃x. P (f x)) ⇔ ∃y. P y
⊦ ∀f g. (∀x y. g x = g y ⇒ f x = f y) ⇔ ∃h. f = Function.∘ h g
Input Type Operators
- →
- bool
Input Constants
- =
- select
- Data
- Bool
- ∀
- ∧
- ⇒
- ∃
- ∨
- ¬
- F
- T
- Bool
- Function
- Function.id
- Function.∘
Assumptions
⊦ T
⊦ Function.id = λx. x
⊦ ¬F ⇔ T
⊦ ¬T ⇔ F
⊦ ∀t. t ⇒ t
⊦ (∃) = λP. P ((select) P)
⊦ ∀t. (∀x. t) ⇔ t
⊦ (∀) = λp. p = λx. T
⊦ ∀t. ¬¬t ⇔ t
⊦ ∀t. (T ⇔ t) ⇔ t
⊦ ∀t. (t ⇔ T) ⇔ t
⊦ ∀t. T ⇒ t ⇔ t
⊦ ∀t. (F ⇔ t) ⇔ ¬t
⊦ ∀t. (t ⇔ F) ⇔ ¬t
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ ∀t. (t ⇔ T) ∨ (t ⇔ F)
⊦ ∀f y. (let x ← y in f x) = f y
⊦ ∀x y. x = y ⇔ y = x
⊦ ∀x y. x = y ⇒ y = x
⊦ ∀f g. Function.∘ f g = λx. f (g x)
⊦ (∧) = λp q. (λf. f p q) = λf. f T T
⊦ ∀P. ¬(∀x. P x) ⇔ ∃x. ¬P x
⊦ ∀P. ¬(∃x. P x) ⇔ ∀x. ¬P x
⊦ (∃) = λP. ∀q. (∀x. P x ⇒ q) ⇒ q
⊦ ∀f g. (∀x. f x = g x) ⇔ f = g
⊦ (∨) = λp q. ∀r. (p ⇒ r) ⇒ (q ⇒ r) ⇒ r
⊦ ∀P. (∀x. ∃y. P x y) ⇔ ∃y. ∀x. P x (y x)