p-adic numbers. Ostrowski's theorem. Why there are only two ways.
The tree distance $d_T(v,w) = b^{-k}$ is not an arbitrary construction. It is the natural distance on the $p$-adic numbers — one of the most important structures in number theory.
This is identical in form to the tree distance. Replace $b$ with $p$, and the common prefix length $k$ with the $p$-adic order of the difference: $d_p(x, y) = |x - y|_p$. Two numbers are $p$-adically close if their difference is divisible by a large power of $p$ — their base-$p$ expansions agree for many digits.
The $p$-adic numbers $\mathbb{Q}_p$ are the completion of $\mathbb{Q}$ under $|\cdot|_p$, just as $\mathbb{R}$ is the completion under the ordinary absolute value. They form an ultrametric field — the algebraic counterpart of the tree $T_p$.
Every non-trivial absolute value on $\mathbb{Q}$ is equivalent either to:
There is no third way.
Any coherent notion of distance on the rational numbers — one that respects addition and multiplication — must be either Archimedean (continuous, additive) or ultrametric (hierarchical, maximum-based). The two ways of measuring are forced by the structure of number itself.
In $T_p$, the ball of radius $p^{-D}$ is the encoding cluster. Perturbations of $p$-adic size $\delta < p^{-D}$ cannot move the system out of this cluster. Perturbations with $\delta \geq p^{-D}$ can change the logical state — but must cross the corresponding energy barrier.
The physical energy barrier and the $p$-adic cluster radius are related:
$$\Delta E_D = E_0 \cdot p^{-\alpha D} = E_0 \cdot (p^{-D})^{\alpha}$$In $p$-adic language: noise with $p$-adic size less than $p^{-D}$ is irrelevant to logical information encoded at depth $D$.
Four independent lines of evidence, from unrelated fields, converge on a single statement:
The strong triangle inequality produces no-accumulation, isosceles triangles, and nested disjoint clusters. Ultrametric spaces form a distinct category with radically different geometry.
The only absolute values on $\mathbb{Q}$ are Archimedean and $p$-adic. Ultrametric geometry is forced by algebraic consistency — not an arbitrary invention.
Barrier crossing obeys the Arrhenius law: rate $\propto e^{-\Delta E / k_B T}$. Hierarchical barriers → exponential error suppression. The landscape must be ultrametric.
Error correction cost: polynomial in Archimedean spaces, logarithmic in ultrametric spaces. Geometry directly determines information-theoretic efficiency.
To build a memory that endures without active correction, engineer the state space to be ultrametric.