doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Thu, 13 Apr 2000 15:02:02 +0200
changeset 8704 f76f41f24c44
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Simplifier options;

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