Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add 'squash' to 'norm_cast' attribute for 'Int.cast_negSucc' (#8365
) This is an attempt at fixing the following behavior of `norm_cast`. ```lean example (n : ℤ) : (-37 : ℤ) = n := by norm_cast -- goal is `Int.negSucc 36 = n` sorry ``` See [this discussion](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/linarith.20fails.20in.20a.20simple.20example/near/401592369).
- Loading branch information