name | list-dest-thm |
version | 1.0 |
description | list-dest-thm |
author | Joe Hurd <joe@gilith.com> |
license | HOLLight |
provenance | HOL Light theory extracted on 2011-02-19 |
show | Data.Bool |
⊦ ∀l. Data.List.null l ⇔ l = Data.List.[]
⊦ T
⊦ F ⇔ ∀p. p
⊦ (¬) = λp. p ⇒ F
⊦ (∀) = λP. P = λx. T
⊦ ∀x. x = x ⇔ T
⊦ (⇒) = λp q. p ∧ q ⇔ p
⊦ ∀h t. ¬(Data.List.:: h t = Data.List.[])
⊦ (¬T ⇔ F) ∧ (¬F ⇔ T)
⊦ (∧) = λp q. (λf. f p q) = λf. f T T
⊦ (Data.List.null Data.List.[] ⇔ T) ∧
∀h t. Data.List.null (Data.List.:: h t) ⇔ F
⊦ ∀P. P Data.List.[] ∧ (∀a0 a1. P a1 ⇒ P (Data.List.:: a0 a1)) ⇒ ∀x. P x
⊦ ∀t. ((T ⇔ t) ⇔ t) ∧ ((t ⇔ T) ⇔ t) ∧ ((F ⇔ t) ⇔ ¬t) ∧ ((t ⇔ F) ⇔ ¬t)