Proof using.
intros.
unfold handleTimeout, tryToBecomeLeader, update_elections_data_timeout in *.
repeat (break_match; repeat find_inversion; simpl in *; auto);
intuition;
unfold handleTimeout, tryToBecomeLeader in *;
repeat (break_match; repeat find_inversion; simpl in *; auto); congruence.
Qed.

Lemma cronies_term_timeout :
refined_raft_net_invariant_timeout cronies_term.