Step
*
1
1
1
2
1
of Lemma
list-ext
1. ∀[T:Type]. colist(T) ≡ Unit ⋃ (T × colist(T))
2. A : Type
3. (Unit ⋃ (A × colist(A))) ⊆r colist(A)
4. colist(A) ⊆r (Unit ⋃ (A × colist(A)))
5. a2 : A
6. a3 : colist(A)
7. (colength(<a2, a3>))↓
⊢ a3 ∈ {L:colist(A)| (colength(L))↓} 
BY
{ (RecUnfold `colength` (-1) THEN Reduce (-1)) }
1
1. ∀[T:Type]. colist(T) ≡ Unit ⋃ (T × colist(T))
2. A : Type
3. (Unit ⋃ (A × colist(A))) ⊆r colist(A)
4. colist(A) ⊆r (Unit ⋃ (A × colist(A)))
5. a2 : A
6. a3 : colist(A)
7. (1 + colength(a3))↓
⊢ a3 ∈ {L:colist(A)| (colength(L))↓} 
Latex:
Latex:
1.  \mforall{}[T:Type].  colist(T)  \mequiv{}  Unit  \mcup{}  (T  \mtimes{}  colist(T))
2.  A  :  Type
3.  (Unit  \mcup{}  (A  \mtimes{}  colist(A)))  \msubseteq{}r  colist(A)
4.  colist(A)  \msubseteq{}r  (Unit  \mcup{}  (A  \mtimes{}  colist(A)))
5.  a2  :  A
6.  a3  :  colist(A)
7.  (colength(<a2,  a3>))\mdownarrow{}
\mvdash{}  a3  \mmember{}  \{L:colist(A)|  (colength(L))\mdownarrow{}\} 
By
Latex:
(RecUnfold  `colength`  (-1)  THEN  Reduce  (-1))
Home
Index