Step
*
1
1
1
1
1
1
2
of Lemma
es-interface-accum-programmable
1. Info : Type
2. es : EO+(Info)@i'
3. A : Type
4. B : Type
5. X : EClass(A)
6. x : B
7. f : B ⟶ A ⟶ B
8. Y : EClass(B)@i'
9. λB,r. if (#(B 0) =z 1)
        then if (#(r) =z 1) then {f[only(r);only(B 0)]} else {f[x;only(B 0)]} fi 
        else {}
        fi |λi.X,(self)'|
= Y
∈ EClass(B)@i'
10. e : E@i
11. #(X es e) ≠ 1
12. {} = (Y es e) ∈ bag(B)
⊢ {} = {} ∈ bag(B)
BY
{ Auto }
Latex:
Latex:
1.  Info  :  Type
2.  es  :  EO+(Info)@i'
3.  A  :  Type
4.  B  :  Type
5.  X  :  EClass(A)
6.  x  :  B
7.  f  :  B  {}\mrightarrow{}  A  {}\mrightarrow{}  B
8.  Y  :  EClass(B)@i'
9.  \mlambda{}B,r.  if  (\#(B  0)  =\msubz{}  1)
                then  if  (\#(r)  =\msubz{}  1)  then  \{f[only(r);only(B  0)]\}  else  \{f[x;only(B  0)]\}  fi 
                else  \{\}
                fi  |\mlambda{}i.X,(self)'|
=  Y@i'
10.  e  :  E@i
11.  \#(X  es  e)  \mneq{}  1
12.  \{\}  =  (Y  es  e)
\mvdash{}  \{\}  =  \{\}
By
Latex:
Auto
Home
Index