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