Proof using.
unfold reboot, candidateEntries.
intros.
break_exists.
exists x.
break_and.
rewrite update_fun_comm. simpl in *.
update_destruct; subst; rewrite_update; auto.
repeat find_rewrite. simpl in *. intuition. discriminate.
Qed.

Lemma candidate_entries_reboot :
refined_raft_net_invariant_reboot CandidateEntries.