Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxTable.Flat

Initialized flat box-table construction and actual lookup #

One fixed 64-register program computes the shared catalogue and a complete tile from the original arrays. The exact pre-halt state is the same witness used for all table readbacks and the charged final halt. Physical admission is an original-input logarithm. The lookup theorem remains separately callable, so geometry is not rebuilt per query.

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxTable.runs_wide {W L m t A B : ℕ} (a b : Fin (10 ^ L) → ℤ) (ha : ∀ (i : Fin (10 ^ L)), (a i).natAbs ≤ A) (hb : ∀ (i : Fin (10 ^ L)), (b i).natAbs ≤ B) (hW : admissionWidth L m t A B ≤ W) :

The standard compiler gives a real initialized prefix and charged halt with the same data.

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxTable.bounded_reachable {W L m t A B n : ℕ} (a b : Fin (10 ^ L) → ℤ) (ha : ∀ (i : Fin (10 ^ L)), (a i).natAbs ≤ A) (hb : ∀ (i : Fin (10 ^ L)), (b i).natAbs ≤ B) (hW : admissionWidth L m t A B ≤ W) {y : WordRAM.State registers} (hy : WordRAM.Runs W (program.program Reg.values) (WordRAM.State.init (input L m t a b)) y n) :

Every reachable initialized prefix has fitting native words under the same admission.