Program Definition getYES (phi : rmap) := proj1_sig (make_rmap (getYES_aux phi) (ghost_of phi) (level phi) _ _).Program Definition getNO (phi : rmap) := proj1_sig (make_rmap (getNO_aux phi) (core (ghost_of phi)) (level phi) _ _).

Lemma memory_block_getYES sh z v phi : writable0_share sh -> app_pred (memory_block sh z v) phi -> app_pred (memory_block Share.Rsh z v) (getYES phi).