Proof using.
unfold refined_raft_net_invariant_reboot, leaderLogs_sublog.
unfold reboot.
simpl. intuition.
repeat find_higher_order_rewrite.
subst.
repeat update_destruct_max_simplify; simpl in *; try discriminate;
match goal with
| [ H : _, H' : _ |- _ ] => solve [eapply H; eauto; rewrite H'; eauto]
end.
Qed.

Theorem leaderLogs_sublog_invariant :
forall net,
refined_raft_intermediate_reachable net ->
leaderLogs_sublog net.