WhoCites Definitions MarkB generic Sections NuprlLIB Doc

Who Cites double sum?
double_sumDef sum(f(x;y) | x < n; y < m) == sum(sum(f(x;y) | y < m) | x < n)
Thm* n,m:, f:(nm). sum(f(x,y) | x < n; y < m)
sum Def sum(f(x) | x < k) == primrec(k;0;x,n. n+f(x))
Thm* n:, f:(n). sum(f(x) | x < n)
primrec Def primrec(n;b;c) == if n=0 b else c(n-1,primrec(n-1;b;c)) fi (recursive)
Thm* T:Type, n:, b:T, c:(nTT). primrec(n;b;c) T
eq_int Def i=j == if i=j true ; false fi
Thm* i,j:. (i=j)

Syntax:sum(f(x;y) | x < n; y < m) has structure: double_sum(n; m; x,y.f(x;y))

About:
boolbfalsebtrueifthenelseintnatural_numberaddsubtractint_eq
lambdaapplyfunctionrecursive_def_noticeuniversememberall!abstraction

WhoCites Definitions MarkB generic Sections NuprlLIB Doc