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):

#18230


Last updated: May 02 2025 at 03:31 UTC