Proof using.
intros.
unfold update_elections_data_client_request.
unfold handleClientRequest in *.
repeat break_match; repeat tuple_inversion; auto.
- discriminate.
- do_bool. find_rewrite. omega.
- do_bool. find_rewrite. omega.
- simpl in *. right. intuition. exists e. find_inversion. simpl. intuition.
- simpl in *. do_bool. omega.
Qed.

Lemma update_elections_data_requestVoteReply_allEntries :
forall h h' t  st r,
allEntries (update_elections_data_requestVoteReply h h' t r st) = allEntries (fst st).