Linear independence and bases

This file defines linear independence and bases in a module or vector space.

It is inspired by Isabelle/HOL's linear algebra, and hence indirectly by HOL Light.

Main definitions

All definitions are given for families of vectors, i.e. v : ι M where M is the module or vectorspace and ι : Type* is an arbitrary indexing type.

Main statements

Implementation notes

We use families instead of sets because it allows us to say that two identical vectors are linearly dependent. For bases, this is useful as well because we can easily derive ordered bases by using an ordered index type ι.

If you want to use sets, use the family (λ x, x : s M) given a set s : set M. The lemmas linear_independent.to_subtype_range and linear_independent.of_subtype_range connect those two worlds.

Tags

linearly dependent, linear dependence, linearly independent, linear independence, basis


linear_independent

Linearly independent family of vectors

linear_independent.total_equiv

Canonical isomorphism between linear combinations and the span of linearly independent vectors.

linear_independent.repr

Linear combination representing a vector in the span of linearly independent vectors.

Given a family of linearly independent vectors, we can represent any vector in their span as a linear combination of these vectors. These are provided by this linear map. It is simply one direction of linear_independent.total_equiv

linear_independent_monoid_hom

Dedekind's linear independence of characters

is_basis

A family of vectors is a basis if it is linearly independent and all vectors are in the span.

is_basis.constr

Construct a linear map given the value at the basis.

module_equiv_finsupp

Canonical equivalence between a module and the linear combinations of basis vectors.

equiv_of_is_basis

Isomorphism between the two modules, given two modules M and M' with respective bases v and v' and a bijection between the two bases.

equiv_fun_basis

A module over R with a finite basis is linearly equivalent to functions from its basis to R.