Proof using.
intros.
exists (dedup name_eq_dec l). intuition; eauto using NoDup_dedup, in_dedup_was_in.
unfold wonElection in *.
do_bool. omega.
Qed.

Lemma leaderLogs_votesWithLog_request_vote_reply :
refined_raft_net_invariant_request_vote_reply leaderLogs_votesWithLog.