SYNOPSISrewriter <demodulators-file> < <terms-file> > <rewritten-terms-file>
DESCRIPTIONThis manual page documents briefly the rewriter command.
Rewrite a stream of terms with a list of demodulators. The demodulators are used left-to-right as given, and they are not checked for termination.
SYNTAXThe file of demodulators contains optional commands then a list of demodulators. The commands can be used to declare infix operations and associativity/commutativity. Example file of demodulators:
op(400, infix, ^). op(400, infix, v). assoc_comm(^). assoc_comm(v). formulas(demodulators). x ^ x = x. x ^ (x v y) = x. x v x = x. x v (x ^ y) = x. end_of_list.
AUTHORrewriter was written by William McCune <[email protected]>
This manual page was written by Peter Collingbourne <[email protected]>, for the Debian project (but may be used by others).