NLA-lib Explorer

Isolated buffers: context snapshots without a buffer order

Library · Source module

Isolated buffers: context snapshots without a buffer order

The isolated buffers are those satisfying an arbitrary predicate C on handles: the ordinary capabilities of a tree avoid C, and the buffers in C keep their lengths and cells. A stored operand can then be in any buffer different from the buffers the tree may write.

Main definitions

* NLAlib.Ops.Env.Avoids: no buffer capability of the environment is isolated. * NLAlib.Ops.Store.On: two stores agree on the isolated buffers. * NLAlib.Ops.Mem.Isolated: the isolated buffers are live and hold the reference words. * NLAlib.Ops.Interp.guardIsolated: the guarded source interpretation.

Main results

* NLAlib.Ops.BlockRel.isolated_of_post: a local post with non-isolated outputs keeps the isolated buffers. * NLAlib.Ops.Interp.satisfies_guardIsolated: global source laws from local primitive contracts.

Declarations