Documentation

Complexity.Algorithms.WordRAM.MatrixMultiplication.Schonhage.Wanted.Input

Ordinary initialized wanted-position inputs #

Main definitions #

Main results #

No powers, valid masks, tile keys, offsets, query codes or permutation words occur in the input.

Four unsigned scalar headers followed by each row/column pair in original list order. The standard State.init length word precedes this payload at address zero.

Instances For

    Ordinary input positions extended by zero outside the supplied list. This is a mathematical view of original words, not a query-code or layout certificate.

    Instances For
      @[simp]

      Every in-range position is exactly its original pair.

      The native length header and coordinate input end at the concrete allocation boundary.

      Both original coordinates are below the original matrix dimension.

      theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.Wanted.input_word {N : ℕ} (L m : ℕ) (qs : List (Fin N × Fin N)) (i : Fin qs.length) (s : Fin 2) :
      (WordRAM.State.init (input L m qs)).data.mem (5 + 2 * ↑i + ↑s) = if s = 0 then ↑(qs.get i).1 else ↑(qs.get i).2

      The exact initialized row/column word, with address calculations in original list order.

      Header, length and every coordinate word fit from the same original numerical budget.

      Complete execution from the actual initialized list, with guaranteed input fit and a bounded returned state. All auxiliary tables, counts, offsets and codes are computed natively.