Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Strassen.Push

Native Strassen child layout and explicit frame push #

The six buffer calculations and the parent/child frame stores are actual native execution. The frame readback is proved from Cslib.WordRAM.storeRecord_exec; it is not supplied as an algorithm input. Only one parent phase cell and seven newly pushed frame words change memory.

Only current frame fields, its pointer, address scratch and dispatch tag change on push.

Instances For
    theorem Cslib.Algorithms.WordRAM.Strassen.exec_push {w : ℕ} (phase : Fin 8) (x : WordRAM.Data 64) (h1 : x.regs Reg.one = 1) (h7 : x.regs Reg.frameWidth = 7) (hw : WordRAM.Fits w (x.regs Reg.frame + 14)) :

    Push a real child in twenty-six instructions, preserving the old parent fields except its phase and writing the entire new frame. All child fields come from actual controller words.