Zulip Chat Archive
Stream: mathlib4
Topic: Removing underscores from docs#Mon_, docs#Grp_ ...
Yaël Dillies (Aug 04 2025 at 16:32):
I would like to discuss a rename @Andrew Yang and I have been thinking about for a while: We would like to get rid of the underscores in docs#Mon_, docs#Grp_, docs#Mod_, docs#Mon_Class, docs#Grp_Class, docs#Mod_Class, etc...
Yaël Dillies (Aug 04 2025 at 16:32):
These underscores do not follow the naming convention and make for very confusing names when combined with other things. For example docs#CategoryTheory.Monad.instMon_ClassFunctor, among many others.
Yaël Dillies (Aug 04 2025 at 16:33):
Our suggestion is as follows:
- Rename docs#Grp to
GrpCat. I am painfully aware I performed the opposite rename two years ago. - Rename
Mon_/Grp_/Mon_Class/Grp_Class/Mod_ClasstoMon/Grp/Mod/MonClass/GrpClass/ModClassOR toMon/Grp/Mod/MonObj/GrpObj/ModObj.
In either case, we'll need to move to the category theory namespace as docs#Mod is taken. This renamespacing seems like a good thing to me regardless.
Joël Riou (Aug 04 2025 at 17:18):
This seems ok to me. ( Grp would be the category of group objects and GrpCat would be the category of groups, right?)
Andrew Yang (Aug 04 2025 at 17:23):
Yes. To be precise, CategoryTheory.Grp for (the category of) group objects and _root_.GrpCat for the category of groups.
Kim Morrison (Aug 05 2025 at 06:14):
Sure. :-)
Yaël Dillies (Aug 14 2025 at 13:59):
First PR for Mon_Class and CommMon_Class: #28406
Bhavik Mehta (Aug 14 2025 at 23:51):
I think this is a good change, and on your point 2 I prefer MonClass over MonObj
Last updated: Dec 20 2025 at 21:32 UTC