Grading finitely supported functions by assigned degrees #
For an arbitrary assignment g : I → ℤ, InternalGrading.finsupp A g grades the free
A-module on I by placing its i-th basis vector in degree g i. A homogeneous element
has support in a single fibre of g. No finiteness or injectivity of g is required.
The internal direct sum gives every finitely supported function a unique finite homogeneous
decomposition, including when several basis vectors have the same degree. This construction
also applies after a linear change of coordinates, via InternalGrading.map.
The construction uses Mathlib's Finsupp.supported submodules and
DirectSum.isInternal_submodule_of_iSupIndep_of_iSup_eq_top.
The internal grading of the free module on I assigning its i-th basis vector
degree g i. The degree-p piece consists of functions supported in the fibre of p.
Equations
Instances For
A single coordinate is homogeneous in its assigned degree, including a zero coefficient.