Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.State

Persistent routed box-product geometry #

The high scalar protocol contains only original parameters and actual computed addresses. The geometry predicate records the four readonly families of directory/descriptor words. It is independent of the changing per-tile values, query stack and temporary results.

Actual high-register contents retained between all tile calls.

Pure directory/descriptor readback, with no execution, frame or cost certificate.

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.Geometry.catalogue {L m t N Q : ℕ} {μ : ℕ → ℕ} (h : Geometry L m t N Q μ) :
BoxTable.CataloguePrefix L (m - t) (directoryBase L m N Q) (recordBase L m t N Q) ((m - t + 1) * 10 ^ L) μ μ

The current geometry supplies the constructor's readonly catalogue without tying its outside frame to a previous tile's values.

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.Geometry.reframe {L m t N Q : ℕ} {μ ν : ℕ → ℕ} (h : Geometry L m t N Q μ) (hf : ∀ (p : ℕ), directoryBase L m N Q ≤ p → p < valueBase L m t N Q → ν p = μ p) :
Geometry L m t N Q ν

Writes outside the directory and compact descriptors preserve the actual shared geometry.

Extending a low-bank execution leaves every higher caller register untouched.

The scalar protocol survives any low-bank native execution.

The full allocation and one-past-end cursor values fit the original envelope.

Every old producer/group buffer precedes the shared box geometry, followed in order by compact records, retained values, query stack and temporary answers.

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.tile_fits {W L m t N Q AA BB : ℕ} (hfit : WordRAM.Fits W (wordBudget L m t N Q)) (hA : AA ≤ directoryBase L m N Q) (hB : BB ≤ directoryBase L m N Q) :
WordRAM.Fits W (directoryBase L m N Q + recordBase L m t N Q + valueBase L m t N Q + AA + BB + 20 * ((m - t + 1) * 10 ^ L) + 20 * 10 ^ L + 30)

Original admission covers one retained-value constructor on any actual producer pointers.

theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxProduct.batch_fits {W L m t N Q AA BB C n : ℕ} (hfit : WordRAM.Fits W (wordBudget L m t N Q)) (hA : AA ≤ directoryBase L m N Q) (hB : BB ≤ directoryBase L m N Q) (hC : C ≤ directoryBase L m N Q) (hn : n ≤ Q) :

Original admission covers the sparse batch and every one-past-end cursor.

The shared encodings precede every protected group and answer word.

Every increment of the actual bounded tile index fits the original input envelope.