doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Tue, 26 Oct 1999 19:06:52 +0200
changeset 7937 82025fe607d3
parent 5377 efb799c5ed3c
permissions -rw-r--r--
added inform_file_processed, inform_file_retracted; proper outer syntax setup; more robust theory loader actions;

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