Ltac fix_data :=
    do 2 (unfold raft_data in *; simpl in *).Ltac contradict_maxIndex :=
    exfalso; find_apply_lem_hyp maxIndex_is_max;
    try (fix_data; omega);
    eapply entries_sorted_invariant; eauto.

Lemma allEntries_log_matching_client_request : refined_raft_net_invariant_client_request allEntries_log_matching_inductive.