Coefficients of non-commutative polynomials #
The free algebra FreeAlgebra R X is the algebra of non-commutative polynomials in the variables
X. Its monomials are the words FreeMonoid X, which form the basis basisFreeMonoid R X. This
file names the coordinate of a word (FreeAlgebra.coeff) and proves the product rule: the
coefficient of w in a * b is a sum over the ways to split w into a prefix and a suffix
(FreeAlgebra.coeff_mul). A polynomial is homogeneous of degree d when all its words have
length d (FreeAlgebra.IsHomogeneous). Against a homogeneous left factor of degree |u| the
coefficients multiply: coeff (u v) (a b) = coeff u a * coeff v b
(FreeAlgebra.coeff_mul_mul_of_isHomogeneous).
FreeMonoid.ofFn u is the word u 0 u 1 ⋯ u (k - 1) of a tuple u : Fin k → X; every word of
length k has this form (FreeMonoid.exists_ofFn_eq), and the product of the words of a
k-tuple and an m-tuple determines both tuples (FreeMonoid.ofFn_mul_ofFn_injective).
Main definitions #
FreeAlgebra.coeff: the coefficient of a word, as a linear map.FreeAlgebra.IsHomogeneous: homogeneity of a given degree.FreeMonoid.ofFn: the word of a tuple.
Main results #
FreeAlgebra.coeff_def:coeffreads the coefficients ofequivMonoidAlgebraFreeMonoid.FreeAlgebra.ext_coeff: polynomials with the same coefficients are equal.FreeAlgebra.coeff_mul: the product rule.FreeAlgebra.IsHomogeneous.mul: degrees add under multiplication.FreeAlgebra.coeff_mul_mul_of_isHomogeneous: coefficients multiply against a homogeneous left factor of matching degree.
The word u 0 u 1 ⋯ u (k - 1) of a tuple.
The coefficient of the word w in a.
coeff reads the coefficient through equivMonoidAlgebraFreeMonoid.
Polynomials with the same coefficients are equal.
A nonzero polynomial has a word with a nonzero coefficient.
The basis vector of a word is its image under ι.
The coefficients of a monomial.
The coefficients of a variable.
The coefficients of 1.
The coefficients of a scalar.
The coefficient of a product: a sum over the splittings of the word.
a is homogeneous of degree d: every word with a nonzero coefficient has length d.
A homogeneous polynomial has no words of another length.
0 is homogeneous of every degree.
Sums of homogeneous polynomials of degree d are homogeneous of degree d.
Scalar multiples of homogeneous polynomials are homogeneous.
Finite sums of homogeneous polynomials of degree d are homogeneous of degree d.
1 is homogeneous of degree 0.
A variable is homogeneous of degree 1.
The monomial of a word w is homogeneous of degree |w|.
Multiplicativity of coefficients against a homogeneous left factor.
Degrees add under multiplication.