Positive weighted monomial substitutions #
A weighted monomial substitution sends each source variable to one monomial with a specified natural coefficient. If every weight is positive, the weights affect coefficients but not support: the support is still the image of the source support under the linear exponent map.
This is the coefficient-aware extension of MonomialSubstitution needed for
positive named constants. A positive scalar is represented by a monomial of
exponent zero and that scalar as its weight.
Send a source variable to a monomial with the prescribed exponent and coefficient.
Equations
- Algebraic.Fusion.Arithmetic.Progress.Separated.WeightedMonomialSubstitution.substitution weight basis source = (MvPolynomial.monomial (basis source)) (weight source)
Instances For
Product of the coefficient weights contributed by a source monomial.
Equations
- Algebraic.Fusion.Arithmetic.Progress.Separated.WeightedMonomialSubstitution.coefficient weight exponent = exponent.prod fun (source : SourceVar) (power : ℕ) => weight source ^ power
Instances For
A weighted monomial substitution still expands one monomial to one monomial; its exponent and coefficient are computed independently.
Positivity of all variable weights implies positivity of every monomial coefficient produced by the substitution.
Without a positivity assumption, a weighted monomial expansion is either zero or has the usual singleton exponent support.
Even zero weights cannot create an exponent outside the ordinary linear image; they can only delete that image monomial.
Under positive weights, every source monomial has singleton support at the ordinary linear exponent image.
Apply a weighted monomial substitution to a polynomial.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Source monomials whose accumulated coefficient weight is nonzero.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact support with arbitrary weights: discard source monomials killed by a zero accumulated weight, then apply the linear exponent map.
Exact support of a positive weighted monomial substitution.
Arbitrary natural weights, including zero, can only delete monomials from the exponent image of the source support.
A weighted monomial substitution never increases support cardinality, whether or not some weights vanish.