Zulip Chat Archive

Stream: new members

Topic: Accessing a shadowed definition


Nicolas Rolland (Aug 07 2024 at 13:49):

can I refer to Equivalence defined in Core.lean when I am the namespace CategoryTheory which has Equivalence redefined, shadowing the other one ?

The only way I found was to close the namespace, then reopen it again...

...
end CategoryTheory.Cat

theorem EqvGenCat.is_equivalence {C : CategoryTheory.Cat} :
    Equivalence (@CategoryTheory.Cat.EqvGenCat C) := sorry

namespace CategoryTheory.Cat
...

Kevin Buzzard (Aug 07 2024 at 14:10):

_root_.Equivalence maybe?


Last updated: May 02 2025 at 03:31 UTC