Zulip Chat Archive
Stream: Is there code for X?
Topic: open private
Eric Wieser (Jul 22 2021 at 08:22):
I saw this mentioned in a lean4 thread - is there a way to reference or add attributes to a private definition in lean 3 + Mathlib?
Johan Commelin (Jul 22 2021 at 08:26):
Didn't Mario show that basically anything is possible, in one of his "hacking lean 3 syntax" threads?
Mario Carneiro (Jul 22 2021 at 08:30):
You can do this programmatically, by looking up the name and then calling the function that adds an attribute to a definition
Last updated: Dec 20 2023 at 11:08 UTC