Sparse work summed over a native query batch #
All wanted outputs of the same inner dimension have the same alpha-controlled query allowance. The actual batch adds six instructions per request and one final loop exit. Preparation remains outside this allowance and is charged once by the initialized client.
theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxBatch.queryTime_eq_alpha {L m t : ℕ} (qs : List (MatrixMultiplication.Schonhage.OutStr L)) (hη : ∀ η ∈ qs, (MatrixMultiplication.Schonhage.innerSetO η).card = m) :
The native batch allowance scales with the number of wanted outputs, including duplicates, and sparse alpha counts. There is no dense encoding-span scan per wanted query.
theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxBatch.preparationTime_le (L m t : ℕ) (hm : m ≤ L) (ht : t ≤ m) :
Shared construction is charged once for the entire wanted batch. Its table term retains the existing beta bound, separately from every sparse query charge.