Syntax.Rule
This module provides functionality to represent rewriting rules.
rule_mk l r
creates a rewriting rule with l
as lhs and r
as rhs.
equal r r'
is whether r
is structurally equal to r'
. Two rules are equal if their respective lhs (rhs) terms are structurally equal (module alpha-equivalence).
val to_string : rule -> string
to_string r
returns a string representation of r
.