Skip to content

Conversation

@hivert
Copy link
Member

@hivert hivert commented Nov 10, 2019

This PR is probably not ready for merge. I anyway posted it to let you know where I'm on that subject.
My main point is to have a common file with https://github.com/hivert/FormalPowerSeries for truncated power series.

(** At each step, the precision is incremented. *)
Fixpoint lagriter o : {tfps R o} :=
if o is o'.+1 then mulfX ((trXnt o' g) \So (lagriter o')) else 0.
Fixpoint lagriter O : {tfps R O} :=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is dangerous to use O as a constant since it is the constructor of the zero nat... we should use a natural number conventional letter such as m, n, p, q, i, j,k or d.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oups ! True !


(* Tests *)
Fact test_map_tfps0 : map_tfps 0 = 0.
Example test_map_tfps0 : map_tfps 0 = 0.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might as well remove the tests.

@CohenCyril
Copy link
Member

CohenCyril commented Nov 14, 2019

Thanks for your contributions, I will merge as soon as possible.
By the way I completely forgot to mention math-comp/math-comp#210 in our previous discussions. It is the same data-structure except the point was to expose Lagrange polynomials and decidable irreducibly on finite fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants