Proof using rmri tsi glemi lphogli glci miaei lalcii rlmli smspi si rri.
intros.
apply lower_prop; intros; auto.
apply msg_lower_prop with (P := fun net => _ (deghost net)); intros; auto.
find_apply_lem_hyp everything_invariant.
unfold everything in *. intuition.
Qed.

Theorem maxIndex_sanity_invariant :
forall net,
raft_intermediate_reachable net ->
maxIndex_sanity net.