Step
*
1
1
1
2
1
1
of Lemma
loop-class2-program_wf
.....equality..... 
1. Info : Type
2. B : Type
3. valueall-type(B)
4. X : EClass(B ⟶ B)
5. init : Id ⟶ bag(B)
6. F : Id ⟶ hdataflow(Info;B ⟶ B)
7. ∀es:EO+(Info). ∀e:E.  (X(e) = (snd(F loc(e)*(map(λx.info(x);before(e)))(info(e)))) ∈ bag(B ⟶ B))
8. es : EO+(Info)@i'
9. loop-class2(X;init) ∈ EClass(B)
10. e : E@i
11. ∀e1:E
      ((e1 < e)
      
⇒ (simple-hdf-buffer2(F loc(e1);init loc(e1))*(map(λx.info(x);before(e1)))
         = simple-hdf-buffer2(F loc(e1)*(map(λx.info(x);before(e1)));Prior(loop-class2(X;init))?init(e1))
         ∈ hdataflow(Info;B)))
12. ¬↑first(e)
13. simple-hdf-buffer2(F loc(e);init loc(e))*(map(λx.info(x);before(pred(e))))
= simple-hdf-buffer2(F loc(e)*(map(λx.info(x);before(pred(e))));Prior(loop-class2(X;init))?init(pred(e)))
∈ hdataflow(Info;B)
14. v : bag(B)@i
15. Prior(loop-class2(X;init))?init(pred(e)) = v ∈ bag(B)@i
16. y : 0 = 0 ∈ ℤ
17. 0 < #(loop-class2(X;init)(pred(e)))
18. F loc(pred(e))*(map(λx.info(x);before(pred(e)))) = hdf-halt() ∈ hdataflow(Info;B ⟶ B)@i
⊢ loop-class2(X;init)(pred(e)) = {} ∈ bag(B)
BY
{ (RecUnfold `loop-class2` 0
   THEN RepUR ``eclass3 class-ap`` 0
   THEN Fold `class-ap` 0
   THEN (RWO "7" 0 THEN Auto)
   THEN HypSubst' (-1) 0
   THEN Auto) }
Latex:
Latex:
.....equality..... 
1.  Info  :  Type
2.  B  :  Type
3.  valueall-type(B)
4.  X  :  EClass(B  {}\mrightarrow{}  B)
5.  init  :  Id  {}\mrightarrow{}  bag(B)
6.  F  :  Id  {}\mrightarrow{}  hdataflow(Info;B  {}\mrightarrow{}  B)
7.  \mforall{}es:EO+(Info).  \mforall{}e:E.    (X(e)  =  (snd(F  loc(e)*(map(\mlambda{}x.info(x);before(e)))(info(e)))))
8.  es  :  EO+(Info)@i'
9.  loop-class2(X;init)  \mmember{}  EClass(B)
10.  e  :  E@i
11.  \mforall{}e1:E
            ((e1  <  e)
            {}\mRightarrow{}  (simple-hdf-buffer2(F  loc(e1);init  loc(e1))*(map(\mlambda{}x.info(x);before(e1)))
                  =  simple-hdf-buffer2(F 
                                                            loc(e1)*(map(\mlambda{}x.info(x);
                                                                                      before(e1)));Prior(loop-class2(X;init))?init(e1))))
12.  \mneg{}\muparrow{}first(e)
13.  simple-hdf-buffer2(F  loc(e);init  loc(e))*(map(\mlambda{}x.info(x);before(pred(e))))
=  simple-hdf-buffer2(F 
                                          loc(e)*(map(\mlambda{}x.info(x);
                                                                  before(pred(e))));Prior(loop-class2(X;init))?init(pred(e)))
14.  v  :  bag(B)@i
15.  Prior(loop-class2(X;init))?init(pred(e))  =  v@i
16.  y  :  0  =  0
17.  0  <  \#(loop-class2(X;init)(pred(e)))
18.  F  loc(pred(e))*(map(\mlambda{}x.info(x);before(pred(e))))  =  hdf-halt()@i
\mvdash{}  loop-class2(X;init)(pred(e))  =  \{\}
By
Latex:
(RecUnfold  `loop-class2`  0
  THEN  RepUR  ``eclass3  class-ap``  0
  THEN  Fold  `class-ap`  0
  THEN  (RWO  "7"  0  THEN  Auto)
  THEN  HypSubst'  (-1)  0
  THEN  Auto)
Home
Index