NLA-lib Explorer

The block Golub–Kahan program linked with an orthogonalization scheme

Library · Source module

The block Golub–Kahan program linked with an orthogonalization scheme

An orthogonalization scheme is a tree E over a lower signature Lo that contains the two products and the draws (and whatever E calls: vector operations, scalar arithmetic), used with the interface of a basis extension NLAlib.Ops.extendRoutine. The table NLAlib.Krylov.GolubKahan.Band.linkTable maps the basis extension to E and keeps the products and the draws. Everything here is generic in E: the only hypothesis on the scheme is that its routine meets (NLAlib.Ops.Routine.Meets) the exact specification NLAlib.Ops.exactExtendSpec, resp. the rounded specification NLAlib.Ops.extendSpec, over the lower interpretation. Tests are not mapped by a table, so the driver and the scheme share the test signature.

Costs. One call of the basis extension at the dimensions [n, k, b] becomes the tree of E, which costs at most κ [n, k, b]; the linked run costs the draws and products of the driver and the sum of κ over the 2q + 1 extensions of the run (NLAlib.Krylov.GolubKahan.Band.linkedSolveCount). The scratch is that of the driver plus a common bound of the scratch of E and of the lower primitives. The stored-run conclusions feed NLAlib/Krylov/GolubKahan/Band/Run.lean: the factored identity for an exact run, orthogonality and the forward bound for a rounded run. Design: docs/design/LowRank-BlockLanczos.md §5, E5.

Main definitions

* NLAlib.Krylov.GolubKahan.Band.linkTable, NLAlib.Krylov.GolubKahan.Band.linkedSolve, NLAlib.Krylov.GolubKahan.Band.linkedSolveProgram: the table and the linked trees. * NLAlib.Krylov.GolubKahan.Band.linkCost, NLAlib.Krylov.GolubKahan.Band.linkedSolveCount: the counts after linking. * NLAlib.Krylov.GolubKahan.Band.Rounded.StoredBounds: orthogonality and forward bound of the stored factors. * NLAlib.Krylov.GolubKahan.Band.linkedSolveSpecification, NLAlib.Krylov.GolubKahan.Band.linkedSolveAlgorithm: the canonical exact certificate after linking.

Main results

* NLAlib.Krylov.GolubKahan.Band.isExactMatvecPair_link, NLAlib.Krylov.GolubKahan.Band.isMatvecPair_link, NLAlib.Krylov.GolubKahan.Band.isSample_link, NLAlib.Krylov.GolubKahan.Band.satisfies_extend_link: the contracts of the induced interpretation. * NLAlib.Krylov.GolubKahan.Band.linkedSolveRoutine_meets_exact, NLAlib.Krylov.GolubKahan.Band.Rounded.linkedSolveRoutine_meets: the linked routine meets the exact, resp. rounded, specification of the driver. * NLAlib.Krylov.GolubKahan.Band.accounts_linkTable, NLAlib.Krylov.GolubKahan.Band.push_solveCount: accounting of the table. * NLAlib.Krylov.GolubKahan.Band.runs_linkedSolve, NLAlib.Krylov.GolubKahan.Band.runs_linkedSolve_rsvd, NLAlib.Krylov.GolubKahan.Band.Rounded.runs_linkedSolve: total counted execution. * NLAlib.Krylov.GolubKahan.Band.Rounded.storedBounds_of_storedOut: the bounds of a rounded run. * NLAlib.Krylov.GolubKahan.Band.linked_certifies: total certification of the linked program.

Declarations