Proof using iliaei rmri.
red. unfold ghost_log_allEntries. intros. simpl in *.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
- find_apply_hyp_hyp; intuition; eauto.
+ eapply_prop_hyp In In;
repeat find_rewrite; eauto.
+ do_in_map.
subst. simpl in *. unfold add_ghost_msg in *.
do_in_map. subst. simpl in *. unfold write_ghost_log in *.
pose proof lifted_in_log_in_all_entries_invariant (mkNetwork _ _) ltac:(eauto) (pDst p) e.
simpl in *. find_higher_order_rewrite. rewrite_update.
simpl in *. auto.
- find_apply_hyp_hyp; intuition; eauto.
do_in_map.
subst. simpl in *. congruence.
Qed.

Lemma ghost_log_allEntries_request_vote :
msg_refined_raft_net_invariant_request_vote' ghost_log_allEntries.