Zulip Chat Archive

Stream: mathlib4

Topic: congrArg or congr_arg


Kevin Buzzard (Nov 29 2022 at 22:42):

Searching in mathlib4 gives me 86 congrArgs (mostly in dependencies but some in Mathlib) and 100 congr_args (all in Mathlib). Have we been doing it wrong in Mathlib?

Mario Carneiro (Nov 29 2022 at 22:43):

congr_arg itself is defined in mathlib

Mario Carneiro (Nov 29 2022 at 22:43):

the one in core is called congrArg

Mario Carneiro (Nov 29 2022 at 22:45):

When congrArg was written the naming convention was far from settled (in fact it dates back to the time when all lean 4 theorems were in camel case)

Mario Carneiro (Nov 29 2022 at 22:45):

I think at this point it is safe to say that it should be called congr_arg


Last updated: Dec 20 2023 at 11:08 UTC