A rewrite rule is a rule of the form

lhs -> rhs

where lhs and rhs are term patterns. It declares that any instance of lhs rewrites to the corresponding instance of rhs. The application of a rule to a term succeeds if the term matches (PatternMatching) with the lhs pattern. The result is the instantiation of the rhs pattern.

Revision: r1.1 - 09 May 2001 - 21:56 - EelcoVisser
Transform > RewriteRule
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback