Section LogMatchingProof.
Context {orig_base_params : BaseParams}.
Context {one_node_params : OneNodeParams orig_base_params}.
Context {raft_params : RaftParams orig_base_params}.
Context {si : sorted_interface}.
Context {lsi : leader_sublog_interface}.
Context {uii : unique_indices_interface}.

Theorem handleAppendEntries_entries_in :
forall h s t n prevT prevI entries c d m e,
handleAppendEntries h s t n prevT prevI entries c = (d, m) ->
In e (log d) ->
(In e (log s) \/ In e entries).