Step * 1 1 1 1 1 1 1 of Lemma es-interface-accum-programmable


1. Info Type
2. es EO+(Info)@i'
3. Type
4. Type
5. EClass(A)
6. B
7. B ⟶ A ⟶ B
8. 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@i
11. if (#(X es e) =z 1)
then if (#(Prior(λ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)'|) 
           es 
           e) =z 1)
     then {f[only(Prior(λ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)'|) 
                  es 
                  e);only(X es e)]}
     else {f[x;only(X es e)]}
     fi 
else {}
fi 
(Y es e)
∈ bag(B)
12. #(X es e) 1 ∈ ℤ
⊢ if (#(Prior(Y) es e) =z 1) then {f[only(Prior(Y) es e);only(X es e)]} else {f[x;only(X es e)]} fi 
if (#(Prior(λ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)'|) 
        es 
        e) =z 1)
  then {f[only(Prior(λ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)'|) 
               es 
               e);only(X es e)]}
  else {f[x;only(X es e)]}
  fi 
∈ bag(B)
BY
HypSubst }

1
1. Info Type
2. es EO+(Info)@i'
3. Type
4. Type
5. EClass(A)
6. B
7. B ⟶ A ⟶ B
8. 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@i
11. if (#(X es e) =z 1)
then if (#(Prior(λ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)'|) 
           es 
           e) =z 1)
     then {f[only(Prior(λ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)'|) 
                  es 
                  e);only(X es e)]}
     else {f[x;only(X es e)]}
     fi 
else {}
fi 
(Y es e)
∈ bag(B)
12. #(X es e) 1 ∈ ℤ
⊢ if (#(Prior(Y) es e) =z 1) then {f[only(Prior(Y) es e);only(X es e)]} else {f[x;only(X es e)]} fi 
if (#(Prior(Y) es e) =z 1) then {f[only(Prior(Y) es e);only(X es e)]} else {f[x;only(X es e)]} fi 
∈ bag(B)

2
.....wf..... 
1. Info Type
2. es EO+(Info)@i'
3. Type
4. Type
5. EClass(A)
6. B
7. B ⟶ A ⟶ B
8. 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@i
11. if (#(X es e) =z 1)
then if (#(Prior(λ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)'|) 
           es 
           e) =z 1)
     then {f[only(Prior(λ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)'|) 
                  es 
                  e);only(X es e)]}
     else {f[x;only(X es e)]}
     fi 
else {}
fi 
(Y es e)
∈ bag(B)
12. #(X es e) 1 ∈ ℤ
13. EClass(B)
⊢ if (#(Prior(Y) es e) =z 1) then {f[only(Prior(Y) es e);only(X es e)]} else {f[x;only(X es e)]} fi 
  if (#(Prior(z) es e) =z 1) then {f[only(Prior(z) es e);only(X es e)]} else {f[x;only(X es e)]} fi 
  ∈ bag(B) ∈ ℙ


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.  if  (\#(X  es  e)  =\msubz{}  1)
then  if  (\#(Prior(\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)'|) 
                      es 
                      e)  =\msubz{}  1)
          then  \{f[only(Prior(\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)'|) 
                                    es 
                                    e);only(X  es  e)]\}
          else  \{f[x;only(X  es  e)]\}
          fi 
else  \{\}
fi 
=  (Y  es  e)
12.  \#(X  es  e)  =  1
\mvdash{}  if  (\#(Prior(Y)  es  e)  =\msubz{}  1)  then  \{f[only(Prior(Y)  es  e);only(X  es  e)]\}  else  \{f[x;only(X  es  e)]\}  fi 
=  if  (\#(Prior(\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)'|) 
                es 
                e)  =\msubz{}  1)
    then  \{f[only(Prior(\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)'|) 
                              es 
                              e);only(X  es  e)]\}
    else  \{f[x;only(X  es  e)]\}
    fi 


By


Latex:
HypSubst  9  0




Home Index