Proof using rmri.
intros.
eapply lifted_committed_log_allEntries_preserved; eauto;
intros; repeat find_higher_order_rewrite; update_destruct_simplify; auto.
now erewrite doGenericServer_log by eauto.
Qed.

Lemma commit_invariant_do_generic_server :
msg_refined_raft_net_invariant_do_generic_server commit_invariant.