NLA-lib Explorer

The accumulation loop of substitution and factorization kernels

Library · Source module

The accumulation loop of substitution and factorization kernels

The kernels of triangular solves, of left-looking Cholesky and of the residual share one inner loop: for k < N, a product q := a_k \mathbf{b}_k into a scratch cell and c := c - q in place. This file proves that loop once, for operands given by their evaluation, and the value lemmas that turn its result into rounding traces.

Main definitions

* NLAlib.TriangularSolve.mulSubWord: the word the loop leaves in the accumulator. * NLAlib.TriangularSolve.CellsHold: a block of cells, read as a function of the offset.

Main results

* NLAlib.TriangularSolve.writes_mulSubLoop: the loop writes the accumulator and the scratch. * NLAlib.TriangularSolve.writes_mulSubDiv: the loop followed by a division. * NLAlib.TriangularSolve.writes_substLoop: a whole substitution, in any order of the rows. * NLAlib.TriangularSolve.relErr_mulSubWord: the decoded accumulator is a rounding trace.

Declarations