doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Thu, 18 Feb 1999 12:15:55 +0100
changeset 6286 ce30e19af3df
parent 5377 efb799c5ed3c
permissions -rw-r--r--
fixed order of multiple -m 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