Proof using lpholli si nisi lhllsi lllmi llci rlmli llsi rri.
intros.
apply refined_raft_net_invariant; auto.
- apply logs_leaderLogs_inductive_init.
- apply logs_leaderLogs_inductive_clientRequest.
- apply logs_leaderLogs_inductive_timeout.
- apply logs_leaderLogs_inductive_appendEntries.
- apply logs_leaderLogs_inductive_appendEntriesReply.
- apply logs_leaderLogs_inductive_requestVote.
- apply logs_leaderLogs_inductive_requestVoteReply.
- apply logs_leaderLogs_inductive_doLeader.
- apply logs_leaderLogs_inductive_doGenericServer.
- apply logs_leaderLogs_inductive_state_same_packets_subset.
- apply logs_leaderLogs_inductive_reboot.
Qed.

Theorem logs_leaderLogs_invariant :
forall net,
refined_raft_intermediate_reachable net ->
logs_leaderLogs net.