Proof using.
unfold refined_raft_net_invariant_reboot, leaderLogs_sorted.
intros.
find_higher_order_rewrite.
update_destruct_simplify.
- match goal with
| [ H : _, H' : _ |- _ ] =>
eapply H; rewrite H'; simpl; eauto
end.
- eauto.
Qed.

(* Specifications: *)
Lemma leaderLogs_sorted_invariant :
forall net,
refined_raft_intermediate_reachable net ->
leaderLogs_sorted net.