Ltac get_invariant i :=
    match goal with
      | H : refined_raft_intermediate_reachable _ |- _ =>
        copy_apply i H
    end.

(* Specifications: *)
Lemma in_not_nil : forall A (l : list A) x, In x l -> l <> nil.
Theorem state_machine_safety_nw'_invariant : forall net, refined_raft_intermediate_reachable net -> state_machine_safety_nw' net.