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

Itrev = Main +
consts itrev :: 'a list => 'a list => 'a list
primrec
"itrev []     ys = ys"
"itrev (x#xs) ys = itrev xs (x#ys)"
end