Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.RecordProduct.Entry

Initialized producer-to-adapter composition #

One fixed native program runs the complete producer from its original four headers and three signed weight arrays, selects actual ordinal zero and invokes the actual record consumer. The general caller interface handles any occupied ordinal; the initialized client here chooses the first one with real code. Its existence follows from the original positive geometry.

The producer's pre-halt native witness and polynomial word bound derive every source pointer, coordinate, caller base and dirty-word bound used by the record consumer. No producer layout, run, solver or time certificate is an input hypothesis.

@[reducible, inline]

Initialized producer-to-backend composition for any RecordBackend.

@[reducible, inline]

Shared final-state answers, memory/register frames and query-sparsity postcondition after an initialized producer-to-backend run on values.

@[reducible, inline]

Postcondition of initialized producer-and-first-record execution for backend B.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.RecordProduct.RecordBackend.exec_input (B : RecordBackend) {W m n g p A : ℕ} (values : List ℤ) (hlen : values.length = 3 * (n * n)) (hD : 16 ≤ MatrixMultiplication.Schonhage.D m) (hg : 1 ≤ g) (hp : 0 < p) (hN : MatrixMultiplication.Schonhage.D m ^ 18 ≤ n) (hv : ∀ z ∈ values, z.natAbs ≤ A) (hW : admissionWidth n (MatrixMultiplication.Schonhage.D m) g p A ≤ W) :
B.InputPost hD hN values

Generic initialized structured execution for any RecordBackend.

@[reducible, inline]

One fixed initialized composition; selecting the first record costs one actual instruction.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.RecordProduct.exec_input {W m n g p A : ℕ} (values : List ℤ) (hlen : values.length = 3 * (n * n)) (hD : 16 ≤ MatrixMultiplication.Schonhage.D m) (hg : 1 ≤ g) (hp : 0 < p) (hN : MatrixMultiplication.Schonhage.D m ^ 18 ≤ n) (hv : ∀ z ∈ values, z.natAbs ≤ A) (hW : admissionWidth n (MatrixMultiplication.Schonhage.D m) g p A ≤ W) :
backend.InputPost hD hN values

Complete initialized structured execution. The actual producer execution is a conclusion, and its same native memory supplies the coordinate list consumed by the composed adapter.