Mercurial
Mercurial
>
repos
>
isabelle
/ annotate
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
|
file
|
latest
|
revisions
| annotate |
diff
|
comparison
|
raw
|
help
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
doc-src/Tutorial/Misc/natsum
author
paulson
Mon, 08 May 2000 16:59:02 +0200
changeset 8835
56187238220d
parent 5377
efb799c5ed3c
permissions
-rw-r--r--
tidied
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
5377
efb799c5ed3c
*** empty log message ***
nipkow
parents:
diff
changeset
1
consts sum :: nat => nat
efb799c5ed3c
*** empty log message ***
nipkow
parents:
diff
changeset
2
primrec
efb799c5ed3c
*** empty log message ***
nipkow
parents:
diff
changeset
3
"sum 0 = 0"
efb799c5ed3c
*** empty log message ***
nipkow
parents:
diff
changeset
4
"sum (Suc n) = Suc n + sum n"