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

(* Specifications: *)
Lemma handleRequestVoteReply_currentTerm :
forall h st h' t r x,
x <= currentTerm st ->
x <= currentTerm (handleRequestVoteReply h st h' t r).