The rounded deflation worklist in Schur mode
Library · Source module
The rounded deflation worklist in Schur mode
The deflation tree of [BanksGarzaVargasSrivastava2022, §6] (ShiftedQR, Deflate, Theorem 6.3) in floating point and in Schur form, as a worklist of active ranges. A small block goes to a Schur leaf routine; a larger block goes to a decoupling routine, which either fails, writing a failure word, or returns a perturbed unitary similarity of the block by the unitary of its slotted Givens log that is upper Hessenberg and has one of its bottom k subdiagonal entries of modulus at most \omega. The worklist then scans the bottom k subdiagonal entries of the returned block with a rounded squared-modulus test against a threshold word, cuts the last one that passes, replays the log on the couplings of the block and on the accumulator, writes an exact zero at the cut and pushes the two children. The paper's Deflate cuts "the bottom k - 1 entries smaller than \omega" while its loop exits at "\le \omega" among the bottom k: with that rule a block can recurse forever on the same loop. Here the scan covers exactly the bottom k and its threshold is chosen so that an entry of modulus at most \omega always passes.
The program uses the stack of the exact-arithmetic worklist (rangePop, stackInit), its block copies, the split (NLAlib.ShiftedQR.writeAndSplit) and the scan. The run is total and capped: the loop has the fuel 2(n+1) of the exact worklist; a failure of the decoupler, a scan that finds nothing, or work left at the cap writes the failure word 1 and empties the stack.
Main definitions
* NLAlib.ShiftedQR.RoundedDecouplingRoutineContract: the decoupler's contract with a failure word. * NLAlib.ShiftedQR.bottomScan, NLAlib.ShiftedQR.roundedDecoupleUpdate, NLAlib.ShiftedQR.roundedLeafUpdate: the scan and the Schur updates of a round. * NLAlib.ShiftedQR.solveRoundedWith: the worklist with a decoupling routine and a Schur leaf.
Main results
* NLAlib.DeflationInv.exists_isPerturbedUnitarySimilar_finish, NLAlib.DeflationInv.exists_isPerturbedUnitarySimilar_split: a leaf and a cut as one perturbed similarity.
The worklist's specification on the good tapes is NLAlib.ShiftedQR.solveRoundedWith_pwrites and its termination NLAlib.ShiftedQR.solveRoundedWith_terminates.
Declarations
- NLAlib.DeflationInv.exists_isPerturbedUnitarySimilar_finish
- NLAlib.DeflationInv.exists_isPerturbedUnitarySimilar_split
- NLAlib.DeflationInv.of_isPerturbedUnitarySimilar
- NLAlib.ShiftedQR.RoundedDecouplingRoutineContract
- NLAlib.ShiftedQR.bottomScan
- NLAlib.ShiftedQR.roundedAbort
- NLAlib.ShiftedQR.roundedDecoupleUpdate
- NLAlib.ShiftedQR.roundedLeafUpdate
- NLAlib.ShiftedQR.roundedProcessLargeWith
- NLAlib.ShiftedQR.roundedProcessRangeWith
- NLAlib.ShiftedQR.roundedWorklistRoundWith
- NLAlib.ShiftedQR.roundedWorklistWith
- NLAlib.ShiftedQR.smallEigLeaf
- NLAlib.ShiftedQR.solveRoundedWith