Proof using.
intros. unfold getLastId in *.
find_rewrite. auto.
Qed.
Ltac use_same_client_cache hyp :=
erewrite same_clientCache_same_getLastId in *;
[|eapply hyp]; eauto.

Lemma client_cache_correct_append_entries :
raft_net_invariant_append_entries' client_cache_correct.