Zulip Chat Archive

Stream: mathlib4

Topic: simp priority


Yury G. Kudryashov (Jan 30 2023 at 04:58):

In Lean 3, lemmas explicitly listed in simp [lemma1, lemma2] had higher priority than all lemmas marked with simp (probably, they were added to the top of the stack). It would be nice to forward-port this behavior (e.g., by assigning them a huge priority).

Yury G. Kudryashov (Jan 30 2023 at 04:59):

Sometimes, I used this assumption about simp to override @[simp] lemmas (e.g., use docs#not_and_distrib instead of the default docs#not_and).

Yury G. Kudryashov (Jan 30 2023 at 04:59):

When I port this code, I have to squeeze these simps now.


Last updated: Dec 20 2023 at 11:08 UTC