Zulip Chat Archive
Stream: maths
Topic: Formalizing theorems using Lean4
Suryansh Shrivastava (Oct 05 2022 at 07:44):
My project advisor and I are looking at lean as a possible field for my final UG project. We are looking to formalize one of these proofs:-
Stickelberger's Theorem
Gelford-Schneider Theorem.
Any ideas on how feasible it is to formalize these proofs in Lean4 in 4 months? I have a basic understanding of Lean4 as a programming language.
Andrew Yang (Oct 05 2022 at 07:47):
I think it would be better to use Lean 3 since mathlib is still on Lean 3.
Suryansh Shrivastava (Oct 05 2022 at 07:53):
Any ideas on when we could port Mathlib4
Johan Commelin (Oct 05 2022 at 07:54):
See #mathlib4. It's happening right now.
Johan Commelin (Oct 05 2022 at 07:54):
But it will take some time before it's finished.
Riccardo Brasca (Oct 05 2022 at 08:43):
Stickelberger’s Theorem about the discriminant? It would be very nice to have it in mathlib! But you need quite a lot of algebraic number theory, so I would suggest to use mathlib, so Lean 3.
Junyan Xu (Oct 05 2022 at 22:35):
There's the recent work formalizing Lindemann-Weierstrass which also concerns transcendence but doesn't imply Gelford-Schneider or vice versa (both are consequences of Baker's theorem though).
Bharath (Oct 09 2022 at 09:07):
Hi, thank you for the suggestion. What I had in mind was Stickelberger's theorem on the annihilation of class groups of cyclotomic fields.
I have no experience with Lean. So the two suggestions (Sticekelber's theorem in algebraic number theory versus Gelfond--Schneider in transcendental number theory) above are somewhat disjoint; I am hoping that at least one of them will be a suitable undergraduate thesis problem for Suryansh (who has a little bit of experience with Lean).
Kevin Buzzard (Oct 09 2022 at 09:09):
Both of those are impossible in lean 4 and both would be attemptable in lean 3 but whether the student finishes would depend on how hard they worked, they would both be substantial projects.
Eric Rodriguez (Oct 09 2022 at 09:12):
for reference, we're currently doing the 1st case of flt for regular primes over on #FLT regular , and a running joke is that computing the class group of the 3rd cyclotomic extension is beyond us
Riccardo Brasca (Oct 09 2022 at 09:29):
I have a proof that that one is a euclidean domain! But that's it
Riccardo Brasca (Oct 09 2022 at 09:33):
I mean, I almost have a proof, but the idea is that formalizing graduate mathematics is a lot of work
Riccardo Brasca (Oct 09 2022 at 09:39):
But any partial result in that direction would be a more than welcomed contribution to mathlib, so don't hesitate to try!
Michael Stoll (Oct 09 2022 at 11:02):
There is a recent paper by @Anne Baanen, @Alex J. Best, Nirvana Coppola and @Sander Dahmen on formalized class group computations in Lean, see arXiv:2209.15492.
Riccardo Brasca (Oct 09 2022 at 15:22):
Very nice paper!! @Anne Baanen @Alex J. Best @Sander Dahmen did you formalize that the norm of a principal ideal is (the ideal generated by) the norm of a generator?
Alex J. Best (Oct 09 2022 at 15:28):
Yes indeed, that's used quite heavily for showing primality of ideals. We made a couple of definitions of ideal norm and show they agree, so it should be usable for both definitions fairly easily
Riccardo Brasca (Oct 09 2022 at 15:48):
Waiting for the PRs!
Last updated: Dec 20 2023 at 11:08 UTC