Proof using.
red. unfold allEntries_term_sanity. intros.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
find_copy_apply_lem_hyp update_elections_data_client_request_allEntries.
find_apply_lem_hyp handleClientRequest_type.
intuition; repeat find_rewrite;
try find_apply_hyp_hyp; auto.
break_exists.
intuition; repeat find_rewrite;
simpl in *.
intuition; simpl in *;
try match goal with
| H : context [ _ :: _ ] |- _ => clear H
end; repeat tuple_inversion; eauto.
Qed.

(* Specifications: *)
Lemma allEntries_term_sanity_timeout :
refined_raft_net_invariant_timeout allEntries_term_sanity.