doc-src/Tutorial/Misc/Fib.thy
author oheimb
Fri, 28 Jan 2000 11:22:02 +0100
changeset 8148 5ef0b624aadb
parent 5377 efb799c5ed3c
permissions -rw-r--r--
beautified spacing for binders with symbols syntax, analogous to HOL.thy

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