doc-src/Tutorial/Misc/Fib.thy
author paulson
Thu, 17 Aug 2000 11:56:47 +0200
changeset 9634 61b57cc1cb5a
parent 5377 efb799c5ed3c
permissions -rw-r--r--
modified proofs: better rules for cancellation of common factors across comparisons

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