NLA-lib Explorer

A routine on stored data

Library · Source module

A routine on stored data

A routine written against an operation that only an oracle provides (a product with a matrix) becomes a routine on stored data by forwarding the data to every call of that operation: the data blocks are new leading operands, isolated, and each call of the operation is replaced by an implementation that reads them (NLAlib.Ops.Stmt.linkContext). NLAlib.Ops.Routine.withData is that routine, and NLAlib.Ops.Routine.Meets.withData gives its judgment from the judgment of the matrix-free routine under the interpretation in which the operation reads the stored words (NLAlib.Ops.Interp.withData). No other proof about the tree is needed.

Main definitions

* NLAlib.Ops.Routine.withData: a routine with its data forwarded to a context table. * NLAlib.Ops.Interp.withData: the interpretation of the matrix-free operations on the data. * NLAlib.Ops.Routine.Spec.onData: the specification of a routine on stored data.

Main results

* NLAlib.Ops.Routine.Meets.withData: the judgment of a routine on stored data.

Declarations