Documentation

Complexity.Algorithms.WordRAM.MatrixMultiplication.Schonhage.Pruned.Width

Sufficient physical width from original pruned-query inputs #

Main definitions #

Main results #

Input fit is a conclusion, including both scalar headers and the machine's length word. This component's threshold is logarithmic in its explicit budgets. Relating the encoding depth, query count and magnitudes to a whole 3SUM input is separate composition work under #1394.

A positive threshold for the physical target width, computed from original parameters. The code does not inspect this number or the machine width.

Instances For

    The physical threshold is nonzero even for empty inputs and zero operands.

    Mathlib's ceiling logarithm derives both actual address-word fit and the signed source envelope, retaining the two extra bits charged by the existing signed arithmetic kernels.

    theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.PrunedQuery.runs_wide {W L A B : ℕ} (a b : Fin (10 ^ L) → ℤ) (qs : List (Fin (10 ^ L))) (ha : ∀ (v : Fin (10 ^ L)), |a v| ≤ ↑A) (hb : ∀ (v : Fin (10 ^ L)), |b v| ≤ ↑B) (hW : admissionWidth L qs.length A B ≤ W) :

    A complete initialized run at every sufficiently wide physical width, with guaranteed input fit, a shared pre-halt memory witness, charged halt, all output values and outside preservation.