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.

Axiom fullFactory : forall x, isTokenFactory x 0 <-> x = top.
Axiom identityToken : forall x, isToken x 0 <-> x = bot.