Zulip Chat Archive

Stream: FLT

Topic: Fermat Last Theorem


Kevin Buzzard (Dec 07 2023 at 11:54):

OK so I am close to having some preliminary Lean/LaTeX/blueprint ready for a formal opening of the FLT repo. This has involved writing some code which refers to docs#FermatLastTheorem a lot. Note "Fermat", not "Fermat's". I've written "FermatLastTheorem" quite a bit now and it still sounds really odd to me. This change was added to my FLT mathlib PR by Yael here at the same time as another change, and I didn't notice this until the PR was merged.

I propose changing FermatLast to FermatsLast throughout that mathlib file. Are there reasons why I shouldn't do this, e.g. to do with the naming convention? My argument for the change is simply "Fermat's Last Theorem is what everyone calls it in English".

Chris Birkbeck (Dec 07 2023 at 11:58):

I agree that it should be FermatsLast.

Joseph Myers (Dec 07 2023 at 13:34):

Lean supports ' in identifiers, why not Fermat'sLastTheorem?

Kevin Buzzard (Dec 07 2023 at 13:37):

I would also be happy with that!

David Michael Roberts (Dec 08 2023 at 04:02):

Ferma'sLastTheorem, even :zany_face:

Utensil Song (Dec 08 2023 at 05:29):

In PFR, having ' in the theorem name broke the whole dep graph in the blueprint, but it's fixed now.

David Renshaw (Dec 08 2023 at 12:45):

def «Fermat's Last Theorem» ...

Last updated: Dec 20 2023 at 11:08 UTC