Zulip Chat Archive
Stream: new members
Topic: Leading Term of Multivariate Polynomial
AHan (Nov 18 2018 at 07:35):
I wanted to write a function which return the leading term of a multivariate polynomial
But I have no idea how to do it with the multivariate polynomial in mathlib ....
Mario Carneiro (Nov 18 2018 at 07:42):
what is the leading term of a multivariate polynomial?
Mario Carneiro (Nov 18 2018 at 07:42):
like y^2 + x*y + x^2 + y
AHan (Nov 18 2018 at 07:43):
For example:
leading term of (XY + X + Y) is XY
AHan (Nov 18 2018 at 07:46):
leading term of y^2 + x*y + x^2 + y
will depends on our choice
AHan (Nov 18 2018 at 07:49):
So have to define a monomial ordering first
i.e If u ≤ v
and w
is any other monomial, then u w ≤ v w
Last updated: Dec 20 2023 at 11:08 UTC