Proof using.
unfold refined_raft_net_invariant_do_generic_server, leaderLogs_sorted.
intros. subst. simpl in *. find_higher_order_rewrite.
update_destruct_simplify.
- match goal with
| [ H : _, H' : _ |- _ ] =>
eapply H; rewrite H'; simpl; eauto
end.
- eauto.
Qed.

(* Specifications: *)
Lemma leaderLogs_sorted_state_same_packet_subset :
refined_raft_net_invariant_state_same_packet_subset leaderLogs_sorted.