Zulip Chat Archive
Stream: mathlib4
Topic: pi is irrational?
Kim Morrison (Sep 16 2024 at 14:03):
Does anyone have a proof that pi is irrational on hand, that they could PR?
I know that there is a PR in process #6718, containing the much stronger result that it is transcendental, but there may be a way to go before that is merged.
It feels a little embarrassing at this point in time to still not have this in. :-)
Riccardo Brasca (Sep 16 2024 at 14:28):
The proof here (Niven's proof) should be rather easy to formalize.
Ruben Van de Velde (Sep 16 2024 at 14:48):
I wouldn't be surprised if someone did it already. (If anyone has thoughts on #6718, do let me know :innocent:)
Eric Wieser (Sep 16 2024 at 14:51):
I think @Bhavik Mehta had a lean 3 PR with this result, and perhaps a lean4 translation locally?
Kim Morrison (Sep 18 2024 at 00:06):
@Bhavik Mehta, would you be able to translate https://github.com/leanprover-community/mathlib3/blob/irrational-pi/src/analysis/special_functions/trigonometric/pi.lean and PR it?
Violeta Hernández (Sep 18 2024 at 03:45):
Is our plan to have two separate proofs of irrationality? Or rather to have a proof of irrationality with less imports than the one for trascendentality?
Daniel Weber (Sep 18 2024 at 03:53):
Do we have Apéry's theorem? Something very similar also works for
Kevin Buzzard (Sep 18 2024 at 07:37):
I met someone at AMSS in China who said they were working on it. I'll dig out their name when I'm at a computer
Riccardo Brasca (Sep 18 2024 at 07:41):
Violeta Hernández said:
Is our plan to have two separate proofs of irrationality? Or rather to have a proof of irrationality with less imports than the one for trascendentality?
This seems reasonable, irrationality is a rather elementary argument.
Kevin Buzzard (Sep 18 2024 at 08:10):
@Lihong Zhi is it you who is doing in Lean? Can you also do ? We already have thanks to David Loeffler, so this would be enough.
Lihong Zhi (Sep 18 2024 at 12:02):
Kevin Buzzard said:
Lihong Zhi is it you who is doing in Lean? Can you also do ? We already have thanks to David Loeffler, so this would be enough.
Yes. my student @ahhwuhu (Junqi Liu) and @Jujian Zhang are proving is irrational in Lean. It should be easy to adjust their proof to show is irrational. They will do it later.
Bhavik Mehta (Sep 18 2024 at 15:09):
Kim Morrison said:
Bhavik Mehta, would you be able to translate https://github.com/leanprover-community/mathlib3/blob/irrational-pi/src/analysis/special_functions/trigonometric/pi.lean and PR it?
Sure, I have a ported version lying around somewhere. I never really viewed it as high priority since people are working on generalised versions already, but I don't mind doing it. (Similarly I did about four years ago, but never bothered upstreaming it because David's work gives a more general result!)
Kim Morrison (Sep 19 2024 at 00:08):
(There's been some "we have this stuff but Lean doesn't" going around, and it seems easier to explain "well actually it does, see Mathlib", rather than "well actually it does, see Bhavik's un-PR'd work on this branch of an archived repository".)
Johan Commelin (Sep 19 2024 at 07:01):
I think we can have a bit of community effort to get
feat: Lindemann-Weierstrass Theorem #6718
into mathlib in the near future. Ruben Van de Velde already started :octopus:
Bhavik Mehta (Sep 25 2024 at 09:16):
There's a PR at #17103 now, with help from Eric!
Bhavik Mehta (Oct 01 2024 at 10:41):
This one should be ready for review - I added quite a bit of explanation for the proof, I hope it is clear.
Johan Commelin (Oct 01 2024 at 10:58):
Thanks! Borsified
Junqi Liu (Oct 24 2024 at 09:38):
@Kevin Buzzard we have completed the proof of the irrationality of in Lean! We'll adjust our proof to show is irrational!
Lihong Zhi (Oct 24 2024 at 09:56):
Congratulations to Junqi and Jujian!
Kevin Buzzard (Oct 24 2024 at 10:08):
If we have irrationality of then we can deduce infinitude of primes :-) (RHS is clearly rational if there are only finitely many primes)
Riccardo Brasca (Oct 24 2024 at 10:12):
Very nice!! And we surely want this in mathlib :)
Jujian Zhang (Oct 24 2024 at 10:57):
ahhwuhu said:
Kevin Buzzard we have completed the proof of the irrationality of in Lean! We'll adjust our proof to show is irrational!
To be clear, the proof still relies on pi_alt
from PrimeNumberTheoremAnd
project so technically it is not sorry free yet.
Junqi Liu (Nov 12 2024 at 11:14):
We have done pi_alt
yet. It is sorry free now! We'll make a PR later.
Last updated: May 02 2025 at 03:31 UTC