The coordinates of the standard basis of a monoid algebra #
Mathlib defines the standard basis MonoidAlgebra.basis X k of k[X] by
repr := MonoidAlgebra.coeffLinearEquiv _ but records no lemma for the resulting repr. This
file is that missing bridge: the coordinates in the standard basis are the coefficients.
It is all that is needed for the generic basis API -- Module.Basis.coe_sumCoords,
Module.Basis.sumCoords_self_apply, LinearMap.toMatrix_apply -- to compute in terms of
MonoidAlgebra.coeff.
Main statements #
TauCeti.MonoidAlgebra.basis_repr: the coordinates ofk[X]in the standard basis are the coefficients.TauCeti.MonoidAlgebra.coeff_basis_toDualEquiv_symm_apply: the coefficients under the standard-basis dual equivalence are evaluations on basis vectors.TauCeti.MonoidAlgebra.sumCoords_basis_surjective: the coefficient sum is surjective when the index type is nonempty.TauCeti.MonoidAlgebra.ker_sumCoords_basis_eq_span: its kernel is spanned by differences of basis vectors from a fixed one.
The coordinates of k[X] in the standard basis are the coefficients.
The coefficients of the vector corresponding to a functional under the standard-basis
identification k[X] ≃ Hom_k(k[X], k) are the values of the functional on the basis.
The sum of the coefficients #
The sum of the coefficients is surjective when the index type is nonempty.
The kernel of the coefficient sum is spanned by the differences of the standard basis vectors from a fixed one.