This relates to an earlier conjecture that was shown false.
Question: is it possible to characterize a metric space by its diameter function?
Here are my thoughts so far. Assume a diameter function that is non-negative, and which satisfies $\mathrm{diam}(A)=0$ iff $|A| < 2$. Thus defining $d(x,y)=\mathrm{diam}\{x,y\}$, we obtain that $d$ has all the properties of a metric except the triangle inequality.
Two questions remain.
What needs to be assumed so that we can recover the triangle inequality?
If we begin with a diameter function and define $d$ as above, is it necessarily true that $\mathrm{diam}(A)=\sup \{d(a,b) | a,b \in A\}$.
Ideas, anyone?