Spans of orthonormal subfamilies #
For an orthonormal basis b : OrthonormalBasis ฮน ๐ E and a set s : Set ฮน of
indices, b.spanIndices s is the subspace spanned by the selected basis
vectors {b i : i โ s}.
Main results #
OrthonormalBasis.mem_spanIndices_iff: membership is characterized by the vanishing of the coordinates outsides.OrthonormalBasis.finrank_spanIndices: the dimension is the number of selected indices.OrthonormalBasis.orthogonal_spanIndices: the orthogonal complement is the span of the complementary subfamily.
Provenance #
- Original repository: Davis--Kahan/DKPS formalization (Kitware, Inc.).
- Original module:
ForMathlib/Analysis/InnerProductSpace/CourantFischer.lean(thespecSubspacescaffolding), staged atForTauCeti/Analysis/InnerProductSpace/CourantFischer.lean. - Original authors / copyright: formalized by Claude Fable 5, golfed/polished
by Claude Opus 4.8; Apache 2.0. Generalized (index type,
Setselection, membership iff) by Claude Fable 5 during Tau Ceti signature polish. - Extraction class: generalized; the CourantโFischer module now consumes this API.
- Spectra influence: none โ this module imports only Mathlib.
The subspace spanned by the orthonormal basis vectors b i for indices
i โ s.
Equations
- b.spanIndices s = Submodule.span ๐ (โb '' s)
Instances For
spanIndices is the span of the selected basis vectors. The
characteristic lemma: spanIndices is a name for a Submodule.span, and a
consumer that needs to run Submodule.span_induction needs to be told so.
Written because dropping this module's blanket @[expose] broke exactly one
downstream proof โ LinearMap.IsSymmetric.map_mem_spanIndices in
CourantFischer.lean โ which was reaching through the definition instead. That
is the api-design rubric's case for a missing lemma rather than an exposed
body.
Selecting more indices spans more.
A selected basis vector lies in the span of its index set.
A vector in the span of a selected subfamily has zero coordinate at any index outside the selection.
Membership in the span of a selected subfamily is exactly the vanishing of the coordinates outside the selection.
The span of a selected subfamily has dimension the number of selected indices.
Set form of OrthonormalBasis.finrank_spanIndices.
The orthogonal complement of the span of a selected subfamily is the span of the complementary subfamily.