Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.RecordBoxProduct.Kernel

Checked production invocation of the physical pointer front #

Physical pointers are delivered in four charged copies, outside the normalized source bank. All raw readback and separation premises describe actual external memory. The callee computes its layout, gathers and runs the existing product mathematics; no execution oracle is supplied.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.RecordBoxProduct.exec_invoke {W b m t N s r q : ℕ} (X : Matrix (Fin N) (Fin (MatrixMultiplication.Schonhage.D m)) ℤ) (Y : Matrix (Fin (MatrixMultiplication.Schonhage.D m)) (Fin N) ℤ) (qs : List (Fin N × Fin N)) (x : WordRAM.Data 320) (hb : x.regs RecordProduct.Reg.base = b) (hs : x.regs RecordProduct.Reg.left = s) (hr : x.regs RecordProduct.Reg.right = r) (hq : x.regs RecordProduct.Reg.queries = q) (hheader : ∀ a < 5, x.mem (b + a) = (WordRAM.State.init (MatrixMultiplication.Schonhage.BoxProduct.input true (21 * m) t X Y qs)).data.mem a) (hthreshold : x.mem (b + MatrixMultiplication.Schonhage.QueriedProduct.inputEnd m N qs.length) = t) (hsb : s + N * MatrixMultiplication.Schonhage.D m ≤ b) (hrb : r + N * MatrixMultiplication.Schonhage.D m ≤ b) (hqb : q + 2 * qs.length ≤ b) (hleft : ∀ a < N * MatrixMultiplication.Schonhage.D m, x.mem (s + a) = (WordRAM.State.init (MatrixMultiplication.Schonhage.BoxProduct.input true (21 * m) t X Y qs)).data.mem (5 + a)) (hright : ∀ a < N * MatrixMultiplication.Schonhage.D m, x.mem (r + a) = (WordRAM.State.init (MatrixMultiplication.Schonhage.BoxProduct.input true (21 * m) t X Y qs)).data.mem (5 + N * MatrixMultiplication.Schonhage.D m + a)) (hqueries : ∀ a < 2 * qs.length, x.mem (q + a) = (WordRAM.State.init (MatrixMultiplication.Schonhage.BoxProduct.input true (21 * m) t X Y qs)).data.mem (5 + 2 * (N * MatrixMultiplication.Schonhage.D m) + a)) (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) (ht : t ≤ m) (hN : MatrixMultiplication.Schonhage.D m ^ 18 ≤ N) (hfit : WordRAM.Fits W (2 * b + 4 * MatrixMultiplication.Schonhage.CallableProduct.windowSize N qs.length + 1024)) :

Invoke the actual pointer product with physically exact answers and the caller frame.