Proof using rmri rlmli.
intros.
find_apply_lem_hyp msg_simulation_1.
find_eapply_lem_hyp entries_match_invariant.
repeat rewrite msg_deghost_spec' in *.
eauto.
Qed.

Lemma lifted_terms_and_indices_from_one_log : forall net h,
refined_raft_intermediate_reachable net ->
terms_and_indices_from_one (log (snd (nwState net h))).