The rounded shifting strategy
Library · Source module
The rounded shifting strategy
The shifting strategy \mathrm{Sh}_{k,B} of [BanksGarzaVargasSrivastava2022, Lemma 5.4] in floating point: from \theta-optimal shifts, Find selects a promising one, r; if the rounded \tau_{(z - r)^k}(\mathbf{H})^k (comptau of the rounded step) is below the rounded (1 - \gamma)^k\psi_k(\mathbf{H})^k, the rounded step with r is the output; otherwise the exceptional shifts around r are tried in turn, and one of them decouples or contracts the potential except with probability \varphi (the random translate of Exc). A flag word records whether a step was taken (1) or no trial succeeded (2, a failure word the paper's Sh does not have: it has no branch for the case that no shift is accepted).
Main definitions
* NLAlib.ShiftedQR.shStep: the program; NLAlib.ShiftedQR.ShOutcome: its outcome.
Main results
* NLAlib.ShiftedQR.potential_contract_of_comptau_lt, NLAlib.ShiftedQR.norm_inv_le_of_le_comptau: the two branches of the comptau test. * NLAlib.ShiftedQR.shTestStep_writes: the computation of the test. * NLAlib.ShiftedQR.shAccept_decoupled_or_contract, NLAlib.ShiftedQR.shAccept_writes: the accepted step.
The assembly, Sh as a probabilistic block, is in NLAlib.Eigensolvers.ShiftedQR.RoundedShStep.
Declarations
- NLAlib.ShiftedQR.ShState1
- NLAlib.ShiftedQR.ShState2
- NLAlib.ShiftedQR.ShState3
- NLAlib.ShiftedQR.ShState3.shExcPre
- NLAlib.ShiftedQR.norm_inv_le_of_le_comptau
- NLAlib.ShiftedQR.potential_contract_of_comptau_lt
- NLAlib.ShiftedQR.pow_mul_le_pow_of_two_le
- NLAlib.ShiftedQR.shAccept_decoupled_or_contract
- NLAlib.ShiftedQR.shAccept_writes
- NLAlib.ShiftedQR.shDecide
- NLAlib.ShiftedQR.shFind_writes
- NLAlib.ShiftedQR.shPotential_writes
- NLAlib.ShiftedQR.shPrefix
- NLAlib.ShiftedQR.shStep
- NLAlib.ShiftedQR.shStepWithScratch
- NLAlib.ShiftedQR.shTestStep
- NLAlib.ShiftedQR.shTestStep_writes
- NLAlib.ShiftedQR.shTest_writes
- NLAlib.ShiftedQR.shThreshold
- NLAlib.ShiftedQR.shThreshold_writes