Arena cost bounds for locally completing ranges #
A saved local result finishes the actual body normally, then leaves through the masked false guard. The represented mathematical phase distinguishes this path from a continuing round without adding a source variable or another loop. The completed guard retains its own cost certificate at the actual final heap.
This rule reuses StmtArenaCostBound.while_model. It neither proves termination
again nor replaces a local result by an enclosing function return. Positive
stride, word ranges and sufficient capacity are not needed to bound an already
supplied ready execution.
Bound the same local-completion range using its heap-indexed single-round
observations. Continuing rounds preserve the mathematical invariant. Completing
rounds retain the cursor and pay for the stopped guard as well as the normal
round and false-exit overheads, namely 10 + 11. No invariant on the completed
mathematical state is imposed, but its state and saved-result representations
remain available to the completed guard's cost certificate.