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

(* Specifications: *)
Lemma handleRequestVote_votedFor :
forall pDst t cid lli llt d d' m,
handleRequestVote pDst d t cid lli llt = (d', m) ->
currentTerm d = currentTerm d' ->
votedFor d = None \/ votedFor d = votedFor d'.