doc-src/Tutorial/Misc/Ackermann.thy
author berghofe
Wed, 10 Jul 2002 18:37:51 +0200
changeset 13341 f15ed50d16cf
parent 5377 efb799c5ed3c
permissions -rw-r--r--
- Moved abs_def to drule.ML - elim_defs now takes a boolean argument which controls the automatic expansion of theorems mentioning constants whose definitions are eliminated

Ackermann = WF_Rel +
consts ack :: "nat * nat => nat"
recdef ack "measure(%m. m) ** measure(%n. n)"
"ack(0,n)         = Suc n"
"ack(Suc m,0)     = ack(m, 1)"
"ack(Suc m,Suc n) = ack(m,ack(Suc m,n))"
end