Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Strassen.Zero

Base case of the actual native Strassen traversal induction #

A ready scalar frame executes its real native leaf iteration and returns to the parent or finishes the root. The continuation form accounts for the enclosing native loop overhead; the final root theorem closes it with the proved zero active flag and the charged loop exit. All arithmetic and frame fits follow from original scalar/pointer envelopes.

theorem Cslib.Algorithms.WordRAM.Strassen.exec_ready_zero {w p A B a b out scratch frames frame : ℕ} (x : WordRAM.Data 64) (u v : ℕ → ℤ) (hx : NodeReady p 0 a b out scratch frames frame x) (hl : NodeLayout p 0 a b out scratch frames frame) (hu : ∀ i < p, (u i).natAbs ≤ A) (hv : ∀ i < p, (v i).natAbs ≤ B) (hleft : ∀ i < p, x.mem (a + i) = WordRAM.Signed.encode (u i)) (hright : ∀ i < p, x.mem (b + i) = WordRAM.Signed.encode (v i)) (hmag : GenericRAM.Signed.Fits w ↑(magnitudeBound p A B 0)) (haddr : WordRAM.Fits (w + 2) (addressBound frames frame 0)) :
∃ (y : WordRAM.Data 64), NodeResult p 0 out scratch frames frame u v x y ∧ ∀ (z : WordRAM.Data 64) (T : ℕ), WordRAM.ExecWithin (w + 2) controller y z T → WordRAM.ExecWithin (w + 2) controller x z (traceBudget p 0 + T)

The all-coefficient native scalar node, with its actual return and complete footprint. No multiplication or execution field occurs in its hypotheses.