Section AllEntriesVotesWithLog.
Context {orig_base_params : BaseParams}.
Context {one_node_params : OneNodeParams orig_base_params}.
Context {raft_params : RaftParams orig_base_params}.
Context {rri : raft_refinement_interface}.
Context {aeli : allEntries_log_interface}.
Context {vwltsi : votesWithLog_term_sanity_interface}.
Context {vvwlci : votes_votesWithLog_correspond_interface}.
Context {vci : votes_correct_interface}.

Lemma update_elections_data_appendEntries_allEntries' :
forall h st t h' pli plt es ci t' e,
In (t', e) (allEntries (update_elections_data_appendEntries h st t h' pli plt es ci)) ->
In (t', e) (allEntries (fst st)) \/ currentTerm (snd st) <= t'.