Nuprl Lemma : hdf-compose1-transformation3
∀[f,L,S,G,init:Top]. ∀[m:ℕ].
  (f o (fix((λmk-hdf,s. (inl (λa.cbva_seq(L[s;a]; λg.<mk-hdf S[s;a;g], G[s;a;g]> m))))) init) 
  ~ fix((λmk-hdf,s. (inl (λa.cbva_seq(λn.if (n =z m) then mk_lambdas_fun(λg.bag-map(f;G[s;a;g]);m) else L[s;a] n fi
                                      λg.<mk-hdf S[s;a;partial_ap(g;m + 1;m)], select_fun_ap(g;m + 1;m)> m + 1))))) 
    init)
Proof
Definitions occuring in Statement : 
hdf-compose1: f o X, 
nat: ℕ, 
ifthenelse: if b then t else f fi , 
eq_int: (i =z j), 
uall: ∀[x:A]. B[x], 
top: Top, 
so_apply: x[s1;s2;s3], 
so_apply: x[s1;s2], 
apply: f a, 
fix: fix(F), 
lambda: λx.A[x], 
pair: <a, b>, 
inl: inl x, 
add: n + m, 
natural_number: $n, 
sqequal: s ~ t, 
bag-map: bag-map(f;bs), 
select_fun_ap: select_fun_ap(g;n;m), 
partial_ap: partial_ap(g;n;m), 
mk_lambdas_fun: mk_lambdas_fun(F;m), 
cbva_seq: cbva_seq(L; F; m)
Definitions unfolded in proof : 
uall: ∀[x:A]. B[x], 
member: t ∈ T, 
so_apply: x[s1;s2;s3], 
so_apply: x[s1;s2], 
eq_int: (i =z j), 
ifthenelse: if b then t else f fi , 
hdf-compose1: f o X, 
bfalse: ff, 
btrue: tt, 
hdf-halted: hdf-halted(P), 
hdf-ap: X(a), 
mk-hdf: mk-hdf(s,m.G[s; m];st.H[st];s0), 
hdf-run: hdf-run(P), 
hdf-halt: hdf-halt(), 
isr: isr(x), 
so_lambda: so_lambda(x,y,z,w.t[x; y; z; w]), 
so_apply: x[s1;s2;s3;s4], 
so_lambda: λ2x.t[x], 
top: Top, 
so_apply: x[s], 
uimplies: b supposing a, 
strict4: strict4(F), 
and: P ∧ Q, 
all: ∀x:A. B[x], 
implies: P ⇒ Q, 
has-value: (a)↓, 
prop: ℙ, 
guard: {T}, 
or: P ∨ Q, 
squash: ↓T, 
so_lambda: λ2x y.t[x; y], 
nat: ℕ, 
false: False, 
ge: i ≥ j , 
satisfiable_int_formula: satisfiable_int_formula(fmla), 
exists: ∃x:A. B[x], 
not: ¬A, 
decidable: Dec(P), 
nat_plus: ℕ+, 
bag-map: bag-map(f;bs), 
subtype_rel: A ⊆r B
Latex:
\mforall{}[f,L,S,G,init:Top].  \mforall{}[m:\mBbbN{}].
    (f  o  (fix((\mlambda{}mk-hdf,s.  (inl  (\mlambda{}a.cbva\_seq(L[s;a];  \mlambda{}g.<mk-hdf  S[s;a;g],  G[s;a;g]>  m)))))  init) 
    \msim{}  fix((\mlambda{}mk-hdf,s.  (inl  (\mlambda{}a.cbva\_seq(\mlambda{}n.if  (n  =\msubz{}  m)
                                                                                  then  mk\_lambdas\_fun(\mlambda{}g.bag-map(f;G[s;a;g]);m)
                                                                                  else  L[s;a]  n
                                                                                  fi  ;  \mlambda{}g.<mk-hdf  S[s;a;partial\_ap(g;m  +  1;m)]
                                                                                                  ,  select\_fun\_ap(g;m  +  1;m)
                                                                                                  >  m  +  1))))) 
        init)
Date html generated:
2016_05_16-AM-10_46_08
Last ObjectModification:
2016_01_17-AM-11_10_23
Theory : halting!dataflow
Home
Index