Step
*
2
1
1
2
of Lemma
State-loc-comb-classrel-non-loc
1. Info : Type
2. B : Type
3. A : Type
4. f : Id ─→ A ─→ B ─→ B
5. init : Id ─→ bag(B)
6. X : EClass(A)@i'
7. es : EO+(Info)@i'
8. e : E@i
9. ∀e':E. ((e' < e) 
⇒ (∀v:B. (v ∈ State-loc-comb(init;f;X)(e') 
⇐⇒ v ∈ State-comb(init;f loc(e');X)(e'))))
10. v : B@i
11. (X es e) = {} ∈ bag(A)
12. e' : E
13. es-p-local-pred(es;λe'.(↓∃w:B
                              w ∈ λx,s. if bag-null(x) then s else lifting-2(f loc(e)) x s fi |X,Prior(self)?init|(e')))\000C 
    e 
    e'
14. v ∈ λx,s. if bag-null(x) then s else lifting-2(f loc(e)) x s fi |X,Prior(self)?init|(e')
15. es-p-local-pred(es;λe'.(↓∃w:B
                              w ∈ λl,x,s. if bag-null(x) then s else lifting-loc-2(f) l x s fi |Loc, X, Prior(self)?init\000C|(
                                  e'))) 
    e 
    e'
⊢ v ∈ λl,x,s. if bag-null(x) then s else lifting-loc-2(f) l x s fi |Loc, X, Prior(self)?init|(e')
BY
{ (RepUR ``es-p-local-pred`` (-3)
   THEN RepD
   THEN (InstHyp [⌈e'⌉;⌈v⌉] (-9)⋅ THENA Auto)
   THEN RepUR ``State-loc-comb State-comb`` (-1)
   THEN (RepeatFor 2 (D (-1)) THENA (Subst ⌈loc(e') = loc(e) ∈ Id⌉ 0⋅ THEN MaAuto))
   THEN Auto) }
Latex:
Latex:
1.  Info  :  Type
2.  B  :  Type
3.  A  :  Type
4.  f  :  Id  {}\mrightarrow{}  A  {}\mrightarrow{}  B  {}\mrightarrow{}  B
5.  init  :  Id  {}\mrightarrow{}  bag(B)
6.  X  :  EClass(A)@i'
7.  es  :  EO+(Info)@i'
8.  e  :  E@i
9.  \mforall{}e':E
          ((e'  <  e)
          {}\mRightarrow{}  (\mforall{}v:B.  (v  \mmember{}  State-loc-comb(init;f;X)(e')  \mLeftarrow{}{}\mRightarrow{}  v  \mmember{}  State-comb(init;f  loc(e');X)(e'))))
10.  v  :  B@i
11.  (X  es  e)  =  \{\}
12.  e'  :  E
13.  es-p-local-pred(es;\mlambda{}e'.(\mdownarrow{}\mexists{}w:B
                                                            w  \mmember{}  \mlambda{}x,s.  if  bag-null(x)
                                                                              then  s
                                                                              else  lifting-2(f  loc(e))  x  s
                                                                              fi  |X,Prior(self)?init|(e'))) 
        e 
        e'
14.  v  \mmember{}  \mlambda{}x,s.  if  bag-null(x)  then  s  else  lifting-2(f  loc(e))  x  s  fi  |X,Prior(self)?init|(e')
15.  es-p-local-pred(es;\mlambda{}e'.(\mdownarrow{}\mexists{}w:B
                                                            w  \mmember{}
                                                              \mlambda{}l,x,s.  if  bag-null(x)
                                                                            then  s
                                                                            else  lifting-loc-2(f)  l  x  s
                                                                            fi  |Loc,  X,  Prior(self)?init|(e'))) 
        e 
        e'
\mvdash{}  v  \mmember{}  \mlambda{}l,x,s.  if  bag-null(x)  then  s  else  lifting-loc-2(f)  l  x  s  fi  |Loc,  X,  Prior(self)?init|(e')
By
Latex:
(RepUR  ``es-p-local-pred``  (-3)
  THEN  RepD
  THEN  (InstHyp  [\mkleeneopen{}e'\mkleeneclose{};\mkleeneopen{}v\mkleeneclose{}]  (-9)\mcdot{}  THENA  Auto)
  THEN  RepUR  ``State-loc-comb  State-comb``  (-1)
  THEN  (RepeatFor  2  (D  (-1))  THENA  (Subst  \mkleeneopen{}loc(e')  =  loc(e)\mkleeneclose{}  0\mcdot{}  THEN  MaAuto))
  THEN  Auto)
Home
Index