Proof using.
red. unfold match_index_leader in *. simpl in *. intros.
repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
find_copy_apply_lem_hyp handleRequestVoteReply_matchIndex.
intuition; repeat find_rewrite; eauto.
erewrite handleRequestVoteReply_log; eauto.
Qed.

Lemma match_index_leader_append_entries :
raft_net_invariant_append_entries match_index_leader.