Documentation

Complexity.Algorithms.WordRAM.ThreeSum.ChanHe.NodeSetup

Charged runtime layout and tag setup for one Chan–He node #

Main definitions #

Main results #

References #

These native setup proofs are original.

The immutable caller arguments survive every phase of the node program.

Instances For

    Runtime arguments, computed bases, encoded tags and constants retained by every round. Register 61 is the sole setup scratch register in this range.

    Instances For

      The computed runtime layout and encoded tag constants.

      Instances For

        A caller frame transports the prepared address/tag interface.

        A caller frame transports the immutable input/size interface.

        Exact native arguments for writing the four-column padding pattern.

        Instances For

          Compute the disjoint addresses from the supplied runtime lengths and fresh base.

          theorem Cslib.Algorithms.WordRAM.ThreeSum.ChanHe.NodePacking.exec_constants {w : ℕ} (L : Layout) (x : WordRAM.Data 64) (hfit : WordRAM.Fits w L.budget) (hU : x.regs magnitude = L.U) (hN : x.regs groups = L.N) (hk : x.regs scratch = L.scratch) (hh : x.regs histogram = L.hist) (hp : x.regs packed = L.packed) (h1 : x.regs one = 1) (h4 : x.regs four = 4) (h3 : x.regs temporary = 3) :

          Compute encoded tags and signed padding through native arithmetic in sixteen instructions. The single envelope supplies every intermediate fit, including the third-column subtraction.