Ltac rewrite_goal :=
    match goal with
      | H: _ = _ |- _ => rewrite H
    end.Definition no_entries_past_current_term_host_lifted net :=
    forall (h : name) e,
      In e (log (snd (nwState net h))) ->
      eTerm e <= currentTerm (snd (nwState net h)).

Theorem log_all_entries_invariant : forall net, refined_raft_intermediate_reachable net -> log_all_entries net.