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

(* Specifications: *)
Lemma match_index_all_entries_timeout :
refined_raft_net_invariant_timeout match_index_all_entries_inv.