The cells a framed method or an allocation writes #
A method run of a framed refinement changes an allocated cell only in its footprint, and it
advances the frontier by at most the room it gives up, so the cells it allocates lie in the room
reserved above the old frontier. An admissible run changes no cell at or above its final
frontier. So a method run writes only the footprint and the reserved room, the region of the
structure (Framed.region, Framed.mem_eq_of_not_mem_region). An allocation changes no
allocated cell, and allocates only within the room it takes, so it writes only that room
(Allocates.mem_eq_of_not_mem). These are the memory side of the native frame theorems of
Realization.Backend.
Main definitions #
Memory.Framed.region: the footprint and the room reserved above the frontier.
Main results #
Memory.Framed.mem_eq_of_not_mem_region: a method run writes only the region.Memory.Framed.region_eq_footprint: without room, the region is the footprint.Memory.Allocates.mem_eq_of_not_mem: an allocation writes only the room it takes.
The cells that a method run of M from s may write: the footprint, and the room reserved
above the frontier.
A method run writes only the region: an allocated cell outside the footprint is kept
by Framed.modifies, and a cell beyond the reserved room lies at or above the final frontier.
An allocation writes only the room it takes: it keeps every allocated cell, and every cell beyond its room lies at or above its final frontier.