Zulip Chat Archive

Stream: mathlib4

Topic: attribute [local simp]


Reid Barton (Dec 24 2022 at 13:18):

Does this syntax really exist? Never would have guessed

Henrik Böving (Dec 24 2022 at 13:20):

I don't know from the top of my head whether local simp is an attribute but yes in general you can add any kind of attribute after the fact with this syntax.

Reid Barton (Dec 24 2022 at 13:21):

In Lean 3 it was local attribute [simp]. To me it looks like we are adding the local attribute, and the simp attribute--probably in error.

Reid Barton (Dec 24 2022 at 13:21):

But I see it occurs many times already.

Sebastian Ullrich (Dec 24 2022 at 13:31):

local and scoped are attribute modifiers, so you can also use [foo, local bar, ...]


Last updated: Dec 20 2023 at 11:08 UTC