test: lost synthetic mvar issue

This commit is contained in:
Leonardo de Moura 2021-02-20 13:01:36 -08:00
parent 2cf56f5e10
commit d8ca6d847b

View file

@ -0,0 +1,8 @@
class AddIdepotent (α : Type u) [Add α] : Prop where
add_id (x : α) : x + x = x
export AddIdepotent (add_id)
theorem tst [Add α] [AddIdepotent α] (x : α) : id (x + x + x) = x := by
rw [add_id, add_id]
simp [id]