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

(* Specifications: *)
Lemma no_entries_past_current_term_timeout :
raft_net_invariant_timeout no_entries_past_current_term.