Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.CallableFixedPrime.Copy

Charged copies in the caller's high register bank #

This internal call rule embeds the actual eight-register copy/sum loop. Only the source, destination and sum bounds are needed; the caller metadata and low selector bank are framed without unfolding the loop. The full adapter discharges these bounds from original inputs.

Deliver the original AB arguments and zero accumulator after the real header.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.CallableFixedPrime.exec_nextCopy {W : ℕ} (src : Fin 640) (x : WordRAM.Data 640) (hfit : WordRAM.Fits W (x.regs (copyBank 1) + x.regs (copyBank 2))) :
∃ (y : WordRAM.Data 640), WordRAM.ExecWithin W (nextCopy src) x y 2 ∧ y.mem = x.mem ∧ y.regs (copyBank 0) = x.regs src ∧ y.regs (copyBank 1) = x.regs (copyBank 1) + x.regs (copyBank 2) ∧ y.regs (copyBank 2) = x.regs (copyBank 2) ∧ y.regs (copyBank 7) = x.regs (copyBank 7) ∧ ∀ (j : Fin 640), ↑j < 620 → y.regs j = x.regs j

Deliver a subsequent matrix pointer and advance only the destination span.