doc-src/Tutorial/Recdef/fib
author berghofe
Fri, 31 Aug 2001 16:29:18 +0200
changeset 11534 0494d0347f18
parent 6100 40d66bc3e83f
permissions -rw-r--r--
Proof of True_implies_equals is stored with "open" derivation to facilitate simplification of proof terms.

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