Proof using.
red. unfold allEntries_term_sanity. intros.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
find_rewrite_lem update_elections_data_requestVoteReply_allEntries.
find_apply_hyp_hyp.
unfold handleRequestVoteReply, advanceCurrentTerm.
repeat break_match; simpl in *; repeat find_inversion; do_bool; simpl in *; auto.
omega.
Qed.

Lemma allEntries_term_sanity_client_request :
refined_raft_net_invariant_client_request allEntries_term_sanity.