doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Sat, 25 Sep 1999 13:08:08 +0200
changeset 7600 73f91da46230
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Proof.reset_thms calculationN;

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