NLA-lib Explorer

Probabilistic backward steps

Library · Source module

Probabilistic backward steps

A probabilistic backward step NLAlib.Ops.PBackwardStep is the probabilistic form of NLAlib.Ops.BackwardStep: there are good sets of tapes, as for NLAlib.Ops.PWrites, such that from every memory holding a state a the run writes only its footprint and ends in a memory holding a state reached from a with backward error at most \varepsilon, for every good tape; the good set fails with probability at most \varphi. The good set depends on the memory only: a good set for each state would have to be chosen measurably in the memory when a memory holds several states, which fails in general, so the specification is not ∀ a, PWrites …; it gives one (NLAlib.Ops.PBackwardStep.pwrites).

The rules mirror those of NLAlib.Ops.BackwardStep: backward errors and failure probabilities both add, and every failure bound that is added after another is nonnegative.

Main definitions

* NLAlib.Ops.PBackwardStep.

Main results

* NLAlib.Ops.PBackwardStep.mono, .of_backwardStep, .pwrites, .seq, .loop, .ite, .whileFuel.

Declarations