Zulip Chat Archive

Stream: general

Topic: get a specific lemma out of several with the same name


Rémy Degenne (Nov 21 2020 at 16:18):

The proof I am currently editing is inside the nnreal namespace. I want to use inv_mul_cancel for a real argument, but nnreal.inv_mul_cancel exists as well and is the lemma that lean tries to apply when I write inv_mul_cancel. How do I use the non-nnreal lemma?

Riccardo Brasca (Nov 21 2020 at 16:23):

You can try _root_.inv_mul_cancel

Rémy Degenne (Nov 21 2020 at 16:24):

thanks, it worked.

Riccardo Brasca (Nov 21 2020 at 16:25):

It just means "do not put anything before ..


Last updated: Dec 20 2023 at 11:08 UTC