Zulip Chat Archive
Stream: Sphere packing in 8 dimensions
Topic: Complex analysis
Patrick Massot (Jun 15 2025 at 00:39):
Is there a precise description of what is needed in general complex analysis for this project?
Kevin Buzzard (Jun 15 2025 at 07:54):
Is it still the case that we need to be able to integrate a holomorphic function around this contour which is "two sides of a square and then a quarter of a circle" (the shape that you get four of if you remove a unit diameter disc from a unit square)? Or is there now some hack to avoid this like the other hacks we have for Cauchy integral formula?
Chris Birkbeck (Jun 15 2025 at 08:01):
So yes we still need to be able to integrate that picture, but as you say, Heather explained a way to do this that should solve this. With that I think we'd have enough contour integration tricks for what we need, but @Sidharth Hariharan can maybe check me on this.
But I guess integrating more general contours is something that would help greatly here and much more widely.
Patrick Massot (Jun 15 2025 at 08:11):
Could we have an actual statement of a theorem that would help, with all the assumptions and conclusions?
Sidharth Hariharan (Jun 15 2025 at 08:41):
Screenshot 2025-06-15 at 9.40.29 am.png
Screenshot 2025-06-15 at 9.41.03 am.png
Sidharth Hariharan (Jun 15 2025 at 08:56):
As Chris said, with this theorem and the existing tricks and hacks, we should be sorted. Heather is actively working on this and has shared some interesting ideas with me.
Essentially this result is needed to prove this result and its analogue for the -eigenfunction , which show that and are indeed Fourier eigenfunctions. I have not yet reduced the proofs of these to the version of Cauchy-Goursat I've shared above, but the idea is that when we compute the Fourier integrals of and , we need to perform the change of variables in order to show that we obtain and . This Möbius transformation turns the rectangular contours into quarter-circular contours, and we need to apply the above result to turn them back into rectangular contours, as shown below.
Screenshot 2025-06-15 at 9.55.21 am.png
Sidharth Hariharan (Jun 15 2025 at 08:56):
(Rectangular Cauchy-Goursat is already in mathlib)
Patrick Massot (Jun 15 2025 at 10:43):
@Heather Macbeth could you clarify whether you are indeed claiming this task and whether you need help?
Heather Macbeth (Jun 15 2025 at 10:49):
I have indeed been discussing the "trick" with Bhavik, Sid, and Alex Kontorovich. I think I can commit to writing down the details of the trick in tex/blueprint form. That will allow for a more informed discussion of whether to do this, a full contour integration theory, or something of intermediate generality.
Alex Kontorovich (Jun 15 2025 at 12:58):
If I understand correctly, the contour pull needed for Fig 4.4(b) is something we've already done in the PNT+ project; I think I know how to do (a) also -- will discuss with Heather tomorrow at the Simons meeting...
Bhavik Mehta (Jun 15 2025 at 16:43):
For (b) indeed we have this in mathlib already, that one's fine, it's 4.4a or more specifically the equality in 5.3 that's most useful.
Patrick Massot (Jun 18 2025 at 12:17):
Which book is this taken from?
Pietro Monticone (Jun 18 2025 at 12:29):
It looks like “A First Course in Complex Analysis” by Willms
Bhavik Mehta (Jun 18 2025 at 12:41):
No, those pictures are from Sid's thesis.
Pietro Monticone (Jun 18 2025 at 12:43):
Ops, sorry. Almost identical font!
Antoine Chambert-Loir (Jun 20 2025 at 19:02):
Regarding the Cauchy theorem, what should prevent us to try following the elementary proof by Dixon in American Math. Monthly ?
image.png
image.png
Kevin Buzzard (Jun 20 2025 at 22:59):
Is this theorem good enough for the application to sphere packing? Doesn't the contour there touch the boundary of where the function is defined?
Sidharth Hariharan (Jun 21 2025 at 08:48):
Yes, that is indeed the case for the contour we need for this project
Kevin Buzzard (Jun 21 2025 at 10:49):
I thought that the contour you were interested in touched the real line and you were integrating a modular form which doesn't have analytic continuation to any point in the lower half plane. Did I misremember?
Sidharth Hariharan (Jun 21 2025 at 12:30):
Yes, the contour does touch the real line. The integrand isn’t exactly a modular form, but some of the functions that make it up are. However, the function looks like . I suppose this is not technically defined at but vanishes as .
Kevin Buzzard (Jun 21 2025 at 13:42):
All I'm asking is whether there's an open subset of containing the contour and on which the integrand is holomorphic.
Sidharth Hariharan (Jun 21 2025 at 14:51):
No, there isn’t
Sidharth Hariharan (Jun 21 2025 at 14:56):
Which is why as you noted earlier the theorem shared by Antoine is unfortunately not quite good enough
Antoine Chambert-Loir (Jun 25 2025 at 02:33):
There's something I don't understand with the given statement above:
you require holomorphy at all but a countable number of points in the open domain , and continuity on the closure. But then the function is locally bounded at each point where it could not be holomorphic which implies that the singularity is removable.
Antoine Chambert-Loir (Jun 25 2025 at 02:35):
Assuming that my description is OK, you'll get the result you want from the one I quoted plus a minor limiting argument : you can draw a slighlty smaller homothetic version of your loop inside the domain and let it grow to the loop you want; continuity of the function will make the formula extend.
Kevin Buzzard (Jun 25 2025 at 07:59):
My simplified (possibly oversimplified) mental model of the situation is that the function they want to integrate is related to a modular form, so it will be defined on the upper half plane and completely chaotic on the real line. The contour is: arc of the unit circle from to in the upper half plane, straight line from to and straight line
from to . The only reason that the function is not chaotic on this contour is that as it approaches 1 the contours are going "straight down".
I should say that I've not read any of the details here, but the behaviour near 1 is going to be wild, the function could take all complex values on any subset of the upper half plane of the form "open disc containing 1 intersect upper half plane". I might be wrong about the details here but what's going on near 1 is super-scary if my mental model is correct.
Junyan Xu (Jun 25 2025 at 08:52):
Looking at the statement of the rectangular version, it looks like they were really able to prove the theorem with an arbitrary countable set, which can be dense in the domain. And it's not proven that the function is holomorphic everywhere in the open rectangle as an intermediate step.
If it were easy to prove the function must be holomorphic in the open domain, then for the desired quarter-circle contour, we may prove the equality for shrinked copies of the contour by finding a primitive of the function on a star-shaped domain containing the shrinked contour, and take the limit to obtain the equality for the actual contour.
Junyan Xu (Jun 25 2025 at 11:02):
Apparently the off_countable condition is inherited from Complex.integral_boundary_rect_eq_zero_of_differentiable_on_off_countable (*), and the proof is explained in this paper. Does the function we're interested in really has countably singularities in the domain, or any singularity at all?
It's not hard to prove a version of Morera's theorem (for rectangles parallel to axes) to conclude the function is holomorphic everywhere in the domain using the conclusion of (*).
Alex Kontorovich (Jun 25 2025 at 13:57):
I have a (dead) PR #9598 which does Morera in balls, in case it helps...
Junyan Xu (Jun 25 2025 at 16:07):
Oh I didn't notice that there's Morera in the PR; it's nice that you've taken this approach, even though for star-shaped domains (including convex domains, in particular discs) we can show the existence of primitives of holomorphic functions more directly using the integral (hopefully theorems in Mathlib.Analysis.Calculus.ParametricIntegral is easy to apply ...). The approach via Morera allows you to obtain primitives on domains D such that if then the axis-parallel rectangle with zw as a diagonal lies in D. This condition implies convexity and is satisfied by discs. I might extract parts of #9598 and make a new PR.
Seewoo Lee (Jun 25 2025 at 16:19):
It might be great to have those details in blueprint too (current version of contour integral part is almost identical to the original paper by Viazovska)
Kevin Buzzard (Jul 05 2025 at 14:15):
So am I right in saying that even if we had some version of Cauchy's theorem there is a problem involving an integral around a closed contour which we are unable to do? In particular, the problem is not just that Cauchy's theorem is missing, it's also something else? Edit: no I'm not right.
Here is my understanding of the question, and please correct me if I've got something wrong here. There is a function called and it's defined here in the blueprint. This is a function which is well-defined on the upper half plane. And there's a contour, let's call it , which is the following: start at , go in a straight line up to , and then one unit left in a straight line to , and then clockwise around the unit circle a quarter turn back to . And the claim is that the integral of some function involving around this contour is zero.
So I am not very good at analysis and I don't know how to prove this claim, but let me flag the following issue. If we replace the contour with a triangle where the curved line from to is replaced with a straight line of length , and if we replace the integral with it self, then I don't think it's true that the integral of around is zero for the silly reason that I am not sure that the integral of around is even a well-defined thing. Because that straight line from to is not at all a geodesic in the upper half place with its usual hyperbolic metric, and the function is completely chaotic at as tends to zero; it has a natural boundary on the real line and it would not surprise me if is taking every complex value infinitely often (and in particular, arbitrarily large values) on the intersection of the upper half plane and any small open disc containing 1. I also suspect that will be completely wildly behaved along the straight line from to and that any attempt to define the integral from to along the straight line by defining it as a limit of the integrals from to and then letting tend to zero will fail because this limit will not converge. Edit: due to a typo in the MS I had completely misunderstood the behaviour of near and all my worries expressed below are unfounded.
I'm well aware that "the integral of along " (which scares the heck out of me) is not the same question as "the integral of some function involving and along ", but I am mildly concerned that might not be enough to dampen the wild oscillations of the modular function.
So what exactly is a detailed maths proof that the integral around this contour is zero?
Kevin Buzzard (Jul 05 2025 at 14:23):
I think my question is "after definition 7.3 it claims that is well-defined. What is a maths proof of this claim?"
Mario Carneiro (Jul 06 2025 at 17:47):
If the function has singular behavior at , wouldn't the usual fix be to cut off the contour near that point, e.g. using a straight line from to where intersects the circle segment of , to create a modified contour , and take the limit as ?
Mario Carneiro (Jul 06 2025 at 17:50):
you might want to modify that line to be a geodesic; perhaps using a circle of radius around instead
Kevin Buzzard (Jul 06 2025 at 20:57):
Certainly that limit will exist because the usual Cauchy integral formula will work for the modified contours but that unfortunately won't guarantee that you're not doing infinity - infinity later on. I think that someone who understands the nuts and bolts of the proof needs to clarify exactly what is meant by this statement "a is well-defined" in the blueprint
Note that in the definition of a we're not going around the contour, we're only going from 1 to i via an unspecified path, and I don't want that integral to be infinity or the limit of a sequence with no limit
Bhavik Mehta (Jul 06 2025 at 20:59):
My understanding of that comment was that the only part which is in question is the fourth integral, since it's an unbounded contour, and the comment is explaining why that integral converges.
Bhavik Mehta (Jul 06 2025 at 21:00):
I believe the intention of the second integral is that it's a contour over the quarter circle, and we formalised it instead as two straight lines
Kevin Buzzard (Jul 06 2025 at 21:00):
Do you agree that the second integrand is poorly-behaved at 1 or did I miscalculate? Edit: I did. The second integrand is fine at 1.
Kevin Buzzard (Jul 06 2025 at 21:00):
It seemed to me that the integrand was wild near 1
Bhavik Mehta (Jul 06 2025 at 21:02):
I am mildly concerned that might not be enough to dampen the wild oscillations of the modular function.
I had convinced myself in that past that this doesn't happen because of the second equation in Lemma 7.2: multiplying that through by z^2 gives something which (up to a shift) looks like the integrand. But that doesn't really fix the rest of your concern, I think
Bhavik Mehta (Jul 06 2025 at 21:02):
But I agree that we don't have a good (formal) understanding of what this integrand does near 1.
Kevin Buzzard (Jul 06 2025 at 21:03):
So in particular I am not even sure of the meaning of the second term in the definition of a, but as I say I might have miscalculated. I thought that the (z-1)^2 term didn't dampen the phi term quickly enough but I might have made a mistake. Edit: I did, I was misled by a typo in the paper.
Kevin Buzzard (Jul 06 2025 at 21:04):
This was just a pencil and paper calculation on a train yesterday
Bhavik Mehta (Jul 06 2025 at 21:06):
For comparison with the original paper, a(x) is defined on the bottom of page 9 here: https://arxiv.org/pdf/1603.04246 (but again this doesn't answer your question)
Kevin Buzzard (Jul 06 2025 at 21:36):
It is evidence that I've made a mistake with my analysis of the behaviour near 1 though
Kevin Buzzard (Jul 06 2025 at 21:44):
So let me go though it here. Say with for now a positive real. Then the integrand near 1 looks like a constant times which is with a real constant so it doesn't look like the integral is going to converge at all. What am I doing wrong? Analysis was never my strong point :-) is with a real constant so it's all fine.
Kevin Buzzard (Jul 06 2025 at 21:57):
Bhavik informs me that I've got the growth of phi_0 wrong after all so it looks like all is well
Kevin Buzzard (Jul 06 2025 at 21:59):
I am still super scared about the integral if you go in a straight line from i to 1 but I'm no longer scared about the contour and I think mario's trick will work
Kevin Buzzard (Jul 06 2025 at 22:27):
In the blueprint it says "Indeed as im(z) tends to infinity" and now I realise that this is what misled me. Although this is formally true, should it say the far more useful statement ? i.e. "I am bounded by an exponentially decreasing function" rather than "I am bounded by an exponentially increasing function"? The "bounded by an exponentially increasing function" claim (which is what I used) is far too weak to make any deductions about the behaviour of the second integrand near 1 (again unless I made a mistake, but this is the source of my confusion).
Kevin Buzzard (Jul 06 2025 at 22:30):
I assumed "I am bounded above by an exponentially increasing function" implied "and actually I am exponentially increasing" but now I've done the calculation I've realised that this is far from the case
Seewoo Lee (Jul 06 2025 at 22:32):
There are three looking similar (meromorphic) modular forms, , and is a cusp form, so indeed .
I'm not sure if this answers any of your question, but I guess disadvantage of using the straight line is that it is not a good contour on upper half plane (not a geodesic, not behaves well under the Mobius transform). I just double checked the paper and we don't have issue with singularity (again because is a cusp form, the limit of as is 0). Quarter circle from 1 to is informally the best but probably not formally, and the two segments seems to be "both informally and formally good choice" (under the Cauchy theorem we want)
Kevin Buzzard (Jul 06 2025 at 22:32):
@Seewoo Lee did you just make the same sign error as the sign error I'm complaining about in the post directly above, or it is me who's made the sign error?
Kevin Buzzard (Jul 06 2025 at 22:33):
Lol you just changed it!
Kevin Buzzard (Jul 06 2025 at 22:33):
OK so we agree that the blueprint has a sign error and that this is what caused me all the confusion?
Seewoo Lee (Jul 06 2025 at 22:34):
Oh yes I did! And it is not even blueprint but published version too.
Screenshot 2025-07-07 at 7.34.16 AM.png
Seewoo Lee (Jul 06 2025 at 22:34):
I also confuses pretty often between for .
Kevin Buzzard (Jul 06 2025 at 22:36):
OK marvellous!
So in summary:
1) there's a trivial sign error in the paper
2) this sign error caused me to completely misunderstand the behaviour of the integrand near 1 thus making me super-worried about what was going on
3) the usual Cauchy's theorem should be fine
Kevin Buzzard (Jul 06 2025 at 22:37):
I had seen the in the denominator of and assumed that we'd be picking up a pole at because of the remark about , I only realised after Bhavik DMed me that the numerator had a double zero :-)
Seewoo Lee (Jul 06 2025 at 22:39):
Yeah then everything seems fine! Also let's fix typo..
Mario Carneiro (Jul 06 2025 at 23:26):
maybe link it back here
Junyan Xu (Jul 07 2025 at 00:04):
crosslinking
taha hoseinpour (Aug 20 2025 at 13:08):
hi, my name is taha hoseinpour, i am an undergrad cs student, i would like to contribute to the project, could someone kindly help me where to start contributing from or which current available task is suitable for start? ( sorry if i am not sending a message in appropriate topic sentence, if i am doing such a thing).
Chris Birkbeck (Aug 20 2025 at 13:13):
Hello! So you can have a look at the open issues here. As for what is suitable, that depends more on you background and preferences.
Chris Birkbeck (Aug 20 2025 at 13:18):
So I'd recommend having a look at the blueprint and open tasks, seeing which looks doable to you and then feel free to start a new topic in this stream with any questions you might have.
taha hoseinpour (Aug 20 2025 at 13:20):
Chris Birkbeck said:
Hello! So you can have a look at the open issues here. As for what is suitable, that depends more on you background and preferences.
hi, thanks for he reply, i will be ok with most of the mathematics given enough time, i can understand them, but it is lean that i am new to, anyway, i will learn lean pretty quickly, and hopefully if i got stuck in mathematics can i ask questions? i guess it should be doable https://github.com/thefundamentaltheor3m/Sphere-Packing-Lean/issues/91
Chris Birkbeck (Aug 20 2025 at 13:21):
yes definitely, feel free to claim a task and ask questions if you are unsure!
Sidharth Hariharan (Aug 20 2025 at 13:42):
Hi @taha hoseinpour, thank you for your interest! To reiterate what @Chris Birkbeck said, feel free to ask questions about Lean and maths alike. If you’re new to Lean, there are many excellent resources to get started, for instance the repo for a Lean course @Bhavik Mehta taught at Imperial College London last year, which gives you a basic idea of the way things are defined in various parts of mathlib.
Good to have you on board this project!
Seewoo Lee (Aug 20 2025 at 20:00):
Thank you for your interest @taha hoseinpour ! For the issue 91 you mentioned, I intend to resolve #87 (restrict quasimodular forms to imaginary axis) first which may provide some API for the lemma. I'm working on it but quite slowly, so I may finish some initial version of it first and you may use it to actually formalize proof of the lemma.
taha hoseinpour (Aug 21 2025 at 14:13):
Seewoo Lee said:
Thank you for your interest taha hoseinpour ! For the issue 91 you mentioned, I intend to resolve #87 (restrict quasimodular forms to imaginary axis) first which may provide some API for the lemma. I'm working on it but quite slowly, so I may finish some initial version of it first and you may use it to actually formalize proof of the lemma.
hi, thank you, it will take some time for me too, to read the proofs and get familiar with lean, so nothing to worry about.
Seewoo Lee (Nov 04 2025 at 18:18):
@taha hoseinpour FYI, the PR 87 is now review-ready, and you can find the statement in the PR as antiSerreDerPos in Derivative.lean (with sorry).
Last updated: Dec 20 2025 at 21:32 UTC