Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.DyadicParameters.SourceBounds

Logarithmic admission and polynomial prefixes for parameter preparation #

These original-scalar bounds include all fixed constants, the input header and both actual power calls. They hold for every n, including zero and the small regime.

A fixed multiple of the original input-size logarithm suffices at every dimension.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.DyadicParameters.bounded_reachable_polynomial {W n : ℕ} (hW : 13 * Nat.clog 2 (n + 2) ≤ W) (s : WordRAM.State 16) (t : ℕ) (hr : WordRAM.Runs W (entryProgram.program Reg.fast) (WordRAM.State.init [n]) s t) :
(∀ (i : Fin 16), s.data.regs i < (n + 2) ^ 14) ∧ (∀ (a : ℕ), s.data.mem a < (n + 2) ^ 14) ∧ ∀ (a : ℕ), (n + 2) ^ 14 ≤ a → s.data.mem a = 0

All successful prefixes at every sufficiently wide physical width have polynomial words and support independent of that width. The input is just the original raw dimension.