Realizing pure native finite ranges #
Native guard and body observations expose the actual cursor, mutable values, fixed captures and heap. A high-level invariant supplies the word-range and callee-realization conditions of the same source blocks. Only normal body completion must preserve that invariant, after the actual cursor increment; an early return neither increments the cursor nor starts another round.
RealizationWP.while_range_encoded_of_total retains an existing source total
specification and its postconditions. RealizationWP.while_range_encoded_invariant
obtains finite source execution directly from the existing native range
observation theorem and retains the invariant on normal exit. Its weaker
RealizationWP.while_range_encoded corollary forgets that exit property. No rule
introduces a second termination argument, block contract, execution semantics
or instruction budget.
Realize an already total source range while retaining its postconditions. The only preservation obligation concerns the native next value of a normal body step. Guard and body realization still check their actual operations, including the cursor increment on a normal path and encoded early returns.
Realize a pure positive-step source range and retain its invariant and fixed captures on normal exit. Invariant preservation follows the already finite source execution; it requires no second termination proof. An early function return does not have to preserve the normal-round invariant.
Forget the normal-exit invariant after realizing the same pure finite range. Normal and early-return outcomes both remain possible.