doc-src/Tutorial/Misc/Ackermann.thy
author wenzelm
Mon, 08 Feb 1999 15:55:35 +0100
changeset 6258 1f85c03fb3df
parent 5377 efb799c5ed3c
permissions -rw-r--r--
no deps on compile time sources;

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