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)).

Lemma log_all_entries_do_leader : refined_raft_net_invariant_do_leader log_all_entries.