Proof using.
unfold raft_net_invariant_timeout.
intros.
unfold handleTimeout in *.
break_match;
try solve [
find_apply_lem_hyp tryToBecomeLeader_spec; eauto;
do_state_same_packet_subset; do_in_map; subst;
simpl in *; exfalso; find_apply_hyp_hyp; repeat eexists; eauto
].
do_state_same_packet_subset.
repeat find_higher_order_rewrite.
break_if; simpl in *; subst; reflexivity.
Qed.

(* Specifications: *)
Lemma handleRequestVote_doesn't_send_AE :
forall h st t n lli llt d m,
handleRequestVote h st t n lli llt = (d, m) ->
~ is_append_entries m.