lean2/tests/lean/run/blast_ematch_heq1.lean

16 lines
248 B
Text
Raw Normal View History

import data.nat
open algebra nat
section
open nat
set_option blast.strategy "ematch"
set_option blast.cc.heq true
attribute add.comm [forward]
attribute add.assoc [forward]
example (a b c : nat) : a + b + b + c = c + b + a + b :=
by blast
end