Proof using.
unfold update_elections_data_requestVote.
intros.
repeat break_match; repeat tuple_inversion; intuition;
simpl in *; intuition;
tuple_inversion; intuition; repeat (do_bool; intuition);
try congruence;
unfold raft_data, ghost_data in *; simpl in *;
repeat find_rewrite; repeat find_inversion;
find_copy_apply_lem_hyp handleRequestVote_currentTerm_leaderId;
intuition;
find_apply_lem_hyp handleRequestVote_currentTerm_leaderId'; repeat find_rewrite; try congruence; intuition.
Qed.

Lemma allEntries_votesWithLog_request_vote :
refined_raft_net_invariant_request_vote allEntries_votesWithLog.