Proof using.
red. unfold allEntries_leader_sublog. intros. simpl in *.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto;
do_in_map; subst;
destruct x; simpl in *;
find_copy_apply_lem_hyp handleTimeout_type;
find_apply_lem_hyp handleTimeout_log_same;
try find_rewrite_lem update_elections_data_timeout_allEntries;
intuition; repeat find_rewrite; eauto; try congruence.
Qed.

(* Specifications: *)
Lemma allEntries_leader_sublog_do_leader :
refined_raft_net_invariant_do_leader allEntries_leader_sublog.