doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Wed, 03 Oct 2001 21:03:05 +0200
changeset 11659 a68f930bafb2
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Tools/induct_attrib.ML now part of Pure;

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