NLA-lib Explorer

The noisy product implemented with a drawn probe, and the linked iteration

Library · Source module

The noisy product implemented with a drawn probe, and the linked iteration

The implementation of nmv [n] [x] [y]: y := A x by the exact product, a Gaussian probe g drawn into scratch, the norm of x and its multiple by σ in a scratch cell, then y := y + (σ ‖x‖) g. The probe and the cell are freed at the end of the call: the caller is left with y and a tape position n further, and nothing that holds the noise.

Main results

* NLAlib.Ops.Examples.nmvRoutine_satisfies: the implementation satisfies the contract of nmv with the noise function noiseFn, whose conditional law is that of A v + σ ‖v‖ g (isNoisyMv_noiseFn). * NLAlib.Ops.Examples.noisy_certifies: the certificate of the profile: contract, counts, n + 1 scratch cells, window n by the window lemma. * NLAlib.Ops.Examples.runsLaw_npow_link: the corollary for the noisy power iteration linked through this profile and then through the vector draw by scalar draws, by one application of the law-level linking lemma to the composed certificate.

Declarations