Documentation

TauCeti.Algebra.MonoidAlgebra.Basis

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 #

@[simp]
theorem TauCeti.MonoidAlgebra.basis_repr {k : Type u_1} [Semiring k] {X : Type u_2} (v : MonoidAlgebra k X) :

The coordinates of k[X] in the standard basis are the coefficients.

@[simp]

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.