doc-src/Tutorial/Misc/Fib.thy
author berghofe
Fri, 31 Aug 2001 16:17:52 +0200
changeset 11523 9a658fe20107
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Tuned function extend_lexicon.

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