Greedy pivot rows span every prefix of a linear stream
ProvedPvsNP.greedy_prefix_pivotscomplexity-theoryformal-verificationlinear-algebra
Read a finite sequence of vectors in order. Select a row exactly when it is outside the span of all previous rows. At every prefix, the selected rows already encountered span exactly the same subspace as the full prefix. The number of selections is at most the ambient dimension.
Preamble
import Mathlib
Formal statement
theorem PvsNP.greedy_prefix_pivots {F V : Type*} [Field F] [AddCommGroup V] [Module F V]
[FiniteDimensional F V] (row : ℕ → V) (length : ℕ) :
∃ pivots : Finset ℕ,
pivots.card ≤ Module.finrank F V ∧
(∀ i, i ∈ pivots ↔ i < length ∧ row i ∉ Submodule.span F (row '' Set.Iio i)) ∧
∀ j ≤ length, Submodule.span F (row '' {i | i < j ∧ i ∈ pivots}) =
Submodule.span F (row '' Set.Iio j) := by sorrySource
Static pivot schedules for a one-work-tape recognizer of an affine family of probe words.