Proof using.
intros. eapply deduplicate_log'_snoc_drop_es; eauto.
Qed.

(* Specifications: *)
Lemma deduplicate_log'_snoc_split :
forall es ks e,
(forall e', In e' es -> eClient e' = eClient e -> eId e' < eId e) ->
(forall i, assoc clientId_eq_dec ks (eClient e) = Some i -> i < eId e) ->
deduplicate_log' (es ++ [e]) ks = deduplicate_log' es ks ++ [e].