Arguments InA {A}{eqA} x _.
Arguments AMap.In {elt} x m.

Lemma lockRes_range_dec: forall tp b ofs,
{ (exists z, z <= ofs < z+LKSIZE /\ lockRes tp (b,z) )%Z  } + {(forall z, z <= ofs < z+LKSIZE -> lockRes tp (b,z) = None)%Z }.