doc-src/Tutorial/Misc/Fib.thy
author paulson
Tue, 05 Dec 2000 18:56:18 +0100
changeset 10596 77951eaeb5b0
parent 5377 efb799c5ed3c
permissions -rw-r--r--
tidying

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