doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Tue, 19 Feb 2002 23:45:54 +0100
changeset 12899 7d5b690253ee
parent 5377 efb799c5ed3c
permissions -rw-r--r--
"isatool usedir -D output HOL Test && isatool document Test/output";

Fib = WF_Rel +
consts fib  :: nat => nat
recdef fib "measure(%n. n)"
    "fib 0 = 0"
    "fib 1 = 1"
    "fib (Suc(Suc x)) = fib x + fib (Suc x)"
end