NLA-lib Explorer

The loop of the column-wise two-pass Gram–Schmidt extension

Library · Source module

The loop of the column-wise two-pass Gram–Schmidt extension

The loop over the columns of NLAlib.CGS2.cgs2Extend with its invariant: the new columns, the reduced columns and the coefficient columns before the current one are each read as one block, the columns of the block from the current one on hold the words read at entry, and every column before the current one satisfies NLAlib.CGS2.ColOut against the basis followed by the earlier new columns. The result is the contract of a basis extension for every predicate on the decoded matrices that follows from the relations of the columns; the exact and the rounded contract are two instances.

Main definitions

* NLAlib.CGS2.ColsDone: the relations of the columns before the current one. * NLAlib.CGS2.ColsStored: the invariant of the loop on the store.

Main results

* NLAlib.CGS2.ColsDone.succ: one more column. * NLAlib.CGS2.round_writes: a round keeps the invariant. * NLAlib.CGS2.cgs2ExtendRoutine_meets_of: the program satisfies the contract of a basis extension for every predicate implied by the relations of its columns.

Declarations