doc-src/Tutorial/Misc/Fib.thy
author paulson
Mon, 09 Apr 2001 10:11:59 +0200
changeset 11242 81fe09ce5fc9
parent 5377 efb799c5ed3c
permissions -rw-r--r--
lexicographic product of two relations: updated HOL.tex Also automatic updates by xemacs

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