NLA-lib Explorer

Measurable memories and runs

Library · Source module

Measurable memories and runs

A memory is observed through NLAlib.Ops.Mem.obs (position, buffer count, buffer lengths and cells); the σ-algebra on memories is the one this observation generates. A step on memories that is given the tape is measurable (NLAlib.Ops.MeasurableRun) when its success flag and its result are measurable in the tape and the memory; the combinators of this file build measurable steps from measurable parts (sequence, branch, iteration, the loop with early exit, steps indexed by a measurable count). The tape cut at a position (NLAlib.Ops.Tape.cut) is a function of the past, and a step that reads the tape only up to its end position gives the same result under it (NLAlib.Ops.Follows.cut_of_eq).

Main definitions

* NLAlib.Ops.Mem.obs, NLAlib.Ops.Mem.instMeasurableSpace, NLAlib.Ops.MeasurableRun, NLAlib.Ops.Tape.cut, NLAlib.Ops.Tape.unshift.

Main results

* NLAlib.Ops.Mem.measurable_iff, .measurable_push, .measurable_pop, .measurableSet_shape_eq, .measurableSet_live. * NLAlib.Ops.MeasurableRun.bind, .ite, .indexed, .bind_value, .iter, .whileIter. * NLAlib.Ops.Follows.eq_of_agree, .cut_of_eq, .eq_of_cut; NLAlib.Ops.Tape.measurable_cut.

Declarations