Causes the specified term to be rewritten using the rules, equations and
membership axioms in the given module. The default interpreter for
rules applies rules using a top down (lazy) strategy and stops when
the number of rule applications reaches the given bound. No rule will
be applied if an equation can be applied.
If the in clause is omitted the
current module is assumed. If the upper bound clause is omitted,
infinity is assumed. Examples:
rewrite 6 * 7 == 42 .
rewrite in FOO : f(6, g(a, b)) .
rewrite [50] f(6, g(a, b)) .
rewrite [1] in BAR : h(a) .