doc-src/Tutorial/Misc/Fib.thy
author wenzelm
Thu, 27 Jul 2000 18:25:01 +0200
changeset 9451 5c25ed3c10a0
parent 5377 efb799c5ed3c
permissions -rw-r--r--
begin_theory: store *copy* of initial theory;

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