Framing a procedure judgment by footprints #
EasyCrypt's call keeps everything the two callees do not touch (its module restrictions frame
the rest of the memory). prhlProc_frame_lens is that for procedures confined to footprints: a
relation between a lens outside the left callee's footprint and one outside the right callee's is
added to both conditions (hoareProc_frame on each side). prhlProc_frame_equal_outside is
its instance at the complement of a lens L: callees that only touch L keep the states equal
outside L (Lens.equal_outside), the frame of prhlProc_abstract_call_equal_outside_module's
oracle premise.
The frame rule for footprints: a relation R between X₁ (untouched by p₁) and X₂
(untouched by p₂) is kept.
Callees confined to L keep the states equal outside L (prhlProc_frame_lens at the
complement of L).
prhlProc_frame_equal_outside for modules' procedures, by their footprints.