Zulip Chat Archive

Stream: general

Topic: mathlib


Scott Morrison (Apr 10 2018 at 05:31):

Is it strange that we have monoid.pow and gpow (for groups)? Can we make these more uniform?

Mario Carneiro (Apr 10 2018 at 05:44):

you mean the names? Do you have a better idea?

Scott Morrison (Apr 10 2018 at 05:46):

group.pow?

Mario Carneiro (Apr 10 2018 at 05:51):

eh, I think the reason I didn't do that to begin with is because that puts all the group.pow theorems in the group namespace, which makes stuff longer since it's usually not open.

Scott Morrison (Apr 10 2018 at 05:52):

I would generally vote for longer over obscure, but I don't have a sense of how bad this would be here.

Kevin Buzzard (Apr 10 2018 at 05:54):

So why isn't this an argument for mpow, thus not putting all the monoid.pow theorems in the monoid namespace, which is also usually not oen?

Kenny Lau (Apr 10 2018 at 05:56):

So why isn't this an argument for mpow, thus not putting all the monoid.pow theorems in the monoid namespace, which is also usually not open?

you win

Mario Carneiro (Apr 10 2018 at 05:56):

you will notice that I only use the monoid namespace when I need to in theorems, as disambiguation

Mario Carneiro (Apr 10 2018 at 05:56):

but I didn't say the current way is at all consistent, nor am I averse to changing it

Kevin Buzzard (Apr 10 2018 at 07:33):

I am not suggesting it be changed, I was just being a pedant.


Last updated: Dec 20 2023 at 11:08 UTC