Budget-free total correctness of lower-bound search #
The body follows the existing parameterized search step. The loop terminates
by strict descent of the natural interval length hi - lo; the stronger
halving property comes from the shared search invariant. No instruction count,
compiler register boundary or proposed time bound appears in these proofs.
The loop accepts the full search invariant, so a caller can initialize its own named endpoints and retain the original shared state in the postcondition. Array-read safety, representable midpoint arithmetic, sortedness and the actual exit specification are the same as in the search core.
One safe search step, proved directly through budget-free statement rules. The midpoint read must lie in the source heap; no time contract is erased here.
An active iteration preserves the shared search invariant and halves its interval. This is a functional fact about the actual safe successor state.
The initialized search interval terminates with the lower-bound result and the original shared-state frame. Its variant measures progress, not runtime.