Definition REACH_closed m (X: Values.block -> bool) : Prop :=
  (forall b, REACH m X b = true -> X b = true).Definition mapped (j:meminj) b : bool :=
  match j b with None => false | Some _ => true end.

Lemma restrict_mapped_closed_triv: forall j m X, REACH_closed m (fun b => mapped j b && X b) = REACH_closed m (mapped (restrict j X)).