Keeping semantic memory views through frames #
The existing finite-footprint assertions and block/list representations transport along ordinary
Set.EqOn frames. The frame may cover more than the live view: unused cells need not have a
specified value. Compose frames with Set.EqOn.trans; Modifies.eqOn connects finite write
footprints to the same interface. None of these rules requires initialization or disjointness
between read-only views.
Main results #
HeapAssertion.keep: retain an assertion whose footprint lies inside an equality frame.Block.Realizes.keep,Block.HoldsList.keep: retain exact array and list readback.Modifies.eqOn: reads disjoint from the permitted writes agree.ram_keep h using hf: apply a keep rule and check interval containment withomega.
An equality frame retains every assertion whose finite support it covers. Read-only views may overlap; only the required equality on their live cells matters.
Exact block readback survives an equality frame containing the block.
List readback survives an equality frame containing its occupied cells.
Retain an existing semantic memory view using an equality frame. The tactic only discharges containment of its support; the caller supplies the view and the actual memory frame.
Retain a block or list through one actual store outside its occupied interval. This uses
Block.Realizes.update_of_not_owns; the dirty cell's stored value is unrestricted.