Commit 2025-03-17 10:14 22d7a1ce
View on Github →chore(LinearAlgebra/Basis): redo the file structure of Defs, Basic (#22066)
This PR reorganizes the files LinearAlgebra.Basis.Defs
and LinearAlgebra.Basis.Basic
: sorting the declarations, splitting off ones that need more imports, and generally cleaning up the structure. After this PR, the basic files for Basis
are:
Basis.Defs
: definition of a basis; extensionality of and w.r.t. bases; operations such asrepr
,equivFun
,reindex
,map
,constr
,coord
.Basis.Basic
: equivalence between two definitions of basis (as linear independent spanning family, or as equivalence to finsupp); assorted small lemmas.Basis.Fin
: bases indexed byFin
(extend a basis usingFin.cons
, ...)Basis.Prod
: basis for the product of modulesBasis.SMul
: scalar multiplication of basis vectorsBasis.Submodule
: bases for submodules (membership tests, restricting bases to submodules, using bases for induction, ...)