Step * 2 1 1 1 1 1 of Lemma coW-corec

.....assertion..... 
1. : 𝕌'
2. A ⟶ Type
3. corec(T.a:A × (B[a] ⟶ T)) ∈ 𝕌'
4. corec(C.a:A × (B[a] ⟶ C))
5. : ℤ
6. ¬n < 1
7. 0 < n
8. corec(C.a:A × (B[a] ⟶ C)) ⊆(primrec(n 1;λx.x;λi,g. ((λC,p. (a:A × (b:B[a] ⟶ (C ⋅)))) g)) p.Top) ⋅)
9. A
10. x2 B[a] ⟶ corec(T.a:A × (B[a] ⟶ T))
11. a1 A
⊢ primrec(n 1;λx.x;λi,g. ((λC,p. (a:A × (b:B[a] ⟶ (C ⋅)))) g)) p.Top) ⋅ ∈ 𝕌'
BY
(InstLemma `primrec_wf` [⌜parm{i''}⌝;⌜(Unit ⟶ 𝕌') ⟶ Unit ⟶ 𝕌'⌝;⌜1⌝;⌜λx.x⌝;
   ⌜λi,g. ((λC,p. (a:A × (b:B[a] ⟶ (C ⋅)))) g)⌝]⋅
   THEN Auto
   }


Latex:


Latex:
.....assertion..... 
1.  A  :  \mBbbU{}'
2.  B  :  A  {}\mrightarrow{}  Type
3.  corec(T.a:A  \mtimes{}  (B[a]  {}\mrightarrow{}  T))  \mmember{}  \mBbbU{}'
4.  x  :  corec(C.a:A  \mtimes{}  (B[a]  {}\mrightarrow{}  C))
5.  n  :  \mBbbZ{}
6.  \mneg{}n  <  1
7.  0  <  n
8.  corec(C.a:A  \mtimes{}  (B[a]  {}\mrightarrow{}  C))  \msubseteq{}r  (primrec(n  -  1;\mlambda{}x.x;\mlambda{}i,g.  ((\mlambda{}C,p.  (a:A  \mtimes{}  (b:B[a]  {}\mrightarrow{}  (C  \mcdot{}))))  o  g)) 
                                                                    (\mlambda{}p.Top) 
                                                                    \mcdot{})
9.  a  :  A
10.  x2  :  B[a]  {}\mrightarrow{}  corec(T.a:A  \mtimes{}  (B[a]  {}\mrightarrow{}  T))
11.  a1  :  A
\mvdash{}  primrec(n  -  1;\mlambda{}x.x;\mlambda{}i,g.  ((\mlambda{}C,p.  (a:A  \mtimes{}  (b:B[a]  {}\mrightarrow{}  (C  \mcdot{}))))  o  g))  (\mlambda{}p.Top)  \mcdot{}  \mmember{}  \mBbbU{}'


By


Latex:
(InstLemma  `primrec\_wf`  [\mkleeneopen{}parm\{i''\}\mkleeneclose{};\mkleeneopen{}(Unit  {}\mrightarrow{}  \mBbbU{}')  {}\mrightarrow{}  Unit  {}\mrightarrow{}  \mBbbU{}'\mkleeneclose{};\mkleeneopen{}n  -  1\mkleeneclose{};\mkleeneopen{}\mlambda{}x.x\mkleeneclose{};
  \mkleeneopen{}\mlambda{}i,g.  ((\mlambda{}C,p.  (a:A  \mtimes{}  (b:B[a]  {}\mrightarrow{}  (C  \mcdot{}))))  o  g)\mkleeneclose{}]\mcdot{}
  THEN  Auto
  )




Home Index