Flags of triangular bases #
Let e and b be bases of a vector space indexed by Fin n, with b triangular with respect
to e: each b l is a combination of e 0, …, e l. Then b and e define the same flag of
subspaces in the sense of Module.Basis.flag. Combined with
Module.Basis.mem_flag_iff_repr_eq_zero, a vector in the span of e 0, …, e (j - 1) has
vanishing b-coordinates from the j-th on.
For a linearly ordered index type, a family v is triangular with respect to a basis b with
diagonal coefficients c when each v i - c i • b i is a combination of the b j with j < i.
Its matrix in b is then upper triangular, so its determinant in b is the product of the c i.
Main results #
Module.Basis.flag_eq_of_triangular: a basis triangular with respect toehas the same flag ase.Module.Basis.det_eq_prod_of_sub_smul_mem_span: the determinant of a triangular family is the product of its diagonal coefficients.Module.Basis.det_pos_of_sub_smul_mem_span: over an ordered ring, a triangular family with positive diagonal coefficients has positive determinant.Module.Basis.det_pos_of_sub_smul_mem_span_image_fst_lt: the same for a family indexed by a productι × κ, triangular with respect to the order on the first factor only.
A basis b that is triangular with respect to a basis e (each b l is a combination of
e 0, …, e l) has the same flag as e: b 0, …, b (k - 1) and e 0, …, e (k - 1) span the
same subspace.
The determinant of a family v that is triangular with respect to a basis b, in the sense
that each v i - c i • b i is a combination of the b j with j < i, is the product of the
diagonal coefficients c i.
Over an ordered ring, a family v that is triangular with respect to a basis b with positive
diagonal coefficients c i, in the sense of Module.Basis.det_eq_prod_of_sub_smul_mem_span, has
positive determinant in b.
Over an ordered ring, a family v indexed by ι × κ that is triangular with respect to a
basis b with positive diagonal coefficients c p, in the sense that each v p - c p • b p is a
combination of the b r with r.1 < p.1, has positive determinant in b. This is
Module.Basis.det_pos_of_sub_smul_mem_span for a lexicographic order on the index type; the
order on κ plays no role, since the hypothesis only compares first coordinates.