Proof using rmri lalcii rri.
unfold commit_invariant, commit_recorded_committed, commit_recorded, commit_invariant_host.
intuition;
repeat find_rewrite_lem deghost_spec;
repeat find_rewrite_lem msg_deghost_spec';
rewrite msg_deghost_spec';
apply lifted_committed_committed; auto.
eauto using le_trans, msg_lifted_lastApplied_le_commitIndex.
Qed.

Lemma handleClientRequest_currentTerm :
forall h st client id c out st' ms,
handleClientRequest h st client id c = (out, st', ms) ->
currentTerm st' = currentTerm st.