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 field_at_getYES CS sh t gfs v v' phi : writable0_share sh -> app_pred (@field_at CS sh t gfs v v') phi -> app_pred (@field_at CS Share.Rsh t gfs v v') (getYES phi).