lean4-htt/tests/lean/run/simp1.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

8 lines
283 B
Text

constants (A : Type.{1}) (f : A → A → A) (x y z : A) (g : A → A)
lemma foo [simp] : f x y = y := sorry
lemma bar [simp] : g y = z := sorry
open tactic
set_option trace.simplifier true
example : g (f x y) = z := by simp >> triv
example : g (f x (f x y)) = z := by simp >> triv