Proof using.
intros.
unfold handleAppendEntriesReply, advanceCurrentTerm in *.
repeat (break_match; try find_inversion; simpl in *; auto).
Qed.

(* Specifications: *)
Lemma advanceCurrentTerm_clientCache :
forall st t,
clientCache (advanceCurrentTerm st t) = clientCache st.
Lemma advanceCurrentTerm_stateMachine :
forall st t,
stateMachine (advanceCurrentTerm st t) = stateMachine st.