Proof using.
unfold handleAppendEntries, advanceCurrentTerm.
intros. repeat break_match; repeat find_inversion; simpl; auto; repeat do_bool;
eauto using Nat.le_antisymm.
Qed.

(* Specifications: *)
Lemma lifted_terms_and_indices_from_one_log : forall net h,
refined_raft_intermediate_reachable net ->
terms_and_indices_from_one (log (snd (nwState net h))).