Homogeneous polynomials #
A multivariate polynomial φ is homogeneous of degree n
if all monomials occurring in φ have degree n.
Main definitions/lemmas #
IsHomogeneous φ n: a predicate that asserts thatφis homogeneous of degreen.homogeneousSubmodule σ R n: the submodule of homogeneous polynomials of degreen.homogeneousComponent n: the additive morphism that projects polynomials onto their summand that is homogeneous of degreen.sum_homogeneousComponent: every polynomial is the sum of its homogeneous components.
A multivariate polynomial φ is homogeneous of degree n
if all monomials occurring in φ have degree n.
Equations
- φ.IsHomogeneous n = MvPolynomial.IsWeightedHomogeneous 1 φ n
Instances For
The submodule of homogeneous MvPolynomials of degree n.
Equations
- MvPolynomial.homogeneousSubmodule σ R n = { carrier := {x : MvPolynomial σ R | x.IsHomogeneous n}, add_mem' := ⋯, zero_mem' := ⋯, smul_mem' := ⋯ }
Instances For
While equal, the former has a convenient definitional reduction.
Alias of the forward direction of MvPolynomial.totalDegree_zero_iff_isHomogeneous.
The homogeneous degree bounds the total degree.
See also MvPolynomial.IsHomogeneous.totalDegree when φ is non-zero.
See MvPolynomial.IsHomogeneous.eq_zero_of_forall_eval_eq_zero
for a version that assumes Infinite R.
See MvPolynomial.IsHomogeneous.funext
for a version that assumes Infinite R.
See MvPolynomial.IsHomogeneous.eq_zero_of_forall_eval_eq_zero_of_le_card
for a version that assumes n ≤ #R.
See MvPolynomial.IsHomogeneous.funext_of_le_card
for a version that assumes n ≤ #R.
The homogeneous submodules form a graded ring. This instance is used by DirectSum.commSemiring
and DirectSum.algebra.
homogeneousComponent n φ is the part of φ that is homogeneous of degree n.
See sum_homogeneousComponent for the statement that φ is equal to the sum
of all its homogeneous components.
Instances For
The homogeneous submodules form a graded ring.
This instance is used by DirectSum.commSemiring and DirectSum.algebra.
The decomposition of MvPolynomial σ R into homogeneous submodules.
Instances For
MvPolynomial σ R as a graded algebra, graded by the degree.
We do not make this a global instance because one may want to consider a different
graded algebra structure on MvPolynomial σ R, induced by another weight function.
To make it a local instance, you may use
attribute [local instance] MvPolynomial.gradedAlgebra.