Direct sums whose summands vanish outside a finite set #
A direct sum ⨁ i, M i over an infinite index type still behaves like a finite one as soon as all
but finitely many summands are trivial: a family graded by ℤ with finitely many nonzero degrees
is the standard example. TauCeti.DirectSum.restrictLinearEquiv identifies such a direct sum with
the direct sum over a finite set of indices carrying the nonzero summands. The two consequences
a graded dimension count needs follow: such a direct sum is a finite module, and its dimension is
the finite sum of the dimensions of its summands. Mathlib's Module.finrank_directSum asks the
index type itself to be finite, which a family graded by ℤ does not satisfy. The parallel
count for an internal decomposition of a fixed module is in
TauCeti.LinearAlgebra.Dimension.DirectSum.
Main definitions #
TauCeti.DirectSum.restrictLinearEquiv: the equivalence(⨁ i, M i) ≃ₗ[R] ⨁ i : s, M ifor a finite setsoutside which the summands are trivial.TauCeti.DirectSum.componentLinearEquiv: the extreme case of a single surviving index, where the direct sum is the equivalence(⨁ i, M i) ≃ₗ[R] M d.
Main results #
TauCeti.DirectSum.finite_of_subsingleton_notMem: such a direct sum is a finite module.TauCeti.finrank_directSum_eq_sum: its dimension is the sum of the dimensions of the summands indexed by the finite set.
Restricting a direct sum to a finite set of indices. If every summand outside a finite
set s is trivial, then ⨁ i, M i is the direct sum of the summands indexed by s.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The restriction equivalence sends the summand at an index of s to the same summand.
The restriction equivalence sends a summand outside s to zero.
The restriction equivalence is inverse to the evident inclusion of the summands indexed by
s.
A direct sum concentrated in a single index is that summand. This is the extreme case of
TauCeti.DirectSum.restrictLinearEquiv, in the form in which a grading concentrated in one degree
meets it.
Equations
- TauCeti.DirectSum.componentLinearEquiv M d hd = LinearEquiv.ofLinearMap (DirectSum.component R ι M d) (DirectSum.lof R ι M d) ⋯ ⋯
Instances For
The equivalence with a single surviving summand is the projection to that summand.
Its inverse is the inclusion of that summand.
A direct sum whose potentially nontrivial summands lie in a finite set and are finite modules is a finite module, even though the index type may be infinite.
The dimension of a direct sum with finitely many nonzero summands. Unlike
Module.finrank_directSum, the index type here may be infinite; what is asked instead is a finite
set of finite-dimensional summands outside which the summands are trivial.