grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 135

lemma exists_extend_basis_of_span_eq_top

What it saysBasis extension. For a finite-dimensional complex vector space V, a natural number n, a set S \subseteq V whose span is V (h) and a linearly independent family y =(y_1, \ldots, y_n) in V (i): there are a natural number k and a family z =(z_1, \ldots, z_k) of members of S such that the concatenated family (y_1, \ldots, y_n, z_1, \ldots, z_k) (y \oplus_{v} z, indexed by Fin n \oplus Fin k) is linearly independent and \dim V = n + k; so y extends to a basis of V by k members of S. (The text reading of the signature also lists the section variables k and [Field k]; the statement's k is bound by \exists k z, so Lean is expected not to take them.)
The argument in briefIn the quotient V/\operatorname{span}(y) the image of S spans; choose an independent family of images of length equal to the dimension of that span, lift it to z in S, and count dimensions.

4 steps, 4 of them leaves · New/Heights/OneDeterminant.lean, lines 115–122 · in the notes: Lemma 4.2, p. 11 of Heights and the product formula; few translates nearly span; the height of one Gram determinant

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1setupline 118

    In V/\operatorname{span}(y), the image of S contains a linearly independent family w of length d = \dim \operatorname{span}(image of S).

    Usesexists_fun_fin_finrank_span_eq

  2. 2setupline 119

    Lift each w_i to z_i \in S with z_i mod \operatorname{span}(y) = w_i.

    Usesstep 1

  3. 3witnessline 120

    Take k = d and z: every z_i lies in S, and y \oplus z is linearly independent because y is independent and the images of z in the quotient by \operatorname{span}(y) are independent.

    Usesstep 1, step 2, LinearIndependent.sumElim_of_quotient, linearIndependent_span

  4. 4computationlines 121–122

    \dim V = n + d: the span of the image of S is the image of \operatorname{span}(S) = V, i.e. all of V/\operatorname{span}(y); \dim(V/span y) + \dim span y = \dim V and \dim span y = n.

    Usesstep 1, Submodule.span_image, Submodule.range_mkQ, Submodule.finrank_quotient_add_finrank, finrank_span_eq_card