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

Lemma gsslockSet_rem: forall ds b ofs ofs0,
lr_valid (lockRes ds) ->
Intv.In ofs0 (ofs, ofs + lksize.LKSIZE)%Z ->
isSome ((lockRes ds) (b,ofs)) ->  (*New hypothesis needed. Shouldn't be a problem *)
(lockSet (remLockSet ds (b, ofs))) !! b ofs0 =
None.