Section CandidateTermGtLog.
Context {orig_base_params : BaseParams}.
Context {one_node_params : OneNodeParams orig_base_params}.
Context {raft_params : RaftParams orig_base_params}.
Context {tsi : term_sanity_interface}.
Proof using.
red. unfold candidate_term_gt_log. simpl. discriminate.
Qed.
Proof using.
red. unfold candidate_term_gt_log. simpl. intros.
find_higher_order_rewrite. update_destruct; subst; rewrite_update; auto.
find_copy_apply_lem_hyp handleClientRequest_type.
find_apply_lem_hyp handleClientRequest_log. intuition.
+ repeat find_rewrite. eauto.
+ break_exists. intuition. repeat find_rewrite. discriminate.
Qed.

Lemma candidate_term_gt_log_timeout :
raft_net_invariant_timeout candidate_term_gt_log.