Framing allocated Word-RAM memory #
PreservesBelow and FrameOutsideRange describe the cells retained across memory states with
nondecreasing allocation frontiers. HoldsIn combines a contiguous list representation with
its allocation bound, so the same assertion supplies both safe addresses and their contents.
Allocation and update rules propagate these predicates through individual memory operations.
Monotone memory preservation and materialized list blocks #
s₁ extends s₀'s frontier monotonically while keeping every cell below F unchanged.
A step preserving all allocated cells of the intermediate state composes with a prefix frame from the original state.
xs is stored contiguously starting at base within s's allocated frontier.
Frames around a writable interval #
Memory framing invariant: s₁ extends s₀'s frontier and preserves every previously
allocated address outside [lo, hi).