doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Fri, 01 Sep 2000 00:30:25 +0200
changeset 9771 54c6a2c6e569
parent 5377 efb799c5ed3c
permissions -rw-r--r--
converted Lambda scripts;

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