Proof using.
intros. unfold handleRequestVoteReply, advanceCurrentTerm in *.
repeat break_match; subst; do_bool; intuition.
Qed.

Lemma handleClientRequest_type :
forall h st client id c out st' l,
handleClientRequest h st client id c = (out, st', l) ->
type st' = type st /\ currentTerm st' = currentTerm st.