NLA-lib Explorer

Scalar operations on stored word pairs

Library · Source module

Scalar operations on stored word pairs

Each component is computed by an ordinary scalar operation. The functional proof identifies the actual updated memory and supports disjoint source and destination regions of one buffer.

Main results

* NLAlib.Ops.Pair.multiplyRoutine, NLAlib.Ops.Pair.multiplyRoutine_meets: multiply both component words by one stored scalar, [] (x : 2, c : 1) → (z : 2), and its judgment. * NLAlib.Ops.Pair.linearCombinationRoutine, NLAlib.Ops.Pair.linearCombinationRoutine_meets: two complex products and a sum, [] (a : 2, b : 2, x : 2, y : 2) → (t : 2, z : 2) with t scratch, and its judgment. * NLAlib.Ops.Pair.multiply_writes, NLAlib.Ops.Pair.linearCombination_writes: the judgments read at cells. * NLAlib.Ops.Pair.readBlocks_updCells_pairs: recovery of two in-place output pairs after scratch.

Declarations