{ [B:Type]. [n:]. [m:n + 1]. [A:n  Type].
  [g:k:n  (A k)  funtype(n - m;x.(A (x + m));B)].
    (uncurry-gen(n) m g  k:n  (A k)  B) }

{ Proof }



Definitions occuring in Statement :  uncurry-gen: uncurry-gen(n) int_seg: {i..j} nat: uall: [x:A]. B[x] member: t  T apply: f a lambda: x.A[x] function: x:A  B[x] subtract: n - m add: n + m natural_number: $n universe: Type funtype: funtype(n;A;T)
Definitions :  exists: x:A. B[x] nat: equal: s = t int: subtract: n - m sqequal: s ~ t universe: Type prop: int_seg: {i..j} apply: f a function: x:A  B[x] member: t  T so_lambda: x.t[x] uall: [x:A]. B[x] isect: x:A. B[x] funtype: funtype(n;A;T) natural_number: $n uncurry-gen: uncurry-gen(n) axiom: Ax all: x:A. B[x] subtype: S  T grp_car: |g| real: set: {x:A| B[x]}  rationals: le: A  B not: A false: False implies: P  Q void: Void less_than: a < b add: n + m minus: -n lelt: i  j < k and: P  Q subtype_rel: A r B uiff: uiff(P;Q) product: x:A  B[x] 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} iff: P  Q rev_implies: P  Q label: ...$L... t bool: eq_int: (i = j) btrue: tt fpf: a:A fp-B[a] eclass: EClass(A[eo; e]) ycomb: Y top: Top bfalse: ff pair: <a, b> append: as @ bs qabs: |r| nil: [] filter: filter(P;l) bnot: b assert: b 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 primrec: primrec(n;b;c) l_member: (x  l) or: P  Q union: left + right so_apply: x[s] sq_stable: SqStable(P) unit: Unit ifthenelse: if b then t else f fi  squash: T true: True
Lemmas :  squash_wf true_wf primrec_wf btrue_neq_bfalse assert_of_eq_int iff_weakening_uiff iff_functionality_wrt_iff assert_wf iff_imp_equal_bool bfalse_wf eq_int_eq_true bool_subtype_base bool_wf eq_int_wf ycomb-unroll nat_ind_tp rev_implies_wf iff_wf int_subtype_base subtype_base_sq int_seg_properties nat_properties uall_wf funtype_wf nat_wf member_wf le_wf not_wf false_wf int_seg_wf subtype_rel_wf ge_wf

\mforall{}[B:Type].  \mforall{}[n:\mBbbN{}].  \mforall{}[m:\mBbbN{}n  +  1].  \mforall{}[A:\mBbbN{}n  {}\mrightarrow{}  Type].
\mforall{}[g:k:\mBbbN{}n  {}\mrightarrow{}  (A  k)  {}\mrightarrow{}  funtype(n  -  m;\mlambda{}x.(A  (x  +  m));B)].
    (uncurry-gen(n)  m  g  \mmember{}  k:\mBbbN{}n  {}\mrightarrow{}  (A  k)  {}\mrightarrow{}  B)


Date html generated: 2011_08_17-PM-06_01_59
Last ObjectModification: 2011_05_27-AM-11_32_29

Home Index