(* ALL DARTS IN AN f-ORBIT ARE DISTINCT: *)  

Definition diff_orb(m:fmap)(z:dart):Prop:=
 let nr:= Iter_upb_aux m z (fmap_to_set m) in
  (diff_int m z 0 (nr - 1))%nat.

Lemma unicity_mod_p:forall(m:fmap)(z:dart)(j k:nat), inv_hmap m -> exd m z -> let p := Iter_upb m z in (j < p)%nat -> (k < p)%nat -> Iter (f m) j z = Iter (f m) k z -> j = k.