NLA-lib Explorer

Invariant-sensitive congruence for bounded iteration

Library · Source module

Invariant-sensitive congruence for bounded iteration

An implementation change need only agree on states reachable under a preserved invariant. The rules below compare the actual bounded iterators, including early termination and failure. They support environment/context transformations without imposing a global interpreter law on memories that cannot arise in the program.

Main results

* NLAlib.Ops.iter_congr_of_invariant: fixed-count iteration. * NLAlib.Ops.whileIter_congr_of_invariant: iteration with a stopping test.

Declarations