Zulip Chat Archive
Stream: lean4
Topic: Renaming in root?
François G. Dorais (Jul 06 2021 at 18:31):
Is it possible to rename declarations in the root namespace? open _root_ renaming ...
doesn't work. My current workaround is to define abbreviations instead but that's not quite the same.
Mac (Jul 06 2021 at 20:28):
My understanding is the answer is no.
Mac (Jul 06 2021 at 20:32):
However, if all you care about is literally using a different name/notation for something in some local scope, you could do some like this though:
local notation "id'" => id
#check id' -- maps to `id` (and even is now printed as `id'`)
Last updated: Dec 20 2023 at 11:08 UTC