doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Sun, 06 Jun 2004 18:35:11 +0200
changeset 14879 8989eedf72a1
parent 5377 efb799c5ed3c
permissions -rw-r--r--
no token translation / setup for Latex;

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