Proof using.
red. red. intros. simpl in *.
find_apply_hyp_hyp. intuition eauto.
do_in_map. subst. simpl in *.
match goal with
| H : fst _ = _ |- _ => clear H
end.
unfold handleTimeout, tryToBecomeLeader in *;
repeat break_match; repeat find_injection; simpl in *; intuition;
do_in_map; subst; simpl in *; congruence.
Qed.

Lemma no_append_entries_replies_to_self_state_same_packet_subset :
raft_net_invariant_state_same_packet_subset no_append_entries_replies_to_self.