Zulip Chat Archive
Stream: new members
Topic: Bennett Chow
Bennett Chow (Aug 06 2025 at 17:42):
Hello! I am new to Lean and my interests are in Differential Geometry and especially Ricci flow. I have no previous programming experience but I am eager to learn. I would like to know what has been done so far to formalize differential geometry. Is there a group doing this? Thanks! - Ben
Bryan Gin-ge Chen (Aug 06 2025 at 18:28):
Welcome! Differential geometry is being actively worked on; Riemannian manifolds were added to mathlib just a few weeks ago. Maybe @Michael Rothgang, @Patrick Massot or @Sébastien Gouëzel can say a little bit more.
Matthew Ballard (Aug 06 2025 at 18:38):
It would be amazing to have more PDEs, especially geometric PDEs.
Michael Rothgang (Aug 08 2025 at 10:15):
Welcome! I'm really happy to see more people interested in formalising differential geometry: while quite some foundations are already there, there's a lot left to do, and we can use many more helping hands!
Michael Rothgang (Aug 08 2025 at 10:15):
Let me give you a short overview where we stand currently and what is being worked on.
mathlib has a lot of basics already: smooth manifolds (real, complex or p-adics, without and with boundary, including Banach manifolds), smooth maps, smooth vector bundles (including the direct sum, pullback and hom bundle). There is the Lie bracket of vector field fields and the Lie algebra of a Lie group. We have Riemannian manifolds (and vector bundles) very recently. On the analysis side, we also have Gronwall's lemma and the local existence of flows, as well as Lipschitz-ness in the initial conditions.
Some basic objects are still missing (and being worked on):
- Patrick Massot and I have defined affine connections/covariant derivatives. We have proven the classification of connections over trivial bundles, and are working towards the connection to Ehresmann connections. (The local/trivial bundle case is already proven, and we have a plan for the rest.) A next step could be constructing the pullback connection and the geodesic flow of a connection.
- We also defined the Levi-Civita connection and have mostly proven its existence and uniqueness. (Finishing this should take a few days, i.e. is not far away.) All of this is in a branch of mathlib, though --- i.e., not merged yet.
- I am working on defining smooth immersions and submersions, and using that to define embedded submanifolds. (The basic strategy seems solid, but a bunch of work remains in completing all the loose ends.)
-
I also have a branch developing (smooth unoriented) bordism theory: defining the bordism groups and proving are a group. (In particular, this means a way to work with the interior and boundary of a manifold.)
Getting this merged into mathlib will require merging immersions and submersions. -
Winston Yin (building on lots of previous work by Yury Kudryashov) is working on flows of vector fields: proving the local existence of flows (#26395), being
C^n(#26393) as well as the global existence of flows on compact manifolds without boundary (#26395) are all quite close to getting merged. They are working on proving smooth dependence on the initial conditions now.
Michael Rothgang (Aug 08 2025 at 10:19):
If you'd like to work on differential geometry, there are many ways you can get involved:
- we're still missing the inverse function and regular value theorem. (I have a branch on the former, and might supervise a student doing the latter (not certain yet).)
- we're also missing quotients of manifolds, e.g. the quotient of a smooth manifold by a proper discrete action being smooth again.
- if you like gluing, a great project would be to add gluing of two manifolds. (As in, attaching a handle, or gluing two manifolds along a common collar. This may require some work on the topology side at first; I can provide references/point you to previous, unmerged, work if needed.)
- for a big and more tedious project: we have the classification of 0-manifolds, but not of 1-manifolds.
Michael Rothgang (Aug 08 2025 at 10:22):
On the analysis side: as Matthew mentions, there's plenty of room for ODE and PDE theory (the latter is basically missing). I don't think there's much active work on this, so contributions are extremely welcome!
If you like hard analysis: @Filippo A. E. Nuccio and I are working towards defining Sobolev spaces --- building on prior work of @Anatole Dedecker and @Luigi Massacci Give us a few months, then hopefully things should be ready on a branch. Mathlib has the Sobolev inequality already (by @Floris van Doorn and @Heather Macbeth); deducing the Sobolev embedding theorem from that is a natural next step.
Michael Rothgang (Aug 08 2025 at 10:34):
I hope that was not too long. In summary:
- there is active work on many items, and many more can use help!
- on the differential geometry side, useful projects could be quotients of manifolds, gluing and the regular value theorem
- we are getting lots of prerequisites for talking about smooth flows on manifolds (most of it is waiting on review)
- on the analysis side, ODE and PDE theory can use some love
Personally, I have to be mindful with my time (I have too many ideas already), but I'm very excited about new differential geometry work. I'm happy to help you get started or if you're stuck. (And if you like to work on gluing, I'm happy to discuss more; I need that for my bordism theory project also.)
Michael Rothgang (Aug 08 2025 at 10:38):
To answer your final question: there's no "formalising differential geometry group" at the moment.
Floris van Doorn, Sébastien Gouezel, Yury Kudryashov, Heather Macbeth, Patrick Massot, Oliver Nash and Winston Yin all have made big contributions, but we're currently all in different places. (And some (not all) are very busy with their day job/teaching/supervision/administration work.)
Bennett Chow (Aug 15 2025 at 03:59):
Thank you for the messages! I didn't see them until now. I will read them with interest. I only read my direct messages; lol.
Bennett Chow (Aug 15 2025 at 04:21):
Since the Levi-Civita connection is almost done, is it possible that next the Riemann curvature tensor can be formalized without further prerequisite notions (since Lie bracket is done)? And then the Ricci tensor and scalar curvature ?
Bennett Chow (Aug 15 2025 at 04:29):
I thought, for Ricci flow , it would be cool if after the basic definitions, and say developing covariant differentiation on tensor bundles and the associated commutator formulas (or in indices, ), one could develop the tensor calculus so that one can start to derive basic evolution equations, e.g., the scalar curvature satisfies the heat-type equation .
Bennett Chow (Aug 15 2025 at 04:33):
My general impression of Ricci flow is that PDE theory is used in rather limited cases, such as short time existence, where hopefully we can treat short time existence (for the time being) as a black box. It seems that one can go reasonably far just using the maximum principle (first and second derivative tests from multivariable calculus: at a spatial maximum of , and ), integration by parts (via Stokes's/divergence theorem), and the Arzela--Ascoli theorem.
Bennett Chow (Aug 15 2025 at 04:46):
It would be nice to develop variation formulas. E.g., suppose that is a -parameter family of Riemannian metrics and denote (which can be any symmetric -tensor). Show that the corresponding variation of the scalar curvature is given by: . The evolution of the scalar curvature under Ricci flow follows directly from taking and the second contracted Bianchi identity .
Bennett Chow (Aug 15 2025 at 04:51):
This brings up another naive question --- can the foundations be developed in parallel (or to what extent)? E.g., formalize the variation of scalar curvature formula at the same time or before the second Bianchi identity (and its contracted version) is formalized?
Bennett Chow (Aug 15 2025 at 04:58):
One could then aim to compute the variation formulas for Perelman's -energy and -entropy. This would require considering, instead of , the triple , where is a function on for the -energy, and for the -entropy adding a constant . The derivations of the variation formulas just require (mainly) the variation of scalar curvature (mentioned above), the variation of volume form (based on the variation of a determinant of a positive-definite (symmetric) matrix), and the variation of (Dirichlet energy density/gradient norm squared).
Dominic Steinitz (Aug 15 2025 at 06:34):
You can get the to render by using $$
Bennett Chow (Aug 15 2025 at 11:55):
Thanks! I will make the edits $ -> $$.
Bennett Chow (Aug 16 2025 at 12:06):
Instead of continuing to babble naive thoughts, I will put them here: https://mathweb.ucsd.edu/~bechow/LeanOnMe/NaiveThoughts.html
Michael Rothgang (Aug 28 2025 at 20:49):
To answer the last question from your list: no, there's no Lie derivative of tensors yet. (Some lemmas I have for Levi-Civita are the 0-form case, i.e. smooth functions. If you'd like to work on that, I'll make a PR so you can re-use them.)
Bennett Chow (Sep 23 2025 at 06:12):
Sorry, I didn't see your message until now! If you make a PR request, then anyone can use it? I am new to all of this, and just wanted to make sure that if I don't work on it myself, someone else can. Thanks!
Kenny Lau (Sep 23 2025 at 09:29):
@Bennett Chow a PR is a "request to change mathlib". if it is accepted, then the definition will be added to a newer version of mathlib, which anyone can download.
Bennett Chow (Sep 23 2025 at 12:51):
Thanks @Kenny Lau for the explanation. Dear @Michael Rothgang , Yes that would be great to create a PR for Lie derivative of tensors. In general, it would be great to develop in Lean: 1. Riemannian geometry, 2. Ricci flow, 3. eventually verify the proof of the Poincare conjecture. For this, I can give my two cents on what things I think would be nice to develop in the theory of smooth manifolds, basics of Riemannian geometry, fundamentals of Ricci flow, to get things going toward the eventual goal.
Last updated: Dec 20 2025 at 21:32 UTC