In mathematics, a diversity is a generalization of the concept of a metric space. The concept was introduced in 2012 by Bryant and Tupper,
who call diversities "a form of multi-way metric". The concept finds application in nonlinear analysis.
Given a set
X
{\displaystyle X}
, let
℘
fin
(
X
)
{\displaystyle \wp _{\mbox{fin}}(X)}
be the set of finite subsets of
X
{\displaystyle X}
.
A diversity is a pair
(
X
,
δ
)
{\displaystyle (X,\delta )}
consisting of a set
X
{\displaystyle X}
and a function
δ
:



