Weights of finitely supported functions #
If every variable has weight at most c, then the weight of a monomial f : σ →₀ ℕ is at most
degree f • c. With c = -1 over ℤ, this says that a monomial all of whose variables have
negative weight has weight at most minus its total degree, which is how negatively graded
variables bound the degree of elements of powers of the ideal of the variables.
Weights also respect scaling of the weight vector and decompose into contributions before, at, and after a chosen coordinate in a linear order. These identities support comparisons between lexicographic order and weighted degree.
Main results #
Finsupp.weight_le_degree_nsmul: ifw s ≤ cfor alls, thenweight w f ≤ degree f • c.Finsupp.weight_filter_gt_add_smul_add_weight_filter_lt: split a weight at a coordinate.Finsupp.weight_smul_left: scaling the weight vector scales the weight.
If every variable has weight at most c, then the weight of f is at most its degree times
c.
A finitely supported function splits into its values before i, at i, and after i.
The c-weight of an exponent w splits into the weights of its coordinates before i, at
i, and after i.
Scaling the weight vector scales the weight.