Proof using.
red. unfold leaderLogs_votesWithLog. intros. simpl in *.
match goal with
| H : nwState ?net ?h = (?gd, ?d) |- _ =>
replace gd with (fst (nwState net h)) in * by (rewrite H; reflexivity);
replace d with (snd (nwState net h)) in * by (rewrite H; reflexivity);
clear H
end.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto;
solve [eapply quorum_preserved; [|eauto];
intros;
find_higher_order_rewrite; destruct_update; simpl in *; eauto;
auto].
Qed.

Lemma leaderLogs_votesWithLog_state_same_packet_subset :
refined_raft_net_invariant_state_same_packet_subset leaderLogs_votesWithLog.