lean4-htt/tests/lean/run/simp2.lean
Daniel Selsam e1bc0a68e6 refactor(simplifier): port skeleton to new tactic framework
Conflicts:
	library/init/meta/tactic.lean
	src/library/tactic/tactic_state.cpp
2016-06-24 15:20:40 -07:00

13 lines
403 B
Text

import algebra.group
constants (A : Type.{1}) (A_cg : comm_group A) (x y z w : A)
attribute A_cg [instance]
open tactic
open simplifier.ac
example : x * y = y * x := by simp >> triv
example : x * y * z * w = ((w * z) * y) * x := by simp >> triv
example : x * y * z * w = ((z * w) * x) * y := by simp >> triv
open simplifier.unit
example : x * y * z * 1 * w = ((z * w * 1) * x) * y := by simp >> triv