Documentation

Complexity.Algorithms.WordRAM.MatrixMultiplication.Schonhage.Header

Charged initialization from the actual depth header #

Main results #

An explicit bound for the encoder's unsigned addresses, index products and counters.

Instances For

    Registers and memory after header initialization. This is only a postcondition; it contains no execution, resource or intermediate-fit assumption.

    Instances For

      Header loads, both power computations, address arithmetic and counter initialization are included. The only fit premise is the explicit bound on ordinary natural numbers.

      theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.Encoding.input_fits {w L : ℕ} (hw : 0 < w) (a : Fin (7 ^ L) → ℤ) (A : ℤ) (hA : 0 ≤ A) (ha : ∀ (i : Fin (7 ^ L)), |a i| ≤ A) (hmag : ↑(7 ^ L) * A < 2 ^ (w - 1)) (haddr : WordRAM.Fits (w + 2) (addressBound L)) :

      The actual flat input fits the target machine. Each signed input value uses the existing canonical encoding; the depth and the ordinary unsigned length header are bounded separately.