Compare commits

...

1 Commits

Author SHA1 Message Date
Leonardo de Moura
354b0f2c7d test: add test for issue #4585
This issue has been fixed by #6123

closes #4585
2024-12-14 13:52:07 -08:00

13
tests/lean/run/4585.lean Normal file
View File

@@ -0,0 +1,13 @@
example (x y : Nat) : let a := (x,y); a.2 = 0 := by
intro a
fail_if_success simp
guard_target = a.2 = 0
simp +zetaDelta
guard_target = y = 0
sorry
example (x y : Nat) : let a := (x,y); a.2 = 0 := by
intro a
simp [a]
guard_target = y = 0
sorry