Zulip Chat Archive

Stream: FLT

Topic: Integration with mathlib


Kevin Buzzard (May 01 2024 at 12:09):

I am unclear about how much stuff from the FLT project should be in mathlib. For example, the Frey curve is an elliptic curve which doesn't exist. You build it from a counterexample to FLT (easy) and then you prove that it has too many nice properties to actually exist (2000 pages of hard work). Do we want the Frey curve in mathlib? I'm very very happy to start PRing. No doubt there will be some "work in progress" stuff in the FLT repo which is nowhere near mathlib-ready, but the Frey curve stuff will certainly be ready and stable quite soon; the point is that it's not really a thing which is useful for anything but FLT, and it's certainly not studied independently. The main but straightforward theorem is that the p-torsion in the Frey curve coming from a counterexample a^p+b^p=c^p from FLT has lots of very nice properties, and the hard theorem is that nothing has these properties.

Kim Morrison (May 01 2024 at 12:11):

I would suggest the Frey curve stays in FLT!

Michael Stoll (May 01 2024 at 12:11):

Frey curves are used to solve other diophantine equations, too (e.g., of generalised Fermat type), so it would be reasonable to have some results about them in Mathlib eventually.

Kevin Buzzard (May 01 2024 at 12:13):

@Michael Stoll you might then have some opinions about my formalisation of it, because I demanded some congruences on A,B,C mod powers of 2 and then specifically used the global minimal model rather than Y^2=X(X-A)(X+B).

Michael Stoll (May 01 2024 at 12:15):

I think it is fine to first do it with the specific form needed for FLT and later think about how to generalise it so that it will be useful in other situations. My point is that we should keep this in mind (and so maybe try to keep the statements as general as possible if this can be done without sacrificing simplicity).

Mario Carneiro (May 01 2024 at 15:43):

Silly question: isn't the whole point that Frey curves are impossible objects? In that case, what applications would they have except in their nonexistence?

Mario Carneiro (May 01 2024 at 15:45):

To me this suggests that Frey curves are a concept limited in usefulness to the proof of FLT, and we should try to make as many theorems not specific to them as possible (except for the ones along the "spine" of the contradiction proof), so that they can be used even outside the contradictory context used for most of FLT

Rida Hamadani (May 01 2024 at 15:46):

Maybe the Counterexamples folder of mathlib is a good place for Frey curves to live?

Mario Carneiro (May 01 2024 at 15:46):

only if we're willing to upstream all of FLT to Counterexamples...

Damiano Testa (May 01 2024 at 16:23):

First division by zero, now counterexamples to FLT: sometimes formalisation seems like it wants people to laugh at it...

Joseph Myers (May 01 2024 at 20:56):

I take a maximalist view of the scope of mathlib: FLT is known mathematics that might occasionally get applied in other proofs, so it belongs in mathlib proper (not Archive or Counterexamples), and thus all its dependencies belong in mathlib proper as well; the main question is how to tell when such dependencies are ready to go in mathlib.

Riccardo Brasca (May 01 2024 at 21:05):

In my opinion it is rather important to not let the for_mathlib folder becoming gigantic, by PRing stuff to mathlib. This of course slow down the project a little, but in the long run it pays off. Otherwise bumping mathlib can be a very tedious and time consuming job.

Kevin Buzzard (May 01 2024 at 21:15):

My plan was not to let it ever have size more than epsilon. Right now we have some work on Hopf algebras which Amelia is PRing to mathlib. Please feel free to review #11962 and #11970 !

Kevin Buzzard (May 01 2024 at 21:16):

I think that with things like LTE it was tempting to grow for_mathlib when the end became in sight; however the end will not be in sight for many years here.

Kim Morrison (May 01 2024 at 22:59):

It might be good to work out how to maintain a visible / rewarding-to-look-at PR queue for FLT relevant stuff.

Kim Morrison (May 01 2024 at 22:59):

Maybe just an FLT label for Mathlib PRs?

Kim Morrison (May 01 2024 at 23:00):

That way reviewers who are excited about FLT can review those first.

Kim Morrison (May 01 2024 at 23:00):

  • a topic in this stream where FLT-relevant mathlib PRs can be mentioned

Last updated: May 02 2025 at 03:31 UTC