doc-src/Tutorial/Recdef/fib
author wenzelm
Tue, 10 Oct 2000 23:44:44 +0200
changeset 10184 4a7a1091cf65
parent 6100 40d66bc3e83f
permissions -rw-r--r--
fully enclose "\isadigit{...}"; \<^foo> produces "\isactrlfoo ";

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