I'm working through Rudin's Functional Analysis, and I am confused by a step in his proof for Theorem 1.24, which states that if X is a topological vector space with a countable local base, then there is a metric d on X such that a) d is compatible with the topology of X b) the open balls are balanced c) d is invariant and, if X is locally convex, then all open balls are convex.
Here is a slimmed down version of his proof:
By his theorem 1.14, X has a balanced local base $\{V_n\}$ such that $V_{n+1} + V_{n+1} + V_{n+1} + V_{n+1} \subset V_n$.
D is the set of all rational numbers r of the form $\Sigma_{n=1}^{\infty} c_n(r) 2^{-n}$, where each of the digits $c_i(r)$ is 0 or 1 and only finitely many are 1. Define A(r) = X if $r \geq 1$. For any r in D, define A(r) = $\Sigma c_n(r)V_n$. (Note each is a finite sum). Define $f(x) = \inf \{r : x \in A(r)\}$ for $x \in X$ and d(x,y) = f(x - y). Rudin proves an inclusion $A(r) + A(s) \subset A(r + s)$ and uses it to show that $\{A(r)\}$ is totally ordered by set inclusion and that $f(x + y) \leq f(x) + f(y)$.
As each A(r) is balanced, $f(x) = f(-x)$. $f(0) = 0$. If x$\not = 0$, then $x \not \in V_n = A(2^{-n})$ for some n, so $f(x) \geq 2^{-n} > 0$.
I don't understand how he then concludes that $d(x,y) = f(x -y)$ - "these properties of f show that d(x,y) defines a translation invariant metric d on X$."
Specifically, it is obvious that if z = 0, then $d(x + z, y + z) = d(x,y)$. But to show $d(x + z, y + z) \leq d(x,y)$, I have tried this: $d(x + z, y + z) = f( (x + z) - (y+ z)) \leq f(x) + f(y) + 2f(z)$, which overestimates $f(x) + f(y)$ since $f(z)> 0$ and thus shows diddly-squat.
I know I'm probably being profoundly thick, but I am frustrated and would like to move on. Thoughts?
Thanks in advance. More thanks to follow.