Lawvere metric spaces

Metric space(1)

A metric space \((X,d)\)

Linked by

Lawvere metric space(1)

A Lawvere metric space

Linked by

Reals metric space(1)

The set \(\mathbb{R}\) can be given a metric space structure, with \(d(x,y)=|x-y|\).

Exercise 2-52(2)
Solution(1)
  • \(d(US,Spain)\) is bigger because there is much more room for the worst case scenario to place one farther for Spain.

  • A bigger first argument makes things strictly worse, all else equal. A bigger second argument makes things strictly better, all else equal.

Linked by

Exercise 2-55(2)

Consider the symmetric monoidal preorder \((\mathbb{R},\geq,0,+)\) which is the same as Cost but does not include \(\infty\). How do you characterize the difference between this and a Lawvere metric space in the sense of definition 2.46?

Solution(1)

It is a metric space in which points may only be finitely-far apart.

Exercise 2-60(2)

What is the distance matrix represented by this graph?

Solution(1)
\(\rightarrow\) A B C D
A 0 6 3 11
B 2 0 5 5
C 5 3 0 8
D 11 9 6 0

Linked by