Exact physical normalization after a pointer-gather product #
The conservative pointer pilot retains both actual normalization loops, including the threshold word. This boundary gives exact physical words and the absolute result pointer, rather than only virtual residues.
The unchanged charged threshold adjustment and original span-normalization loops.
theorem Cslib.Algorithms.WordRAM.MatrixMultiplication.Schonhage.PointerBoxProduct.exec_finish {W b I Q O M : ℕ} (x : WordRAM.Data 163) (hb : x.regs CallableProduct.Reg.base = b) (hI : x.regs CallableProduct.Reg.inputSize = I) (hQ : x.regs CallableProduct.Reg.queryCount = Q) (hO : x.regs CallableProduct.Reg.output = O) (hmod : x.regs CallableProduct.Reg.modulus = M) (hM : 0 < M) (hsep : I + 1 ≤ O) (original : ℕ → ℕ) (answers : Fin Q → ℕ) (hi : ∀ a < I + 1, x.mem (b + a) % M = original a) (hv : ∀ (i : Fin Q), x.mem (b + (O + ↑i)) % M = answers i) (hfit : WordRAM.Fits W (b + (I + 1) + O + Q + M + 8)) :
∃ (y : WordRAM.Data 163),
WordRAM.ExecWithin W finish x y (2 + 7 * (I + 1) + 7 * Q + 14) ∧ y.regs CallableProduct.Reg.result = b + O ∧ (∀ a < I + 1, y.mem (b + a) = original a) ∧ (∀ (i : Fin Q), y.mem (b + (O + ↑i)) = answers i) ∧ ∀ (a : ℕ), a < b ∨ b + (I + 1) ≤ a → a < b + O ∨ b + O + Q ≤ a → y.mem a = x.mem a
Normalize only the restored private input and returned answers, preserving outside memory.