(** 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} {PA: Perm_alg A}: forall {a b c},
join a b c -> joins b a.