doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Tue, 29 Aug 2000 00:54:22 +0200
changeset 9712 e33422a2eb9c
parent 5377 efb799c5ed3c
permissions -rw-r--r--
updated cong stuff;

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