doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Tue, 12 Jan 1999 13:40:08 +0100
changeset 6091 e3cdbd929a24
parent 5377 efb799c5ed3c
permissions -rw-r--r--
eliminated tthm type and Attribute structure;

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