Zulip Chat Archive
Stream: mathlib4
Topic: scoped[NS] doesn't work with syntax
Yaël Dillies (Oct 24 2024 at 07:47):
Looks like one can't use the scoped[NS] syntax combo:
import Mathlib.Data.Set.Defs
import Mathlib.Tactic.ScopedNS
scoped[Set] syntax (name := stab) "Stab " term:arg : term
-- elaboration function for 'Mathlib.Tactic.scopedNS' has not been implemented
Yaël Dillies (Oct 24 2024 at 07:47):
Is this known?
Mario Carneiro (Oct 25 2024 at 12:08):
it was originally designed for lean 3 after all
Yaël Dillies (Oct 25 2024 at 12:20):
Should we fix it? or are you implying we should remove the notation altogether?
Mario Carneiro (Oct 25 2024 at 12:22):
Fernando Chu (Jul 17 2025 at 09:27):
Is there any workaround this?
Michael Rothgang (Jul 17 2025 at 09:29):
This also came up in the discussion of differential geometry elaborators - so let me second "this would be great to have".
Michael Rothgang (Jul 17 2025 at 09:30):
That thread is here #mathlib4 > Differential geometry elaborators experiment
Last updated: Dec 20 2025 at 21:32 UTC