Commit 2020-10-14 09:45 6f5ccc1e
View on Github →chore(linear_algebra/linear_independent): review API (#4567)
API changes
New definitions and lemmas
subalgebra.to_submodule_equiv
: a linear equivalence between a subalgebra and its coercion to a submodule;algebra.to_submodule_bot
: coercion of⊥ : subalgebra R A
tosubmodule R A
issubmodule.span {1}
;submodule.disjoint_def'
: one more expansion ofdisjoint
for submodules;submodule.is_compl_range_inl_inr
: ranges ofinl
andinr
are complement submodules;finsupp.supported_inter
,finsupp.disjojint_supported_supported
,finsupp.disjoint_supported_supported_iff
: more lemmas aboutfinsupp.supported
;finsupp.total_unique
: formula forfinsupp.total
on aunique
type;linear_independent_iff_injective_total
,linear_independent.injective_total
: relatelinear_independent R v
toinjective (finsupp.total ι M R v)
;fintype.linear_independent_iff
: a simplified test forlinear_independent R v
if the domain ofv
is afintype
;linear_independent.map'
: an injective linear map sends linearly independent families of vectors to linearly independent families of vectors;linear_map.linear_independent_iff
: iff
is an injective linear map, thenf ∘ v
is linearly independent iffv
is linearly independent;linear_independent.disjoint_span_image
: ifv
is a linearly independent family of vectors, then the submodules spanned by disjoint subfamilies ofv
are disjoint;linear_independent_sum
: a test for linear independence of a disjoint union of two families of vectors;linear_independent.sum_type
:iff.mpr
fromlinear_independent_sum
;linear_independent_unique_iff
,linear_independent_unique
: a test for linear independence of a single-vector family;linear_independent_option'
,linear_independent_option
,linear_independent.option
: test for linear independence of a family indexed byoption ι
;linear_independent_pair
: test for independence of{v₁, v₂}
;linear_independent_fin_cons
,linear_independent.fin_cons
,linear_independent_fin_succ
,linear_independent_fin2
: tests for linear independence of families indexed byi : fin n
.
Rename
_root_.disjoint_span_singleton
→submodule.disjoint_span_singleton'
;linear_independent.image
→linear_independent.map
linear_independent_of_comp
→linear_independent.of_comp
;
Changes in type signature
is_basis.to_dual
,is_basis.to_dual_flip
,is_basis.to_dual_equiv
: takeB
as an explicit argument to improve readability of the pretty-printed output;