doc-src/Tutorial/Misc/Fib.thy
author ballarin
Fri, 29 Aug 2003 15:40:11 +0200
changeset 14175 dbd16ebaf907
parent 5377 efb799c5ed3c
permissions -rw-r--r--
Method rule_tac understands Isar contexts: documentation.

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