feat: new alias command#200
Conversation
|
I think you should rebase this on top of #184's commits, so it is easier to review what changed and ensure that modifications from that PR are reflected here (which does seem to be the case) |
|
The original Mathlib alias had a comment to add an |
|
The attribute was intended to be usable so that third party code could programmatically determine that a declaration is an alias of another. |
|
Should that be implemented as an attribute or as an environment extension? I'm thinking the latter since I don't see much need for |
|
Does it support |
|
Yes, it supports all modifiers and attributes the same way as |
At some point I wrote a linter for duplicate lemmas and the attribute was useful as a way of skipping intentional duplicates. The interaction with |
|
That makes sense. I think the |
Implementation of the revised alias command discussed on Zulip.
Supersedes #184