Original-input width admission for routed native box products #
A binary ceiling logarithm of original magnitude and allocation envelopes admits the whole fixed program. The threshold is data read from the original input; physical width is never read. Minimum-width words have an explicit original-input envelope.
def Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.admissionWidth (L m t N Q A : ℕ) :
Sufficient physical width derived from original dimensions, threshold and entry magnitude.
theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.admissionWidth_pos (L m t N Q A : ℕ) :
0 < admissionWidth L m t N Q A
Width admission is positive even for zero-size matrices and zero-magnitude entries.
theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.admission_bounds {W L m t N Q A : ℕ} (hW : admissionWidth L m t N Q A ≤ W) :
Original-input logarithmic admission derives all separate scalar and signed budgets.
def Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.wordBound (L m t N Q A : ℕ) :
Original-input word/support envelope, independent of larger admitted physical widths.
theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.pow_admissionWidth_lt_wordBound (L m t N Q A : ℕ) :
Every minimum-admission word is strictly below the same original-input envelope.
theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.not_readsWidth (bits : Bool) :
Neither input mode reads physical width.