Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.RecordProduct.NumericBounds

Numerical admission and original-size bounds for record products #

These width and word envelopes depend on original input bounds and the callable product's window geometry, without importing a per-record execution or its initialized composition.

Original-input physical width covering the actual producer, every dirty producer word before normalization, and all relocated product addresses.

Physical admission is positive, including parameter boundary cases.

Actual producer word/address bounds and the computed chunk size discharge the physical fit numerically; neither a window nor an intermediate arithmetic certificate is an input.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.RecordProduct.admissionWidth_le_log {n D g p A κ : ℕ} (hn : 1 ≤ n) (hD : D ≤ n) (hg : g ≤ n) (hp : p ≤ n) (hA : A ≤ (n + 2) ^ κ) :
admissionWidth n D g p A ≤ (257 * κ + 5906) * Nat.clog 2 (n + 2)

The final threshold is logarithmic in the original outer dimension under the producer's standard polynomial original-header/weight hypotheses. The constant is positive for every κ.

Explicit input-derived bound for all prefix words and the address support, independent of any larger admitted physical width. This is a reservation, not a bulk initialization.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.RecordProduct.wordBound_le_pow {n D g p A κ : ℕ} (hn : 1 ≤ n) (hD : D ≤ n) (hg : g ≤ n) (hp : p ≤ n) (hA : A ≤ (n + 2) ^ κ) :
wordBound n D g p A ≤ (n + 2) ^ (514 * κ + 11812)

The prefix bound is polynomial in original size for the usual original scalar/weight envelopes, with an explicit fixed exponent for each magnitude exponent κ.