A metric space is an ordered pair $(M,d)$, where $M$ is a set and $d:M\times M\rightarrow \mathbb{R}$ is a metric on $M$ such that for any $x,y,z\in M$
- $d(x,y)=0\Longleftrightarrow x=y$
- $d(x,y)\geq 0$
- $d(x,y)=d(y,x)$
- $d(x,z)\leq d(x,y) + d(y,z)$
Source: https://en.wikipedia.org/wiki/Metric_space
There are plenty of examples of what are distances functions.
What are some real life examples of a function $d$ where some of these criteria are satisfied and others are not so that it has some of the properties of a distance metric but not all of them? For example, a situation where 2 is not satisfied but some of the others are.
For example, the Jaccard index (aka Tanimoto index) used in QSAR/QSPR studies violates condition 4 based on what I read but satisfies some of the others.