Proof using.
unfold update_elections_data_appendEntries.
intros. break_let. break_match; auto.
break_if; auto.
simpl. intuition.
Qed.

Lemma update_elections_data_request_vote_votesWithLog_old :
forall (h : name)
(st : electionsData *
RaftState.raft_data term name entry logIndex serverType data clientId output)
(t : nat) (src : fin N) (lli llt : nat)
(t' : term) (h' : name) (l' : list entry),
In (t', h', l') (votesWithLog (fst st)) ->
In (t', h', l')
(votesWithLog (update_elections_data_requestVote h src t src lli llt st)).