doc-src/Tutorial/Recdef/Sep2.thy
author wenzelm
Fri, 08 Oct 1999 16:16:51 +0200
changeset 7805 0ae9ddc36fe0
parent 6100 40d66bc3e83f
permissions -rw-r--r--
theorem database now also indexes constants "Trueprop", "all", "==>", "=="; thus thms_containing, findI etc. may retrieve more rules;

Sep2 = Main +
consts sep :: 'a list => 'a => 'a list
recdef sep "measure length"
  "sep (x#y#zs) = (%a. x # a # sep zs a)"
  "sep xs       = (%a. xs)"
end