Proof using.
unfold raft_net_invariant_timeout. intros.
unfold leader_sublog_invariant, leader_sublog_nw_invariant,
leader_sublog_host_invariant, handleTimeout, tryToBecomeLeader in *.
intuition idtac; simpl in *.
- repeat find_higher_order_rewrite; repeat break_match; repeat find_inversion;
subst; simpl in *;
intuition eauto; solve_by_inversion.
- repeat find_higher_order_rewrite; repeat break_match; repeat find_inversion;
subst; simpl in *;
intuition eauto;
find_apply_hyp_hyp; intuition eauto; try solve_by_inversion;
in_crush; repeat find_inversion; discriminate.
Qed.

Lemma leader_sublog_append_entries :
raft_net_invariant_append_entries
leader_sublog_invariant.