Zulip Chat Archive
Stream: mathlib4
Topic: prevent push_cast, ring_nf etc. from unfolding local defs?
Michael Stoll (Dec 24 2023 at 19:32):
Is there a way to stop tactics like push_cast
, ring_nf
etc. from unfolding local definitions like set m := ...
? The point of the set
is to hide complexities in the terms, and so it is a bit annoying when tactics re-complexify things without being asked to do so...
Yury G. Kudryashov (Dec 24 2023 at 19:49):
As far as I understand, the default configuration of simp
changed from Lean 3 to Lean 4 and quite a few tactics don't adjust the default yet.
Yury G. Kudryashov (Dec 24 2023 at 19:50):
See #7592 for a fix for push_neg
.
Yury G. Kudryashov (Dec 24 2023 at 19:51):
Though a recent PR #7884 by @Scott Morrison says "the change in behaviour in simp
(currently, but not for much longer, requiring zeta := false
)". Does it mean that simp
is going to change the default back to zeta := false
or something else?
Mauricio Collares (Dec 24 2023 at 20:59):
That's lean4#2682
Last updated: May 02 2025 at 03:31 UTC