Proof using misi.
red. unfold state_machine_log in *. simpl in *. intros.
find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
erewrite handleClientRequest_stateMachine; eauto.
erewrite handleClientRequest_preserves_lastApplied_entries; eauto.
Qed.

Lemma state_machine_do_leader :
raft_net_invariant_do_leader' state_machine_log.