Proof using lmi smsi misi si.
red. unfold client_cache_keys_correct in *. simpl in *. intros. subst.
find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
erewrite handleAppendEntries_clientCache; eauto.
erewrite handleAppendEntries_preserves_lastApplied_entries; eauto.
Qed.

Lemma client_cache_keys_correct_append_entries_reply :
raft_net_invariant_append_entries_reply' client_cache_keys_correct.