Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.RecordWitness.Prepare

Real initialized preparation for candidate recovery #

This internal composition rule executes the existing producer on its complete renamed bank, then selects ordinal zero with one real instruction. Nonemptiness and the producer's original word bound are derived from the original input and actual execution. No prepared catalogue, index, run or intermediate fit certificate is an input to this rule.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.RecordWitness.prepare_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 + 2) :

Actual preparation and charged first-record selection, from the original initialized input. All later structured/flat clients reuse this same producer state and selected record.