Proof using.
unfold raft_net_invariant_state_same_packet_subset, logs_sorted.
intuition; simpl in *.
- unfold logs_sorted_host in *.
intros. find_reverse_higher_order_rewrite. eauto.
- eapply logs_sorted_nw_packets_unchanged with (st' := (nwState net')); eauto.
- eapply packets_gt_prevIndex_packets_unchanged with (st' := (nwState net')); eauto.
- eapply packets_ge_prevTerm_packets_unchanged with (st' := (nwState net')); eauto.
Qed.

(* Specifications: *)
Theorem logs_sorted_reboot :
raft_net_invariant_reboot logs_sorted.