Proof using rmri tsi glemi lphogli glci miaei lalcii rlmli smspi si rri.
intros.
apply msg_refined_raft_net_invariant'; auto.
- apply everything_init.
- apply everything_client_request.
- apply everything_timeout.
- apply everything_append_entries.
- apply everything_append_entries_reply.
- apply everything_request_vote.
- apply everything_request_vote_reply.
- apply everything_do_leader.
- apply everything_do_generic_server.
- apply everything_state_same_packet_subset.
- apply everything_reboot.
Qed.

(* Specifications: *)
Theorem state_machine_safety_invariant :
forall net,
raft_intermediate_reachable net ->
state_machine_safety net.