Module Type SHARE_MODEL.
Include BA_FACTS.
Parameter EqDec_share: EqDec t.
Existing Instance EqDec_share.
(* Splittability *)
Parameter split : t -> t * t.
(* Token factories *)
Parameter isTokenFactory : t -> nat -> Prop.
Parameter isToken : t -> nat -> Prop.
Parameter create_token : nat -> t -> (t*t).
Parameter split_token : nat -> t -> t*t.
(* relativization *)
Parameter rel : t -> t -> t.

Axiom rel_inj_l : forall a x y, a <> bot -> rel a x = rel a y -> x = y.
Axiom rel_inj_r : forall a b x, x <> bot -> rel a x = rel b x -> a = b.