doc-src/Tutorial/Misc/Fib.thy
author paulson
Wed, 13 Oct 1999 12:04:11 +0200
changeset 7840 e1fd12b864a1
parent 5377 efb799c5ed3c
permissions -rw-r--r--
projecting/extending version of drop_prog_guarantees

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