doc-src/Tutorial/Misc/Fib.thy
author paulson
Sat, 03 Jan 2004 16:09:39 +0100
changeset 14336 8f731d3cd65b
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Deleting more redundant theorems

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