Homogeneous polynomials #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
A multivariate polynomial φ
is homogeneous of degree n
if all monomials occuring in φ
have degree n
.
Main definitions/lemmas #
is_homogeneous φ n
: a predicate that asserts thatφ
is homogeneous of degreen
.homogeneous_submodule σ R n
: the submodule of homogeneous polynomials of degreen
.homogeneous_component n
: the additive morphism that projects polynomials onto their summand that is homogeneous of degreen
.sum_homogeneous_component
: every polynomial is the sum of its homogeneous components
A multivariate polynomial φ
is homogeneous of degree n
if all monomials occuring in φ
have degree n
.
The submodule of homogeneous mv_polynomial
s of degree n
.
Equations
- mv_polynomial.homogeneous_submodule σ R n = {carrier := {x : mv_polynomial σ R | x.is_homogeneous n}, add_mem' := _, zero_mem' := _, smul_mem' := _}
Instances for mv_polynomial.homogeneous_submodule
While equal, the former has a convenient definitional reduction.
The homogeneous submodules form a graded ring. This instance is used by direct_sum.comm_semiring
and direct_sum.algebra
.
homogeneous_component n φ
is the part of φ
that is homogeneous of degree n
.
See sum_homogeneous_component
for the statement that φ
is equal to the sum
of all its homogeneous components.