Ltac use_log_matching_nw :=
    pose proof (lifted_log_matching_nw _ ltac:(eauto));
    match goal with
      | [ H : _  |- _ ] =>
        eapply H; [|eauto];
        repeat find_rewrite; intuition
    end.

Lemma leaderLogs_entries_match_invariant : forall net, refined_raft_intermediate_reachable net -> leaderLogs_entries_match net.