Proof using.
unfold handleTimeout, tryToBecomeLeader; intros; repeat break_match; repeat find_inversion; auto.
Qed.

(* Specifications: *)
Lemma handleAppendEntriesReply_same_commitIndex :
forall n st src t es b st' l,
handleAppendEntriesReply n st src t es b = (st', l) ->
commitIndex st' = commitIndex st.