doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Thu, 21 Feb 2002 18:19:34 +0100
changeset 12916 4ac388e02b74
parent 5377 efb799c5ed3c
permissions -rw-r--r--
updated title;

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