Proof using.
unfold update_elections_data_requestVoteReply.
intros.
repeat break_match; auto.
simpl in *. intuition.
find_inversion. right.
unfold handleRequestVoteReply in *.
repeat break_match; simpl in *; intuition; try congruence;
break_if; try congruence; do_bool; eauto using le_antisym.
Qed.

(* Specifications: *)
Lemma wonElection_length :
forall votes,
wonElection votes = true ->
length votes > div2 (length nodes).
Lemma leaderLogs_preserved_request_vote_reply :
refined_raft_net_invariant_request_vote_reply leaderLogs_preserved.