Zulip Chat Archive
Stream: mathlib4
Topic: debugging test failure
llllvvuu (Feb 14 2024 at 08:45):
It seems I've caused a seemingly unrelated test failure (test/RewriteSearch/Polynomial.lean) in a small PR (specifically, starting from this commit). Does anyone know what it could be? It passes locally for me (lake env lean test/RewriteSearch/Polynomial.lean
; I've also tried merging master
and re-building). Did I perhaps cause it to timeout on CI?
Yury G. Kudryashov (Feb 14 2024 at 08:52):
It looks like it finds sub_eq_add_neg
while the test expects sub_eq_neg_add
. I don't understand how either is expected to succeed.
Yury G. Kudryashov (Feb 14 2024 at 08:53):
UPD: I see
Yury G. Kudryashov (Feb 14 2024 at 08:53):
It starts with natDegree_sub
, I missed that.
Yury G. Kudryashov (Feb 14 2024 at 08:54):
So, you've changed something, and it finds a different solution to the same problem now.
Yury G. Kudryashov (Feb 14 2024 at 08:56):
Last time it changed solution was in #9083. @Scott Morrison Should we have this unstable test at all?
llllvvuu (Feb 14 2024 at 23:44):
Thanks, that fixed it! Seems related: https://github.com/leanprover-community/mathlib4/issues/9410
Last updated: May 02 2025 at 03:31 UTC