Proof with auto.
pose proof I. (* hack: shift up auto-named hyps *)
split; intro.
intros a'' ?.
destruct H1 as [a' ?].
specialize (H0 a').
apply H0. eauto. apply join_comm...
intros a' ?.
destruct H1 as [a'' ?].
rewrite <- (H0 a'') in *; eauto; clear a'' H0.
eapply unit_identity; eauto.
Qed.
(** The elements of a multi-unit separation algebra can be partitioned into equivalance classes, where two elements are in the class iff they have the same unit. *)
Definition comparable {A} `{Sep_alg A}  (a b:A)
:= core a = core b.

Lemma PermAlg_ext:
forall (T: Type) (J: @Join T) (sa1 sa2: @Perm_alg T J), sa1=sa2.