Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.BoxRecordWitness.Exec

The real box product followed by candidate verification #

The general caller selects any occupied record. The actual product is executed on its whole renamed 320-register bank; the consumer then reads its real answers and protected query words. The original signed arrays and caller catalogue remain untouched. The initialized entry derives the numerical premises from original input, rather than supplying an intermediate run contract.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.BoxRecordWitness.exec_of_output {w U m n g p : ℕ} (values : ℕ → ℤ) (AB BC AC : ℕ → ℕ → ℤ) (initial : WordRAM.Data 64) (x : WordRAM.Data 400) (h : Instances.Output n (MatrixMultiplication.Schonhage.D m) g p values initial (WordRAM.Data.comap RecordProduct.producerBank (WordRAM.Data.comap RecordWitness.productBank x))) (hD : 16 ≤ MatrixMultiplication.Schonhage.D m) (hg : 1 ≤ g) (hp : p ≠ 0) (hN : MatrixMultiplication.Schonhage.D m ^ 18 ≤ n) (hheaderD : initial.mem 1 = MatrixMultiplication.Schonhage.D m) (hheaderG : initial.mem 2 = g) (hheaderN : initial.mem 3 = n) (idx : ExactTriangle.InstanceIndex p) (hidx : idx ∈ ExactTriangle.instanceIndices (fun (a b : Fin n) => values (Matrix.pairIndex (a, b))) (MatrixMultiplication.Schonhage.D m) g p) (hi : x.regs (RecordWitness.productBank RecordProduct.Reg.ordinal) = RecordProduct.recordOrdinal n (MatrixMultiplication.Schonhage.D m) g p values idx) (hmem : ∀ a < n, ∀ b < n, x.mem (5 + (a * n + b)) = WordRAM.Signed.encode (AB a b) ∧ x.mem (5 + n * n + (a * n + b)) = WordRAM.Signed.encode (BC a b) ∧ x.mem (5 + n * n + n * n + (a * n + b)) = WordRAM.Signed.encode (AC a b)) (hmag : ∀ a < n, ∀ b < n, (AB a b).natAbs ≤ U ∧ (BC a b).natAbs ≤ U ∧ (AC a b).natAbs ≤ U) (hU : GenericRAM.Signed.Fits w ↑(2 * U)) (hfit : WordRAM.Fits (w + 2) (RecordWitness.witnessWindow n (MatrixMultiplication.Schonhage.D m) g (x.regs (RecordWitness.productBank 42)) (RecordProduct.recordQueryCount n (MatrixMultiplication.Schonhage.D m) p values idx) (MatrixMultiplication.Schonhage.QueriedProduct.outputBase (21 * m) m n (RecordProduct.recordQueryCount n (MatrixMultiplication.Schonhage.D m) p values idx)))) :

Execute the actual product and verifier from one genuine producer output. No product execution, accepted-pair list, witness or time certificate is a hypothesis.