doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Fri, 01 Dec 2000 19:40:42 +0100
changeset 10564 42f41f966db4
parent 5377 efb799c5ed3c
permissions -rw-r--r--
usedir: -m option;

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