doc-src/Tutorial/Misc/Fib.thy
author paulson
Wed, 14 Jun 2000 18:19:20 +0200
changeset 9068 202fdf72cf23
parent 5377 efb799c5ed3c
permissions -rw-r--r--
installing the cancel_numerals and combine_numerals simprocs

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