Define a metric and Cauchy completeness, compare portfolio distances, and see how an excluded boundary limit can defeat a contracting iteration.
Metric space and completeness
A metric space is a set together with a rule for measuring distance between its elements. It is complete when every Cauchy sequence—one whose sufficiently late terms become arbitrarily close to one another—has a limit inside that set. In quant work, this distinction matters when proving that repeated pricing, calibration or value-function updates converge to an admissible object: an iteration can become arbitrarily stable while approaching a point the chosen domain excludes.
Choose the distance as well as the domain
Write a metric space as (X,d). Its distance function d:X×X→[0,∞) must satisfy, for every x,y,z∈X:
Requirement
Mathematical statement
Non-negative distance
d(x,y)≥0
Zero distance identifies the same point
d(x,y)=0⟺x=y
Symmetry
d(x,y)=d(y,x)
Triangle inequality
d(x,z)≤d(x,y)+d(y,z)
These metric axioms allow much more than geometric points. The elements might be parameter vectors, functions or strings. A norm supplies a metric through d(x,y)=∥x−y∥ when subtraction makes sense, but a general metric space needs no vector addition or scalar multiplication.
Consider two hypothetical two-asset portfolios with weights expressed as fractions of NAV:
w=(0.6,0.4),v=(0.4,0.6).
Both weight vectors sum to one. Distance using the Euclidean norm is
Both are valid metrics; they summarise a change in holdings differently. Neither is a monetary transaction cost or a return-risk estimate without an additional model. Coordinates with different units also require an explicit scaling choice.
A loss is not automatically a metric. Squared Euclidean distance fails the triangle inequality. On the real line, the squared distance from 0 to 2 is 4, whereas travelling through 1 gives 1+1=2. A useful squared-error objective can therefore fail to define the distance geometry assumed by a theorem.
Cauchy asks about the whole tail
Convergence specifies a destination: xn→x∈X means d(xn,x)→0. The Cauchy condition instead compares the sequence with itself:
for every ε>0,there exists N such that d(xm,xn)<εfor all m,n≥N.
Every convergent sequence is Cauchy. Completeness supplies the reverse implication: every Cauchy sequence converges to an element of X, using the same metric. This is the distinction formalised in Eck's definitions and convergence theorem.
Checking only adjacent terms is weaker. For xn=logn with ordinary absolute distance, xn+1−xn=log(1+1/n)→0, but
x2n−xn=log2
for every n. Two terms arbitrarily far into the tail remain a fixed positive distance apart. Small successive updates alone do not prove a numerical routine has converged.
A missing boundary point breaks completeness
Equip X=(0,1) with d(x,y)=∣x−y∣. The sequence
xn=2−n,n=1,2,…
starts 0.5,0.25,0.125,0.0625,… and stays inside X. Choose N so that 2−N<ε. For all m,n≥N,
∣2−m−2−n∣≤2−N<ε.
It is Cauchy. Its real-number limit is 0, which is outside (0,1), so this metric space is incomplete. No different point inside the interval can be its limit: for any fixed p>0, ∣2−n−p∣→p, not zero.
The exact sequence 0.5, 0.25, 0.125 and smaller powers of one half approaches zero under absolute distance. The open interval (0,1) excludes zero; the closed interval from zero to one includes it.
The same Cauchy sequence and the same distance in two domains. Zero is missing from the first domain and included in the second. Completeness of the closed interval concerns every Cauchy sequence, not only the one drawn.
Enlarging the domain to [0,1] admits this limit. More generally, a closed subset of a complete metric space is complete under the inherited distance. Since the real line is complete, this establishes completeness of [0,1] for all its Cauchy sequences.
The example also explains a hypothesis of the Banach fixed point theorem. The map T(x)=x/2 sends (0,1) into itself and satisfies
d(T(x),T(y))=21d(x,y).
Yet its only possible fixed point solves x/2=x, giving x=0, outside the domain. On [0,1], the same map has that fixed point. The contraction theorem requires a nonempty complete metric space as well as a contraction mapping the space into itself. Contracting distances cannot supply a missing limit point.
Two distinctions to retain
Completeness depends on the metric. On the same set (0,1), assign distance 1 to distinct points and 0 to identical points. This discrete metric makes every Cauchy sequence eventually constant: apply the Cauchy condition with ε=1/2. The space is then complete, even though it was incomplete under absolute distance.
Completeness is not compactness. In a metric space, compactness is equivalent to every sequence having a subsequence converging within the space. The real line with absolute distance is complete but not compact: the sequence 1,2,3,… has no convergent subsequence. Completeness governs Cauchy sequences; it does not make every sequence settle down.
For the underlying vector geometry, the Length and Triangle inequality sections of The Dot Product, Length, and Angle develop the Euclidean case. The public page is a preview; the full lesson requires membership.
Sources
David J. Eck, A Short Introduction to Metric Spaces, §5, “Completeness”: the Cauchy condition, convergence and completeness.
Jiří Lebl, Basic Analysis I, §7.1, “Metric spaces”: metric axioms, Euclidean and discrete metrics.