Proof using lsi rri.
red. unfold allEntries_leader_sublog. intros. simpl in *.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto;
do_in_map; subst;
destruct x; simpl in *.
- find_eapply_lem_hyp update_elections_data_appendEntries_log_allEntries_leader; eauto.
intuition.
repeat find_rewrite; eauto.
- find_eapply_lem_hyp update_elections_data_appendEntries_log_allEntries_leader; eauto.
intuition.
repeat find_rewrite; eauto.
- find_eapply_lem_hyp update_elections_data_appendEntries_allEntries_term'; eauto.
intuition;
eauto using lifted_leader_sublog_nw.
Qed.

Lemma allEntries_leader_sublog_append_entries_reply :
refined_raft_net_invariant_append_entries_reply allEntries_leader_sublog.