Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Schonhage.CallableBox.Input

Ordinary initialized input for a callable box product #

The first input word is a runtime base pointer. An arbitrary caller prefix follows, then a local ordinary input-length word and the unchanged original box-product input BoxProduct.input, whose last word is the threshold. No computed tables, grouping, encodings, bounded scratch contents or execution certificates occur in this input.

Original scalar headers, raw matrices, request pairs and the final threshold word t, above a protected caller prefix.

Every local original input word has its actual initialized meaning at the runtime base.

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.CallableBoxProduct.input_fits {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)) :
WordRAM.InputFits W (input t caller X Y qs)

Original caller words and admitted original product words suffice for the global input fit.