NLA-lib Explorer

Closed models generated from local primitive functions

Library · Source module

Closed models generated from local primitive functions

An exhaustive assignment of block functions generates every operation contract and a jointly realizing interpretation. Comparisons read only their declared scalar operands. The model contains no whole-program predicate. Primitive functions and their resource weights remain explicit specification choices; this constructor proves their consistency.

Main results

* NLAlib.Ops.Functional.interp interprets the declared local block functions. * NLAlib.Ops.Functional.model supplies a jointly realized closed operation model. * NLAlib.Ops.Functional.isFn recovers any declared functional primitive contract. * NLAlib.Ops.Functional.isCmp recovers the exact operand comparison contracts.

Declarations