Ltac term_sanity_break_update :=
    term_sanity_start_update;
    match goal with
      h : _ |- _ => eapply h
    end; [| eauto];
    match goal with
      h : _ |- _ => solve [rewrite h; auto]
    end.

Lemma leaderLogs_term_sanity_invariant : forall net, refined_raft_intermediate_reachable net -> leaderLogs_term_sanity net.