doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Sat, 01 Jul 2000 19:42:50 +0200
changeset 9219 84af672218b9
parent 5377 efb799c5ed3c
permissions -rw-r--r--
added print_trans_rules, print_antiquotations;

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