Proof using.
unfold tryToBecomeLeader.
intros. find_inversion. simpl; intros; auto; congruence.
Qed.

(* Specifications: *)
Lemma handleRequestVote_matchIndex_preserved :
forall n st t c li lt st' ms,
handleRequestVote n st t c li lt = (st', ms) ->
matchIndex_preserved st st'.