A linear-time finite multitape nullspace machine for one-column dual inputs
ProvedOCTKernel.Main.one_column_prime_field_dual_machinelinear-algebramatroidsstocturing-machines
A single finite multitape Turing machine, independent of the modulus and the number of rows, computes a matrix spanning the nullspace of every one-column input in the exact binary formats of STOC project #810. On a word of length L the machine halts with all auxiliary stacks empty within 2L+7 steps. Its output is defined even for raw nonprime moduli; the nullspace requirement uses the original prime promise. This is a restricted case of the third conjunct of Lemma 3.5.
Preamble
import Mathlib import Definitions.Def_HMBinPacking_OutputsWithin import Definitions.Def_OCTKernel_Main_Algorithms
Formal statement
theorem OCTKernel.Main.one_column_prime_field_dual_machine :
∃ f : (a : OCTKernel.Main.DualInput) → OCTKernel.Main.MatrixData a.prime a.n a.scale,
∃ tm : Turing.TM2ComputableAux Bool Bool, ∀ a : OCTKernel.Main.DualInput, a.n*(a.scale : ℕ)=1 →
OCTKernel.Main.Runs tm a.code (f a).code (2*a.code.length+7) ∧
∀ hp : Nat.Prime a.prime, letI : Fact (Nat.Prime a.prime) := ⟨hp⟩
OCTKernel.Main.rowSpan (f a).matrix = OCTKernel.Main.nullspace a.data.matrix := by sorry
Source
STOC project #810, Lemma 3.5, prime-field Turing-machine conjunct, restricted to one-column inputs.