Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.Arguments

Actual span capture and complete box-ABI restoration #

The existing checked native span arithmetic is reused. Its computed low pointers are captured before those registers are repurposed, and every scalar read by the retained box constructor is restored. Scratch values from earlier queries may be arbitrary.

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.exec_tileArguments {w L m t N Q j a b : ℕ} (x : WordRAM.Data 160) (hp : QueriedProduct.Parameters L m N Q x) (hb : Parameters L m t N Q x) (hx : x.regs QueriedProduct.Reg.index = j) (hj : j < MatrixMultiplication.Schonhage.numBands L m N ^ 2) (ha : x.mem (QueriedProduct.offsetBase L m N Q + j) = a) (hstop : x.mem (QueriedProduct.offsetBase L m N Q + j + 1) = b) (hab : a ≤ b) (hbQ : b ≤ Q) (hfit : WordRAM.Fits w (wordBudget L m t N Q)) :

Actual checked span arithmetic and complete box argument restoration, including the saved query cursors and real temporary-to-grouped copy arguments.