Zulip Chat Archive
Stream: PrimeNumberTheorem+
Topic: Potentially useful results
Gareth Ma (Mar 06 2024 at 18:06):
Hi! I haven't been following the progress closely of the project, but I have proved some results in the past that might be useful?
Dirichlet Hyperbola method: https://github.com/grhkm21/lean4/blob/master/Lean4/nt/DirichletHyperbola.lean#215
Partial Summation: https://github.com/grhkm21/lean4/blob/master/Lean4/nt/PartialSummation.lean#L139 translated from Bhavik and Thomas’ unit fraction project.
Terence Tao (Mar 06 2024 at 18:46):
Yes, these could potentially be quite useful! Partial summation could shorten the proof of this form of the prime number theorem, and the hyperbola method identities could potentially shorten the proof of this elementary estimate for the Mobius function, as well as the Mobius function version of the prime number theorem (and perhaps also the Liouville function version). I don't know though if the form you have of these identities is precisely what is needed for these arguments.
Ruben Van de Velde (Mar 06 2024 at 19:10):
So are we getting those into mathlib? :)
Gareth Ma (Mar 06 2024 at 21:01):
I will try the elementary estimate for the Mobius function (). Do you mind sketching how the hyperbola method may make the proof shorter? The paper proof seems to be three lines currently, and I have something similar from previous projects.
(I should clean them up and dump them all onto my repo, I suspect some results might be useful...)
Terence Tao (Mar 07 2024 at 04:38):
Gareth Ma said:
I will try the elementary estimate for the Mobius function (). Do you mind sketching how the hyperbola method may make the proof shorter? The paper proof seems to be three lines currently, and I have something similar from previous projects.
(I should clean them up and dump them all onto my repo, I suspect some results might be useful...)
Actually on closer inspection I guess it doesn't actually make it any shorter. The identity is a degenerate case of the hyperbola identity that can give the assertion at the start of the proof, but one can just prove that identity by hand, the hyperbola identity doesn't save all that many lines of code. (But maybe it's worth stating this degenerate version of the hyperbola identity, viz. , as a standalone lemma, as it is also needed for the next two propositions.)
With a bit of care, by the way, one should be able to establish the bound (i.e., one should not lose any constant at all), by reducing to the case when is an integer, and using the fact that when , to show that the term is in fact bounded in magnitude by . It's not essential for the rest of the arguments, but aesthetically it would be nice to not lose any constant.
Gareth Ma (Mar 07 2024 at 07:17):
I got done, I will finish later (the concrete bound should be a lot easier than asymptotics especially in Lean). Do I make a PR when I'm done?
Gareth Ma (Mar 07 2024 at 13:33):
How do I add a ✓ next to the proposition?
Screenshot-2024-03-07-at-13.32.03.png
Ruben Van de Velde (Mar 07 2024 at 13:38):
Is that \leanok
?
Gareth Ma (Mar 07 2024 at 13:38):
I think not (I don't know why my caps was on). This is not proven for example:
Screenshot-2024-03-07-at-13.38.18.png
Gareth Ma (Mar 07 2024 at 14:00):
https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/pull/112 :tada: The ✓ is still not appearing.
llllvvuu (Mar 07 2024 at 14:10):
It might relate to there being separate \leanok for the \begin{theorem} and \begin{proof}, which correspond to checkmarks next to the statement and proof respectively
Gareth Ma (Mar 07 2024 at 14:17):
Hmm I added more \leanok everywhere and I think the tick is still not showing up
Gareth Ma (Mar 07 2024 at 14:18):
Just to confirm, I just have to pip install plastex
then make blueprint
and open blueprint/web/index.html
?
Gareth Ma (Mar 07 2024 at 14:21):
Oh wait no I need to install the plasTeX plugin, maybe that's why.
Gareth Ma (Mar 07 2024 at 14:22):
Sorry, I didn't install leanblueprint :tear: I will add pip install -r blueprint/requirements.txt
to the README as well.
Gareth Ma (Mar 07 2024 at 14:53):
Sorry for the many messages, but I am slightly confused. Do we actually mean to say , or rather ? @Terence Tao From my limited memory and knowledge, the latter follows from PNT as well.
Gareth Ma (Mar 07 2024 at 14:53):
oh, https://terrytao.wordpress.com/2009/08/30/an-elementary-inequality-involving-the-mobius-function/
Terence Tao (Mar 07 2024 at 15:49):
Gareth Ma said:
Sorry for the many messages, but I am slightly confused. Do we actually mean to say , or rather ? Terence Tao From my limited memory and knowledge, the latter follows from PNT as well.
Yes, it does, but here we are just using the weaker O(1) bound to prove in the next proposition. Once one has the latter bound, one can go back and improve the previous O(1) bound to a o(1) bound (using the argument in the blog post); if there is interest I can add that argument to the blueprint.
Last updated: May 02 2025 at 03:31 UTC