Proof using.
unfold refined_raft_net_invariant_client_request, votesWithLog_sorted.
intros. subst. simpl in *. find_higher_order_rewrite.
update_destruct_simplify; simpl in *.
- rewrite votesWithLog_update_elections_data_client_request in *.
eauto.
- eauto.
Qed.

Lemma sorted_host_lifted :
forall net h,
refined_raft_intermediate_reachable net ->
sorted (log (snd (nwState net h))).