doc-src/Tutorial/Recdef/fib
author wenzelm
Fri, 08 Oct 1999 16:16:51 +0200
changeset 7805 0ae9ddc36fe0
parent 6100 40d66bc3e83f
permissions -rw-r--r--
theorem database now also indexes constants "Trueprop", "all", "==>", "=="; thus thms_containing, findI etc. may retrieve more rules;

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