Proof using.
red. unfold lastApplied_le_commitIndex. intros.
subst.
simpl in *. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
find_copy_apply_lem_hyp doGenericServer_commitIndex.
find_copy_apply_lem_hyp doGenericServer_lastApplied.
repeat find_rewrite.
erewrite Max.max_r in *; eauto.
Qed.

Lemma lastApplied_le_commitIndex_clientRequest :
raft_net_invariant_client_request lastApplied_le_commitIndex.