fix(library/simplifier/rewrite_rule_set): avoid compiler specific behavior
This commit is contained in:
parent
d6997300f1
commit
b2f8d2000c
2 changed files with 4 additions and 2 deletions
|
@ -28,7 +28,9 @@ format rewrite_rule::pp(formatter const & fmt) const {
|
||||||
r += format("#") + format(length(m_metas));
|
r += format("#") + format(length(m_metas));
|
||||||
if (m_is_permutation)
|
if (m_is_permutation)
|
||||||
r += space() + format("perm");
|
r += space() + format("perm");
|
||||||
r += group(comma() + space() + fmt(m_lhs) + space() + format("↦") + pp_indent_expr(fmt, m_rhs));
|
format r1 = comma() + space() + fmt(m_lhs);
|
||||||
|
r1 += space() + format("↦") + pp_indent_expr(fmt, m_rhs);
|
||||||
|
r += group(r1);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
rewrite rules for eq
|
rewrite rules for eq
|
||||||
#2 perm, nat.add ?M_2 ?M_1 ↦ nat.add ?M_1 ?M_2
|
#2 perm, nat.add ?M_1 ?M_2 ↦ nat.add ?M_2 ?M_1
|
||||||
|
|
Loading…
Reference in a new issue