doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Tue, 29 Aug 2000 20:12:35 +0200
changeset 9728 1546ad1c7839
parent 5377 efb799c5ed3c
permissions -rw-r--r--
added antiquotation 'name' and option 'indent';

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