Lemma 3.5 — one cubic-time field-register machine computes the full nullspace over every field
ProvedOCTKernel.Main.nullspace_register_machinealgorithmslinear-algebraregister-machinesstoc
This is the entire field-register computation conjunct of the registered Lemma 3.5. The same explicit 102-instruction program works for every field and every matrix, and halts within 4000*(fieldInputSize+1)^3 instructions. The proof follows the stores, pivot search, dot products, alias-safe row copying, elimination and final output copy. After processing each row the table spans exactly the vectors annihilated by all processed constraints. The accepted register-kernels theorem supplies the previously verified fuel bound. The separate prime-field bit-machine conjunct uses a different instruction model.
Preamble
import Theorems.Thm_OCTKernel_Main_lemma_3_5_register_kernels import Definitions.Def_OCTKernel_Main_Algorithms open OCTKernel.Main
Formal statement
theorem OCTKernel.Main.nullspace_register_machine : ∀ (K : Type) [Field K] (n m t : ℕ) (A : Matrix (Fin m) (Fin n × Fin t) K),
1 ≤ m → 1 ≤ t → ∃ s : FieldState K,
fieldRun kernelRegisterCode (4000*(fieldInputSize n m t+1)^3) (fieldInitial A)=some s ∧
rowSpan (fieldOutput (n:=n) (t:=t) s)=nullspace A := by sorry
Source
Kumabe, Prove2Me STOC project #810, registered Lemma 3.5, second conjunct. Theorem 5a5b54e0-0086-4f65-8ced-a51171b6cb76 establishes fuel and inner-loop contracts for the same program.