Definition eqmap (m m':Map A) := eqm A (MapGet A m) (MapGet A m').

Lemma MapDomRestrTo_By_comm : forall (m:Map A) (m':Map B) (m'':Map C), eqmap (MapDomRestrTo A C (MapDomRestrBy A B m m') m'') (MapDomRestrBy A B (MapDomRestrTo A C m m'') m').