doc-src/Tutorial/Misc/Fib.thy
author berghofe
Tue, 11 Mar 2003 14:13:20 +0100
changeset 13855 644692eca537
parent 5377 efb799c5ed3c
permissions -rw-r--r--
addsplits / delsplits no longer ignore type of constant.

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