Proof using.
unfold refined_raft_net_invariant_do_generic_server, leaderLogs_entries_match.
intuition.
- eapply leaderLogs_entries_match_host_state_same; eauto; simpl; intros;
find_higher_order_rewrite; update_destruct_simplify; rewrite_update; auto.
+ find_rewrite. auto.
+ erewrite doGenericServer_log by eauto. find_rewrite. auto.
- eapply leaderLogs_entries_match_nw_packet_set; eauto; simpl.
+ intros. find_apply_hyp_hyp. intuition.
find_apply_lem_hyp doGenericServer_packets. subst. simpl in *. intuition.
+ intros. find_higher_order_rewrite; update_destruct_simplify; rewrite_update; auto; find_rewrite; auto.
Qed.

Lemma leaderLogs_entries_match_state_same_packet_subset :
refined_raft_net_invariant_state_same_packet_subset leaderLogs_entries_match.