Documentation

Complexity.Algorithms.WordRAM.MatrixMultiplication.Schonhage.Pruned.Input

Actual initialized-input execution of native pruned queries #

Main definitions #

Main results #

The input contains ordinary depth/count headers, two canonical signed arrays and query codes. All child lists and directories are computed. No layout, execution or timing certificate is an input word or an admission hypothesis.

Full prefix charge: actual header/power/pointer work, root deduplication, every recursive controller instruction, loop exit and reporting in the original supplied order.

Instances For

    Pruning gives a bound in terms of the actual contributing leaf set, retaining the setup and duplicate-query costs. This includes one additional final halt instruction.

    theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.PrunedQuery.input_fits {w L A B : ℕ} (hw : 0 < w) (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) (hmag : magnitudeBound L A B < 2 ^ (w - 1)) (haddr : WordRAM.Fits (w + 2) (addressBound L qs.length)) :
    WordRAM.InputFits (w + 2) (input L a b qs)

    Both scalar headers, both signed arrays, all query codes and the machine's unsigned length header fit the same admitted target width.

    theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.PrunedQuery.exec_input {w L A B : ℕ} (hw : 0 < w) (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) (hmag : magnitudeBound L A B < 2 ^ (w - 1)) (haddr : WordRAM.Fits (w + 2) (addressBound L qs.length)) :

    Execution of the complete native program on actual initialized memory. The final memory witness is shared by execution, mathematical outputs, frame preservation and boundedness.