Proof using.
induction l1; intros; simpl in *.
- destruct l2; simpl in *; intuition; subst; auto.
break_if; try congruence. do_bool.
find_apply_hyp_hyp. intuition. omega.
- simpl in *. break_if; try congruence.
do_bool. find_inversion. intuition.
Qed.

Lemma append_entries_leaderLogs_doLeader :
refined_raft_net_invariant_do_leader append_entries_leaderLogs.