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

Lemma uniqueIndices_elim_eq :
forall xs x y,
uniqueIndices xs ->
In x xs ->
In y xs ->
eIndex x = eIndex y ->
x = y.