doc-src/Tutorial/Misc/Fib.thy
author paulson
Sat, 03 Feb 2001 12:41:38 +0100
changeset 11042 bb566dd3f927
parent 5377 efb799c5ed3c
permissions -rw-r--r--
commutation theory, ported by Sidi Ehmety

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