Proof using.
red. intros.
split; red; intros; simpl in *; intuition;
unfold ghost_log_entries_match in *; break_and.
- find_apply_hyp_hyp. repeat find_reverse_higher_order_rewrite. eauto.
- repeat find_apply_hyp_hyp. eauto.
Qed.

Lemma ghost_log_entries_match_invariant :
forall net,
msg_refined_raft_intermediate_reachable net ->
ghost_log_entries_match net.