doc-src/Tutorial/Misc/natsum
author wenzelm
Tue, 30 Oct 2001 13:43:26 +0100
changeset 11982 65e2822d83dd
parent 5377 efb799c5ed3c
permissions -rw-r--r--
lemma Least_mono moved from Typedef.thy to Set.thy;

consts sum :: nat => nat
primrec
"sum 0 = 0"
"sum (Suc n) = Suc n + sum n"