doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Thu, 01 Feb 2001 21:28:23 +0100
changeset 11028 8cf44cbe22e8
parent 5377 efb799c5ed3c
permissions -rw-r--r--
moved to Product_Type_lemmas.ML

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