Proof using lmi smsi misi si.
intros.
apply raft_net_invariant'; auto.
- apply state_machine_init.
- apply state_machine_client_request.
- apply state_machine_timeout.
- apply state_machine_append_entries.
- apply state_machine_append_entries_reply.
- apply state_machine_request_vote.
- apply state_machine_request_vote_reply.
- apply state_machine_do_leader.
- apply state_machine_do_generic_server.
- apply state_machine_state_same_packet_subset.
- apply state_machine_reboot.
Qed.

Lemma client_cache_correct_do_generic_server :
raft_net_invariant_do_generic_server' client_cache_correct.