Nuprl Lemma : hdf-parallel-transformation1

[L1,L2:Base]. ∀[m1,m2:ℕ+].
  (fix((λmk-hdf.(inl a.simple-cbva-seq(L1[a];λout.<mk-hdf, out>;m1)))))
   || fix((λmk-hdf.(inl a.simple-cbva-seq(L2[a];λout.<mk-hdf, out>;m2))))) 
  fix((λmk-hdf.(inl a.simple-cbva-seq(λn.if n <m1 then L1[a] n
                                             if n <m1 m2 then mk_lambdas(L2[a] (n m1);m1)
                                             else mk_lambdas(λout1.mk_lambdas(λout2.(out1 out2);m2 1);m1 1)
                                             fi out.<mk-hdf, out>;(m1 m2) 1))))))


Proof




Definitions occuring in Statement :  hdf-parallel: || Y nat_plus: + ifthenelse: if then else fi  lt_int: i <j uall: [x:A]. B[x] so_apply: x[s] apply: a fix: fix(F) lambda: λx.A[x] pair: <a, b> inl: inl x subtract: m add: m natural_number: $n base: Base sqequal: t bag-append: as bs simple-cbva-seq: simple-cbva-seq(L;F;m) mk_lambdas: mk_lambdas(F;m)
Definitions unfolded in proof :  uall: [x:A]. B[x] member: t ∈ T ifthenelse: if then else fi  hdf-parallel: || Y hdf-halted: hdf-halted(P) band: p ∧b q 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) btrue: tt 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: supposing a strict4: strict4(F) and: P ∧ Q all: x:A. B[x] implies:  Q has-value: (a)↓ prop: guard: {T} or: P ∨ Q squash: T so_lambda: λ2y.t[x; y] so_apply: x[s1;s2] int_seg: {i..j-} lelt: i ≤ j < k satisfiable_int_formula: satisfiable_int_formula(fmla) exists: x:A. B[x] false: False not: ¬A decidable: Dec(P) subtype_rel: A ⊆B le: A ≤ B less_than': less_than'(a;b) nat: empty-bag: {} nil: [] lt_int: i <j bfalse: ff subtract: m nat_plus: + iff: ⇐⇒ Q rev_implies:  Q uiff: uiff(P;Q) true: True eq_int: (i =z j) ge: i ≥  sq_type: SQType(T) it:

Latex:
\mforall{}[L1,L2:Base].  \mforall{}[m1,m2:\mBbbN{}\msupplus{}].
    (fix((\mlambda{}mk-hdf.(inl  (\mlambda{}a.simple-cbva-seq(L1[a];\mlambda{}out.<mk-hdf,  out>m1)))))
      ||  fix((\mlambda{}mk-hdf.(inl  (\mlambda{}a.simple-cbva-seq(L2[a];\mlambda{}out.<mk-hdf,  out>m2))))) 
    \msim{}  fix((\mlambda{}mk-hdf.(inl  (\mlambda{}a.simple-cbva-seq(\mlambda{}n.if  n  <z  m1  then  L1[a]  n
                                                                                          if  n  <z  m1  +  m2  then  mk\_lambdas(L2[a]  (n  -  m1);m1)
                                                                                          else  mk\_lambdas(\mlambda{}out1.mk\_lambdas(\mlambda{}out2.(out1
                                                                                                                                                                        +  out2);m2 
                                                                                                                                      -  1);m1  -  1)
                                                                                          fi  ;\mlambda{}out.<mk-hdf,  out>(m1  +  m2)  +  1))))))



Date html generated: 2016_05_16-AM-10_46_48
Last ObjectModification: 2016_01_17-AM-11_11_14

Theory : halting!dataflow


Home Index