Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.RecordBoxProduct.Bounds

Complete finite saving for an actual prepared-record box call #

All descriptor decoding, original matrix/coordinate copies, header/threshold patch, call setup/return and halt are included. The original native producer is charged separately by RecordProduct.preparationTime. Summing every ET record and selecting native parameters remain separate obligations.

Actual record adaptation is absorbed by a constant times the complete callable ledger. The original size assumption supplies the depth/input comparison.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.RecordBoxProduct.thin_timeBound {k n : ℕ} (qs : List (Fin n × Fin n)) (hN : MatrixMultiplication.Schonhage.D (9 * k) ^ 18 ≤ n) (hQ : qs.length * 2 ^ (9 * k) ≤ n ^ 2) :
↑(timeBound qs + 1) ≤ 31457280 * ↑(189 * k + 1) ^ 2 * ↑(9 * k + 1) * ↑(MatrixMultiplication.Schonhage.D (9 * k)) ^ (-(8 / 125)) * ↑n ^ 2

The real record consumer has finite D^(-0.064) saving under original-occurrence sparsity, including standalone halt and every adapter instruction.