Zulip Chat Archive
Stream: Is there code for X?
Topic: Lagrange inversion formula
Philippe Duchon (Feb 10 2026 at 17:21):
Does Mathlib know about Lagrange's formula for the compositional inverse of a power series? I found the multiplicative inverse, but leansearch does not seem to find anything for the compositional inverse.
Even the very basic case of single-variable, formal power series with rational coefficients is a staple of enumerative combinatorics.
Sébastien Gouëzel (Feb 10 2026 at 17:29):
We have docs#FormalMultilinearSeries.leftInv_comp and everything in this file.
Philippe Duchon (Feb 10 2026 at 22:20):
Hmm... I would not have recognized it in this form. Thanks!
Weiyi Wang (Feb 10 2026 at 22:51):
This constructs the inverse, but is there a theorem shows that the Lagrange inversion formula holds for it?
Weiyi Wang (Feb 10 2026 at 22:52):
Separately, if we do have it, we should add it here https://github.com/leanprover-community/mathlib4/blob/449fcb10feb34b6a5c8ca9f8917e33015ee249aa/docs/1000.yaml#L539C1-L540
Sébastien Gouëzel (Feb 11 2026 at 08:08):
We don't have the explicit formula for the coefficients in the Lagrange inversion formula, as far as I can tell.
Last updated: Feb 28 2026 at 14:05 UTC