doc-src/Tutorial/Recdef/ack
author wenzelm
Thu, 27 Jul 2000 18:25:01 +0200
changeset 9451 5c25ed3c10a0
parent 9255 2ceb11a2e190
permissions -rw-r--r--
begin_theory: store *copy* of initial theory;

consts ack :: "nat*nat => nat"
recdef ack "measure(%m. m) <*lex*> 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))"