{ [B:Type]. [n:]. [m:n + 1]. [q:m + 1]. [A:n  Type].
  [lst:k:{q..n}  (A k)].
  [f:k:{q..n}  (A k)  funtype(n - m;x.(A (x + m));B)].
    ((uncurry-gen(n) m f lst) = (apply_gen(n;lst) m (f lst))) }

{ Proof }



Definitions occuring in Statement :  apply_gen: apply_gen(n;lst) uncurry-gen: uncurry-gen(n) int_seg: {i..j} nat: uall: [x:A]. B[x] apply: f a lambda: x.A[x] function: x:A  B[x] subtract: n - m add: n + m natural_number: $n universe: Type equal: s = t funtype: funtype(n;A;T)
Definitions :  exists: x:A. B[x] nat: equal: s = t int: subtract: n - m D: Error :D,  CollapseTHEN: Error :CollapseTHEN,  CollapseTHENA: Error :CollapseTHENA,  Auto: Error :Auto,  function: x:A  B[x] isect: x:A. B[x] int_seg: {i..j} apply: f a member: t  T uall: [x:A]. B[x] universe: Type funtype: funtype(n;A;T) uncurry-gen: uncurry-gen(n) apply_gen: apply_gen(n;lst) axiom: Ax all: x:A. B[x] subtype: S  T rationals: real: set: {x:A| B[x]}  grp_car: |g| natural_number: $n add: n + m lelt: i  j < k and: P  Q product: x:A  B[x] less_than: a < b le: A  B not: A implies: P  Q false: False prop: void: Void minus: -n subtype_rel: A r B uiff: uiff(P;Q) uimplies: b supposing a ge: i  j  strong-subtype: strong-subtype(A;B) lambda: x.A[x] limited-type: LimitedType sq_type: SQType(T) guard: {T} ycomb: Y sqequal: s ~ t top: Top ifthenelse: if b then t else f fi  eq_int: (i = j) btrue: tt MaAuto: Error :MaAuto,  Unfold: Error :Unfold,  bool: primrec: primrec(n;b;c) fpf: a:A fp-B[a] eclass: EClass(A[eo; e]) bfalse: ff Try: Error :Try,  Complete: Error :Complete,  pair: <a, b> append: as @ bs qabs: |r| nil: [] filter: filter(P;l) bnot: b assert: b iff: P  Q bor: p q band: p  q bimplies: p  q es-ble: e loc e' es-bless: e <loc e' es-eq-E: e = e' eq_lnk: a = b eq_id: a = b name_eq: name_eq(x;y) deq-all-disjoint: deq-all-disjoint(eq;ass;bs) deq-disjoint: deq-disjoint(eq;as;bs) deq-member: deq-member(eq;x;L) q_le: q_le(r;s) q_less: q_less(r;s) qeq: qeq(r;s) eq_atom: eq_atom$n(x;y) eq_type: eq_type(T;T') b-exists: (i<n.P[i])_b bl-exists: (xL.P[x])_b bl-all: (xL.P[x])_b dcdr-to-bool: [d] infix_ap: x f y grp_blt: a < b set_blt: a < b null: null(as) eq_atom: x =a y rev_implies: P  Q squash: T true: True
Lemmas :  squash_wf true_wf primrec_wf rev_implies_wf iff_wf assert_of_eq_int iff_weakening_uiff iff_functionality_wrt_iff assert_wf iff_imp_equal_bool bfalse_wf subtype_rel_wf eq_int_eq_true bool_wf bool_subtype_base eq_int_wf ycomb-unroll nat_ind_tp int_subtype_base subtype_base_sq int_seg_properties funtype_wf int_seg_wf nat_wf member_wf false_wf le_wf not_wf nat_properties ge_wf

\mforall{}[B:Type].  \mforall{}[n:\mBbbN{}].  \mforall{}[m:\mBbbN{}n  +  1].  \mforall{}[q:\mBbbN{}m  +  1].  \mforall{}[A:\mBbbN{}n  {}\mrightarrow{}  Type].  \mforall{}[lst:k:\{q..n\msupminus{}\}  {}\mrightarrow{}  (A  k)].
\mforall{}[f:k:\{q..n\msupminus{}\}  {}\mrightarrow{}  (A  k)  {}\mrightarrow{}  funtype(n  -  m;\mlambda{}x.(A  (x  +  m));B)].
    ((uncurry-gen(n)  m  f  lst)  =  (apply\_gen(n;lst)  m  (f  lst)))


Date html generated: 2011_08_17-PM-06_03_38
Last ObjectModification: 2011_05_31-PM-04_58_23

Home Index