Proof using.
intros. unfold handleRequestVote, advanceCurrentTerm in *.
repeat break_match; find_inversion; auto.
Qed.

Lemma update_elections_data_requestVote_votes_preserved :
forall t c h h' t' h'' lli llt st,
In (t, c) (votes (fst st)) ->
In (t, c)
(votes (update_elections_data_requestVote h h' t' h'' lli llt st)).