Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Schonhage.Product.ThinEnvelopes

Thin-regime layout envelopes for queried products #

In the source regime D m ^ 18 ≤ N, the queried product's protected-buffer layout (QueriedProduct.wordBudget, QueriedProduct.memoryEnd) has polynomial magnitude, word-budget and memory-end envelopes at every level m ≤ L ≤ 21 * m. The queried product (level 19 * m) and the routed box product (level 21 * m) both take their logarithmic admission widths from this one bound.

Main results #

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.QueriedProduct.thin_envelopes_of_le (L m N Q A : ℕ) (hm : m ≤ L) (hL21 : L ≤ 21 * m) (hN : MatrixMultiplication.Schonhage.D m ^ 18 ≤ N) :
magnitudeBound L A + wordBudget L m N Q + 1 ≤ 2 ^ 40 * (N + Q + A + 2) ^ 10 ∧ memoryEnd L m N Q ≤ 128 * (N + Q + A + 2) ^ 4

Thin-regime envelopes at any level up to 21 * m. In the source regime D m ^ 18 ≤ N, at every level L with m ≤ L ≤ 21 * m, the layout's magnitude, word budget and memory end are bounded by explicit polynomials in N + Q + A + 2. The deliberately loose integer constants leave a uniform logarithmic-width margin.