Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.CallableFixedPrime.Parameters

Computable source width for the callable fixed-prime solver #

The adapter accumulates the actual unsigned input words while copying the three original matrices. Its source width depends on that sum and the original scalar arguments, without a supplied exponent, logarithm, intermediate layout or execution certificate. The large constant is a conservative width bound, not an additional charged polynomial computation.

Width computed from the original scalars and the actual copied raw-word sum.

A virtual address reservation; the program never clears or snapshots this interval.

A word sum bounding every original integer's magnitude guarantees the whole source admission. This is a numerical theorem; the adapter computes the sum and logarithm itself.

The computed source is wide enough for the two-bit signed-kernel extension.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.CallableFixedPrime.source_bounds (n D g p total : ℕ) :
n + D + g + p + total + 4 ≤ windowSize n D g p total ∧ sourceWidth n D g p total < windowSize n D g p total ∧ 6166 ≤ windowSize n D g p total

The computed modulus covers the original scalar sum, exponent and native coefficient. These are original-parameter facts, independent of the physical width or any execution.