lean2/tests/lean/rewrite_loop.lean
2015-02-04 19:21:26 -08:00

7 lines
141 B
Text

import data.nat
open algebra
theorem test {A : Type} [s : comm_ring A] (a b c : A) : a + b + c = a + c + b :=
begin
rewrite *add.comm
end