doc-src/Tutorial/Recdef/fib
author paulson
Fri, 21 Jan 2000 10:45:40 +0100
changeset 8138 1e4cb069b19d
parent 6100 40d66bc3e83f
permissions -rw-r--r--
new theorem inj_on_restrict_eq

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