doc-src/Tutorial/Recdef/fib
author paulson
Mon, 04 Dec 2000 17:30:40 +0100
changeset 10579 1db42f739ee7
parent 6100 40d66bc3e83f
permissions -rw-r--r--
loads the new theory Numbers.thy

consts fib :: nat => nat
recdef fib "measure(%n. n)"
  "fib 0 = 0"
  "fib 1 = 1"
  "fib (Suc(Suc x)) = fib x + fib (Suc x)"