lean2/tests/lean/simp6.lean
Leonardo de Moura 913d893204 feat(library/simplifier): add support for 'permutation' rewrite rules
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-01-20 08:29:31 -08:00

8 lines
No EOL
153 B
Text

variables a b : Nat
rewrite_set simple
add_rewrite Nat::add_comm eq_id : simple
(*
local t = parse_lean("a + b = b + a")
print(simplify(t, 'simple'))
*)