Proof using.
unfold refined_raft_net_invariant_request_vote_reply, allEntries_leaderLogs_term.
simpl. intros.
repeat find_higher_order_rewrite.
destruct_update.
- simpl in *. find_rewrite_lem update_elections_data_requestVoteReply_allEntries.
find_apply_hyp_hyp.
intuition.
right.
break_exists_exists.
find_higher_order_rewrite.
destruct_update.
+ simpl. intuition.
apply update_elections_data_requestVoteReply_old.
auto.
+ auto.
- find_apply_hyp_hyp.
intuition.
right.
break_exists_exists.
find_higher_order_rewrite.
destruct_update.
+ simpl. intuition.
apply update_elections_data_requestVoteReply_old.
auto.
+ auto.
Qed.

Lemma allEntries_leaderLogs_term_do_leader :
refined_raft_net_invariant_do_leader allEntries_leaderLogs_term.