Proof using ctgzi.
red. unfold terms_and_indices_from_one_log_ind. split; red; simpl in *; intuition.
- find_higher_order_rewrite. update_destruct; subst; rewrite_update; auto.
find_apply_lem_hyp handleClientRequest_log. intuition.
+ repeat find_rewrite. auto.
+ break_exists. intuition.
unfold terms_and_indices_from_one_log, terms_and_indices_from_one in *.
intros. repeat find_rewrite. simpl in *. break_or_hyp.
* intuition. find_apply_lem_hyp current_term_gt_zero_invariant. find_rewrite.
eapply_prop current_term_gt_zero. congruence.
* eauto.
- eapply taifol_no_append_entries; eauto using handleClientRequest_no_append_entries.
Qed.

(* Specifications: *)
Lemma terms_and_indices_from_one_log_ind_timeout :
raft_net_invariant_timeout terms_and_indices_from_one_log_ind.