doc-src/Tutorial/Recdef/fib
author wenzelm
Thu, 11 Nov 1999 11:58:51 +0100
changeset 8010 69032a618aa9
parent 6100 40d66bc3e83f
permissions -rw-r--r--
with_path;

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