Proof using.
unfold refined_raft_net_invariant_reboot, leaderLogs_entries_match, reboot.
intuition.
- eapply leaderLogs_entries_match_host_state_same; eauto; intros; find_higher_order_rewrite;
update_destruct_simplify; rewrite_update; auto; find_rewrite; auto.
- eapply leaderLogs_entries_match_nw_packet_set; eauto; try find_rewrite; intuition.
find_higher_order_rewrite; update_destruct_simplify; rewrite_update; try find_rewrite; auto.
Qed.

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