Proof using.
intros.
unfold cronies_correct in *; intuition.
eapply wonElection_no_dup_in;
eauto using NoDup_dedup, in_dedup_was_in, dedup_In.
Qed.

(* Specifications: *)
Lemma handleRequestVoteReply_preserves_candidate_entries :
forall net h h' t r st' e,
st' = handleRequestVoteReply h (snd (nwState net h)) h' t r ->
refined_raft_intermediate_reachable net ->
candidateEntries e (nwState net) ->
candidateEntries e (update name_eq_dec (nwState net) h
(update_elections_data_requestVoteReply h h' t r (nwState net h),
st')).