Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Schonhage.CallableBox.Flat

Initialized flat callable products #

The same final native data witnesses the charged prefix run, exact physical product words, restored local original input, protected caller memory and the final halt. The program and its 163 registers are fixed independently of dimensions, runtime base and physical word width.

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.CallableBoxProduct.runs {W m N : ℕ} (t : ℕ) (caller : List ℕ) (X : Matrix (Fin N) (Fin (MatrixMultiplication.Schonhage.D m)) ℤ) (Y : Matrix (Fin (MatrixMultiplication.Schonhage.D m)) (Fin N) ℤ) (qs : List (Fin N × Fin N)) (ht : t ≤ m) (hN : MatrixMultiplication.Schonhage.D m ^ 18 ≤ N) (hX : ∀ (i : Fin N) (k : Fin (MatrixMultiplication.Schonhage.D m)), 0 ≤ X i k ∧ X i k ≤ 1) (hY : ∀ (k : Fin (MatrixMultiplication.Schonhage.D m)) (j : Fin N), 0 ≤ Y k j ∧ Y k j ≤ 1) (hcaller : ∀ v ∈ caller, WordRAM.Fits W v) (hfit : WordRAM.Fits W (CallableProduct.inputBase caller + 4 * CallableProduct.windowSize N qs.length + 1024)) :

Actual initialized execution with no computed-layout, bounded-scratch or execution premise. Every original duplicate request has its own exact physical answer cell. The n+1 charge includes the halt reached by the same final data y in the prefix Runs.

The width-independent code computes its own virtual modulus without reading physical width.