Proof using.
induction c; intros; simpl in *; intuition.
simpl.
break_if; simpl in *; eauto.
f_equal. eauto.
Qed.

Lemma applyEntries_execute_log' :
forall l h st os st',
applyEntries h st l = (os, st') ->
stateMachine st' = (snd (execute_log'
(deduplicate_log' l (clientCache_to_ks (clientCache st)))
(stateMachine st) [])).