GithubHelp home page GithubHelp logo

00mjk / formalpowerseries Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hivert/formalpowerseries

0.0 0.0 0.0 822 KB

Formal power series in mathomp

License: GNU General Public License v3.0

Coq 92.95% Makefile 7.05%

formalpowerseries's Introduction

FormalPowerSeries

Formal power series in Mathematical Components.

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 formalization:

1 - an axiom free formalization of Truncated Formal Power Series. It is largely based on the work of Cyril Cohen et al. on Newton Sums.

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 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 setting.

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 and logarithm series.

All those results are proved both for truncated and non-trucated series.

Application to combinatorics

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-trucated series:

1 - prove the algebraic equation F = 1 + X F^2 and extract the coefficients using square root and Newton's formula;

2 - Start again from the algebraic equation, extract the coefficients using Lagrange inversion formula;

3 - Transform the algebraic equation into the holonomic differential equation (1 - 2X) F + (1 - 4X) X F' = 1 which give the recursion (n+2) C(n+1) = (4n + 2) C(n) and solve it.

All these files are still largely experimental

To compile it I'm using the following opam packages:

coq-mathcomp-ssreflect    1.12.0
coq-mathcomp-algebra      1.12.0
coq-mathcomp-analysis     0.3.8
coq-mathcomp-finmap       1.5.1

formalpowerseries's People

Contributors

hivert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.