The goal of this project is to formalize the notion of Formal Power Series. I've mainly in view application to enumerative and algebraic combinatorics. They are two different formalizations:
1 - An axiom free formalization of truncated formal power series
(i.e. polynomials mod
https://github.com/math-comp/newtonsums
The main difference is that they assumed the base ring to be a field whereas I tried to use the more general base ring (or even semi-ring) setting to formalize the different properties.
2 - Formal Power Series using classical axioms. These are defined as the inverse limit of the truncated power series allowing to transfer easily result between the two settings.
The main results are
- formula for the multiplicative inverse of a series both in a commutative and non-commutative setting;
- geometric series;
- formal derivative and primitive (commutative and non-commutative);
- composition of power series (assuming the inner one has zero constant coefficient);
- Lagrange inversion formulas (Lagrange-Bürmann theorem);
- exponential, logarithm, powering and square root series.
All those results are proved both for truncated and non-truncated series.
To test the framework I provide 6 proofs of the formula for Catalan numbers. I'm using the following 3 different strategies together with truncated and non-truncated series:
1 - prove the algebraic equation
2 - Start again from the algebraic equation, extract the coefficients using Lagrange inversion formula;
3 - Transform the algebraic equation into the holonomic differential equation
The slide of a talk at Mathematical Components - 10 years after the Odd Order Theorem.
- Florent Hivert
The code for truncated power series (files auxresults.v and tfps.v) is partly copied from
https://github.com/Barbichu/newtonsums
by
- Cyril Cohen
- Boris Djalal
All these files are still largely experimental.
To compile it I'm using the following opam packages:
rocq-hierarchy-builder 1.9.1
rocq-mathcomp-ssreflect 2.5.0
rocq-mathcomp-algebra 2.5.0
rocq-mathcomp-multinomials 2.5.0
rocq-mathcomp-classical 1.14.0