Proof using.
unfold refined_raft_net_invariant_reboot, appendEntries_leader, reboot.
simpl.
intros.
repeat find_higher_order_rewrite.
update_destruct_simplify.
- discriminate.
- eauto.
Qed.

(* Specifications: *)
Lemma appendEntries_leader_invariant :
forall net,
refined_raft_intermediate_reachable net ->
appendEntries_leader net.