Compute and pack a dense row basis over any ordered field
ProvedSmaleNinth.dense_row_basis_over_ordered_fieldThe existing finite RAM block computes an independent spanning subset of the rows of its ordinary dense matrix input and compacts the selected rows into a contiguous basis. The literal code and dimension-only clock apply to arbitrary ordered-field entries.
Preamble
import Definitions.Def_OAILP_Recovery_PairBuilderNumeric import Definitions.Def_OAILP_Geometry_GramEncoding open Matrix OAI.Optimization.LinearProgramming open OAI.Optimization.LinearProgramming.RAM OAI.Optimization.LinearProgramming.Geometry open OAI.Optimization.LinearProgramming.Recovery
Formal statement
theorem SmaleNinth.dense_row_basis_over_ordered_field {K : Type} [Field K] [LinearOrder K]
[IsStrictOrderedRing K] {h n : ℕ} (D : Matrix (Fin h) (Fin n) K) :
∃ t c k, c+1 ≤ PairBuilder.rowTime h n ∧
Block.Eval (Memory.AllData (fun _ : K => True)) RowPack.program
(start [h,n] (encodedGramInput D)).memory c t ∧
t.index 165 = k ∧ k ≤ h ∧ k ≤ n ∧ PacksRows D (uniformRect k n (t.index 57) t) := by sorrySource