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 mapsto_getYES sh t v v' phi : writable0_share sh -> app_pred (mapsto sh t v v') phi -> app_pred (mapsto Share.Rsh t v v') (getYES phi).