test: lost synthetic mvar issue
This commit is contained in:
parent
2cf56f5e10
commit
d8ca6d847b
1 changed files with 8 additions and 0 deletions
8
tests/lean/run/pendingInstBug.lean
Normal file
8
tests/lean/run/pendingInstBug.lean
Normal 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]
|
||||
Loading…
Add table
Reference in a new issue