(** Elements [a] and [b] join. *)
Definition joins {A} {J: Join A} (a b : A) : Prop :=
exists c, join a b c.
Definition overlap {A}{J: Join A} (a b: A) := ~(joins a b).

Lemma join_joins {A} {J: Join A}: forall {a b c},
join a b c -> joins a b.