Documentation

Complexity.Algorithms.WordRAM.ThreeSum.ChanHe.PreprocessingSnapshot

Saving the actual frontend and parameter outputs #

The outer controller retains every shared scalar in registers outside the complete root program's write set. These are copies of computed frontend results, not inputs supplied by a caller.

Main definitions #

Main results #

The native ABI and composition proof are original.

Exact computed metadata retained outside the root program's register bank.

Instances For
    theorem Cslib.Algorithms.WordRAM.ThreeSum.ChanHe.Preprocessing.Saved.congr {κ n : ℕ} {x y : WordRAM.Data 128} (h : Saved κ n x) (hr : ∀ (i : Fin 128), 109 ≤ ↑i → ↑i ≤ 120 ∨ ↑i = 126 → y.regs i = x.regs i) :
    Saved κ n y

    Programs restricted to lower registers retain all computed outer metadata.

    Saving computed scalars and initializing the outer constants changes no memory.