doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Thu, 22 Apr 2004 11:01:34 +0200
changeset 14651 02b8f3bcf7fe
parent 5377 efb799c5ed3c
permissions -rw-r--r--
improved notation;

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