Example: a routine implements an operation
Library · Source module
Example: a routine implements an operation
The routine NLAlib.Ops.Examples.Routines.sum implements the operation contract of sum of the level-one catalog: its admission, an output in a buffer different from that of the input, is the separation of the routine. The certificate of the implementation against the contract is then a consequence of NLAlib.Ops.Routine.Meets, with no second proof about the tree.
Main results
* NLAlib.Ops.Examples.Routines.sum_implements: the routine implements the contract. * NLAlib.Ops.Examples.Routines.sum_satisfies: the implementation satisfies the contract.