Section NoAppendEntriesToSelf.
Context {orig_base_params : BaseParams}.
Context {one_node_params : OneNodeParams orig_base_params}.
Context {raft_params : RaftParams orig_base_params}.

Lemma doLeader_no_messages_to_self :
forall st h os st' ms m,
doLeader st h = (os, st', ms) ->
In m ms ->
fst m <> h.