Proof using.
intros. unfold handleTimeout, tryToBecomeLeader in *.
repeat break_match; find_inversion; simpl in *; intuition.
Qed.

(* Specifications: *)
Lemma handleClientRequest_candidate :
forall h st client id c os st' m,
handleClientRequest h st client id c = (os, st', m) ->
type st' = Candidate ->
st' = st.