Complete metric space: proving every finite metric space complete by the least positive distance, contrasted with (0,1]

On this page
  1. Goal and scope
  2. Givens and symbols
  3. Rules and sources
  4. Main derivation
  5. Substeps and lemmas
  6. Reverse audits
  7. Error controls and negative controls
  8. Result and limitations
  9. Verification and source binding

← Guide index · Original MKO

derivation-mko-complete-metric-space-01 · production-20261019-adopted-96

Goal and scope

Prove that every finite metric space (X,d) with at least one point is complete (immediate for a single point; with at least two points, the least positive distance δ forces every Cauchy sequence to be ultimately constant). On X0={0,1,3} with d(x,y)=|x−y|, compute δ=1, give an ultimately constant certificate and an explicit non-Cauchy sequence; finally prove that the subspace Y=(0,1] is not complete: x_n=1/n is Cauchy in Y but has no limit in Y.

Stays inside the MKO: the finite certificate uses a complete finite metric table with at least one point; the least-positive-distance argument uses at least two (assumption a1); sequence exercises accept only an explicit ultimately constant certificate or an explicit non-Cauchy counterexample, and a finite prefix is not a completeness proof (assumption a2). The contrast with (0,1] uses reciprocal-sequence bounds as a complete certificate. Completions in general and Banach spaces are not treated; the canonical MKO and its English edition are not changed.

Givens and symbols

  • metric_def
  • order_basics
  • abs_rules
  • archimedean
  • min_finite
  • G1 — (X,d) is a finite metric space, X has at least one point, and the metric table is complete.
  • G2 — Example: X0={0,1,3} with d(x,y)=|x−y| (the usual distance of ℝ restricted to X0).
  • G3 — Contrast: Y=(0,1]={t∈ℝ : 0<t≤1} with d(s,t)=|s−t|; the sequence x_n=1/n (n≥1).
  • (X,d) — finite metric space
  • (x_n) — a sequence in X, n=1, 2, 3 and so on
  • \delta — least positive distance min{d(x,y): x≠y}
  • N — index threshold in the Cauchy or convergence definition
  • X_0 — the example {0,1,3} with d(x,y)=|x−y|
  • Y — the subspace (0,1] with d(s,t)=|s−t|

Rules and sources

  • metric_def · prerequisite — Metric: d:X×X→ℝ with d(x,y)≥0 and d(x,y)=0 ⇔ x=y; d(x,y)=d(y,x); triangle inequality d(x,z)≤d(x,y)+d(y,z).
  • order_basics · prerequisite — Order of the reals: exactly one of u<v, u=v, u>v holds; u<v and v<w give u<w; u<v gives u+w<v+w; u<v and w>0 give uw<vw; u<v and w<0 give uw>vw.
  • abs_rules · prerequisite — Absolute value (reals): |u|=u if u≥0 and |u|=−u if u<0; |u|≥0; |uv|=|u||v|; triangle inequality |u+v|≤|u|+|v|; |u|<r ⇔ −r<u<r.
  • archimedean · prerequisite — Archimedean property: for every real x there is a natural number n>x; hence for every ε>0 there is n with 1/n<ε.
  • def_unfold · prerequisite — Unfolding a definition: replacing a defined term by its definition (or folding it back) does not change whether a statement is true.
  • case_analysis · prerequisite — Proof by cases: if P∨Q holds and both P⇒R and Q⇒R are proved, then R holds. The cases must cover every possibility.
  • forall_intro · prerequisite — ∀-introduction (generalization): if a statement is proved for an arbitrary element x, with no extra assumption on x, it holds for every x in the domain.
  • def_intro · prerequisite — Introducing a definition: a statement, expression or object may be given a name, after which the name and what it stands for are interchangeable.
  • contrapositive · prerequisite — Contrapositive: P⇒Q is equivalent to ¬Q⇒¬P. The converse Q⇒P is in general not equivalent to P⇒Q.
  • forall_elim · prerequisite — ∀-elimination (instantiation): if ∀x∈D, P(x) holds and a∈D, then P(a) holds.
  • numeric_evaluation · prerequisite — Exact evaluation of an explicit integer or rational expression; independently recomputable.
  • quantifier_negation · prerequisite — Negating quantifiers: ¬(∀x, P(x)) is equivalent to ∃x, ¬P(x), and ¬(∃x, P(x)) is equivalent to ∀x, ¬P(x).
  • contradiction · prerequisite — Proof by contradiction: if assuming ¬P leads to a contradiction (a statement and its negation both hold), then P holds.
  • mko_complete_def · cited — Independent append-only source erratum (owner-adopted in this local revision; not merged or published): a metric space (X,d) is complete if every Cauchy sequence in X converges to a point of X. For a finite space with at least two points, the finite nonempty positive-distance set has a minimum forcing Cauchy tails to be ultimately constant. In the singleton case every sequence is already constant, with no minimum positive distance required or defined. Sampled sequences do not prove general completeness. The original citation and canonical MKO are preserved. · mko-complete-metric-space
  • mko_cauchy_def · cited — A sequence (x_n) is Cauchy if for every epsilon>0 there exists N such that all m,n≥N satisfy d(x_m,x_n)<epsilon. The definition does not first assume that a limit exists or belongs to the space. · mko-cauchy-sequence
  • mko_conv_def · cited — A sequence x_n in a metric space converges to x if, for every epsilon>0, there exists N such that all n≥N satisfy d(x_n,x)<epsilon. Passing a sampled finite tail is insufficient for general convergence; an explicitly ultimately constant infinite sequence can instead provide a complete witness. · mko-metric-convergence
  • min_finite · prerequisite — A nonempty finite set of reals has a least element, and that least element belongs to the set.
  • L_small_dist · lemma — In a finite metric space with at least two points let δ=min{d(x,y) : x≠y}. Then δ>0, and d(x,y)<δ implies x=y.
  • L_limit_unique · lemma — In a metric space, if x_n→L and x_n→L′, then L=L′.

Main derivation

S01 · definition

Before

(X,d)\ \text{complete}

After

\forall (x_n)\subseteq X\ \text{Cauchy}\ \exists L\in X:\ x_n\to L

Conditions: none

Rule: mko_complete_def · Uses: G1, mko_cauchy_def, mko_conv_def

Leaf basis: mko_complete_def + mko_cauchy_def + mko_conv_def + def_unfold

By the MKO, completeness is a property of the space: every Cauchy sequence in X must converge to some point of X. The Cauchy definition does not presuppose a limit; convergence requires a threshold N for every ε>0. So the proof must work for an arbitrary Cauchy sequence, not for a few tested ones.

S02 · case_split

Before

|X|\ge 1

After

|X|=1\ \lor\ |X|\ge 2

Conditions: none

Rule: case_analysis · Uses: G1

Leaf basis: case_analysis + order_basics

X has at least one point, so exactly two cases arise: one point, or at least two. The least positive distance is defined only with at least two points (MKO assumption a1), so the cases are treated separately.

S03 · implies

Before

X=\{p\}

After

x_n=p\ \forall n,\ d(x_n,p)=0<\varepsilon\ \Rightarrow\ x_n\to p\in X

Conditions: |X|=1

Rule: mko_conv_def · Uses: S01, S02, metric_def

Leaf basis: mko_conv_def + metric_def + forall_intro

Single point: every term of every sequence in X is p, so d(x_n,p)=d(p,p)=0. For each ε>0 take N=1; every n≥1 has 0<ε, so the sequence converges to p∈X. Every Cauchy sequence (indeed every sequence) converges, so X is complete.

S04 · definition

Before

D=\{d(x,y): x,y\in X,\ x\neq y\}

After

\delta=\min D

Conditions: |X|\ge 2

Rule: def_intro · Uses: S02, G1, min_finite

Leaf basis: def_intro + min_finite

With at least two points, D is nonempty (some pair of distinct points exists) and finite (the metric table is finite), so its minimum δ exists and lies in D. This is the least positive distance of the MKO.

S05 · theorem_application

Before

\delta=\min D

After

\delta>0,\ d(x,y)<\delta\Rightarrow x=y

Conditions: |X|\ge 2

Rule: L_small_dist · Uses: S04

Leaf basis: L_small_dist

By Lemma L_small_dist (proved in S05.1 and S05.2): δ is positive, and two points at distance less than δ must coincide. This is the key to the whole proof.

S06 · implies

Before

(x_n)\ \text{Cauchy in}\ X,\ \varepsilon=\delta>0

After

\exists N\ \forall m,n\ge N:\ d(x_m,x_n)<\delta

Conditions: \delta>0

Rule: forall_elim · Uses: S01, S05, mko_cauchy_def

Leaf basis: forall_elim + mko_cauchy_def

Take an arbitrary Cauchy sequence in X. The Cauchy definition holds for every ε>0, in particular for ε=δ (positive by S05): there is N with d(x_m,x_n)<δ for all m,n≥N.

S07 · implies

Before

d(x_N,x_n)<\delta\ \ (n\ge N)

After

x_n=x_N\ \ \text{for all}\ n\ge N

Conditions: none

Rule: L_small_dist · Uses: S05, S06

Leaf basis: L_small_dist + forall_elim

Take m=N in S06: for all n≥N, d(x_N,x_n)<δ, so x_n=x_N by the lemma. The sequence is constant equal to x_N from index N on: the Cauchy tail is ultimately constant.

S08 · implies

Before

L=x_N\in X,\ \varepsilon>0

After

\forall n\ge N:\ d(x_n,L)=0<\varepsilon\ \Rightarrow\ x_n\to L

Conditions: none

Rule: mko_conv_def · Uses: S07, metric_def, mko_conv_def

Leaf basis: mko_conv_def + metric_def + forall_intro

Let L=x_N, a point of X. For any ε>0 use the same N: for n≥N, d(x_n,L)=d(x_N,x_N)=0<ε. So x_n→L, with the limit in X. This is the complete 'explicitly ultimately constant' certificate of the MKO.

S09 · implies

Before

(x_n)\ \text{an arbitrary Cauchy sequence in}\ X

After

\text{every Cauchy sequence in}\ X\ \text{converges in}\ X\ \ (|X|\ge 2)

Conditions: |X|\ge 2

Rule: forall_intro · Uses: S06, S07, S08

Leaf basis: forall_intro

S06 to S08 hold for an arbitrary Cauchy sequence with no extra assumption on it, so by generalization every Cauchy sequence in a finite metric space with at least two points converges in X.

S10 · implies

Before

|X|=1\ \lor\ |X|\ge 2

After

(X,d)\ \text{complete}

Conditions: none

Rule: case_analysis · Uses: S01, S02, S03, S09

Leaf basis: case_analysis + mko_complete_def

In both cases every Cauchy sequence converges in X (S03, S09), so by the definition in S01 every finite metric space with at least one point is complete.

S11 · implies

Before

d(0,1),\ d(0,3),\ d(1,3)

After

1,\ 3,\ 2;\ \delta=\min(1,3,2)=1

Conditions: none

Rule: numeric_evaluation · Uses: G2, S04

Leaf basis: numeric_evaluation + abs_rules + min_finite

The three pairs of distinct points of X0 have distances |0−1|=1, |0−3|=3, |1−3|=2, so D={1,2,3} and δ=1. d is the usual distance of ℝ restricted to X0, hence a metric, and X0 is complete by S10.

S12 · implies

Before

x_1=0,\ x_2=3,\ x_n=1\ (n\ge 3)

After

(x_n)\ \text{Cauchy with}\ N=3,\ x_n\to 1\in X_0

Conditions: none

Rule: mko_conv_def · Uses: S11, mko_cauchy_def, mko_conv_def

Leaf basis: mko_conv_def + mko_cauchy_def + forall_intro

This is an explicit ultimately constant certificate: the sequence declares that every term from the 3rd on equals 1. For each ε>0 take N=3: for m,n≥3, d(x_m,x_n)=0<ε (Cauchy) and d(x_n,1)=0<ε (convergence to 1). The first two terms do not affect the conclusion.

S13 · implies

Before

x_n=0\ (n\ \text{odd}),\ x_n=1\ (n\ \text{even})

After

\text{not Cauchy: for}\ \varepsilon=\tfrac12,\ d(x_N,x_{N+1})=1\ge\tfrac12\ \forall N

Conditions: none

Rule: quantifier_negation · Uses: G2, mko_cauchy_def

Leaf basis: quantifier_negation + mko_cauchy_def

The alternating sequence 0, 1, 0, 1 and so on: for ε=1/2 and any N, take m=N and n=N+1; one term is 0 and the other 1, at distance 1≥1/2. So 'some N makes every distance with m,n≥N less than 1/2' is false, and the sequence is not Cauchy. It does not converge either, but that does not refute completeness, which only asks Cauchy sequences to converge.

S14 · implies

Before

x_n=\tfrac1n\in Y,\ \varepsilon>0

After

\exists N:\ \forall m,n\ge N,\ \left|\tfrac1m-\tfrac1n\right|<\tfrac1N<\varepsilon

Conditions: none

Rule: archimedean · Uses: G3, mko_cauchy_def, archimedean

Leaf basis: archimedean + abs_rules + order_basics + forall_intro

Each 1/n lies in (0,1], so the sequence lies in Y. Given ε>0, the Archimedean property gives N with 1/N<ε. If m,n≥N, then 1/m and 1/n both lie in (0,1/N]; the difference of two positive numbers is smaller in absolute value than the larger one, so |1/m−1/n|<max(1/m,1/n)≤1/N<ε. Hence (x_n) is Cauchy in Y.

S15 · implies

Before

\left|\tfrac1n-0\right|=\tfrac1n

After

x_n\to 0\ \text{in}\ \mathbb{R}

Conditions: none

Rule: mko_conv_def · Uses: G3, archimedean, mko_conv_def

Leaf basis: mko_conv_def + archimedean + abs_rules

In ℝ: given ε>0, take N with 1/N<ε; then for n≥N, |1/n−0|=1/n≤1/N<ε. So x_n converges to 0 in ℝ, and 0∉Y.

S16 · theorem_application

Before

x_n\to L,\ x_n\to L'

After

L=L'

Conditions: none

Rule: L_limit_unique · Uses: metric_def

Leaf basis: L_limit_unique

Lemma L_limit_unique (proved in S16.1 and S16.2): limits in a metric space are unique. The next step needs it to connect a limit in Y with the limit 0 in ℝ.

S17 · implies

Before

x_n\to L\ \text{in}\ Y\ \text{for some}\ L\in Y

After

L=0\notin Y\ \Rightarrow\ Y\ \text{not complete}

Conditions: none

Rule: contradiction · Uses: S14, S15, S16, G3

Leaf basis: contradiction + quantifier_negation + L_limit_unique

Suppose x_n converges in Y to some L∈Y. The distance of Y is that of ℝ, so x_n also converges to L in ℝ; by S15 and Lemma L_limit_unique, L=0, but 0∉Y, a contradiction. So the Cauchy sequence (x_n) of S14 has no limit in Y, and Y is not complete. Having a limit in the ambient space ℝ does not make the subspace complete.

Substeps and lemmas

S05.1 · implies

Before

\delta\in D

After

\delta>0

Conditions: none

Rule: metric_def · Uses: S04, metric_def, min_finite

Leaf basis: metric_def + min_finite + order_basics

δ belongs to D, so δ=d(x0,y0) for some distinct x0≠y0. Separation of the metric gives d(x0,y0)≥0 and not 0, so δ>0.

S05.2 · equivalent

Before

x\neq y\Rightarrow d(x,y)\in D\Rightarrow d(x,y)\ge\delta

After

d(x,y)<\delta\Rightarrow x=y

Conditions: none

Rule: contrapositive · Uses: S04, min_finite, contrapositive

Leaf basis: contrapositive + min_finite + order_basics

If x≠y then d(x,y) is an element of D and is at least the minimum δ. Taking the contrapositive: d(x,y)<δ implies x=y. S05.1 and S05.2 together prove Lemma L_small_dist.

S16.1 · implies

Before

d(x_n,L)<\varepsilon\ (n\ge N_1),\ d(x_n,L')<\varepsilon\ (n\ge N_2)

After

d(L,L')<2\varepsilon\ \ \text{for every}\ \varepsilon>0

Conditions: none

Rule: metric_def · Uses: metric_def, mko_conv_def

Leaf basis: metric_def + mko_conv_def + order_basics

Given ε>0, the two convergences give N1 and N2; take n=max(N1,N2). By symmetry and the triangle inequality, d(L,L′)≤d(L,x_n)+d(x_n,L′)<ε+ε=2ε.

S16.2 · implies

Before

d(L,L')<2\varepsilon\ \forall\varepsilon>0

After

L=L'

Conditions: none

Rule: contradiction · Uses: S16.1, metric_def, contradiction

Leaf basis: contradiction + metric_def + order_basics

If L≠L′ then r=d(L,L′)>0; taking ε=r/2 gives r<r, a contradiction. So L=L′. S16.1 and S16.2 together prove Lemma L_limit_unique.

Reverse audits

  • S17 · sufficient_goal_reduction · S14, S15, S16, contradiction — Goal G: Y is not complete. Sufficient condition H: some Cauchy sequence in Y does not converge in Y; H⇒G by the definition of completeness (one counterexample refutes a universal). H is proved forwards in S14 to S16.
  • S16.2 · premise_audit · S16.1, metric_def, contradiction — It uses separation: distinct points are at positive distance; this sub-step does not use L_limit_unique.
  • S16.1 · premise_audit · metric_def, mko_conv_def — It needs one n beyond both thresholds; this sub-step does not use L_limit_unique.
  • S16 · premise_audit · metric_def, L_limit_unique — It needs only the metric axioms and holds in every metric space.
  • S15 · premise_audit · archimedean, mko_conv_def — This is convergence in the ambient space ℝ; on its own it says nothing about whether Y is complete.
  • S14 · premise_audit · archimedean, mko_cauchy_def, abs_rules — It uses 'the difference of two positive numbers is less than the larger' and the Archimedean property; this is a reciprocal-bound certificate for every ε, and N6 is only a check on a finite range.
  • S13 · premise_audit · mko_cauchy_def, quantifier_negation — Negating '∀ε ∃N ∀m,n' needs one ε and, for each N, one failing pair; this is an explicit non-Cauchy counterexample.
  • S12 · premise_audit · mko_cauchy_def, mko_conv_def — The certificate rests on the explicit declaration that all later terms equal 1, not on a listed finite prefix.
  • S11 · premise_audit · G2, numeric_evaluation — All three pairs of the complete distance table are computed; omitting one could give a wrong δ.
  • S10 · sufficient_goal_reduction · S01, S02, S03, S09, case_analysis — Goal G: X is complete. Sufficient condition H: in both cases every Cauchy sequence converges in X; H⇒G by the definition and proof by cases. H is proved forwards in S03 and S09.
  • S09 · premise_audit · S06, S07, S08, forall_intro — Generalization requires the sequence to be arbitrary; no particular sequence was used.
  • S08 · premise_audit · S07, metric_def, mko_conv_def — One N serves every ε because the tail distances are exactly 0; L∈X because it is a term of the sequence.
  • S07 · premise_audit · S05, S06 — It needs m=N to lie in the range m≥N; the conclusion concerns only terms with n≥N, and earlier terms may be anything.
  • S06 · premise_audit · mko_cauchy_def, S05, forall_elim — ∀-elimination needs δ in the range of ε, that is δ>0; no converse is claimed.
  • S05.2 · inverse_equivalence · contrapositive — A statement and its contrapositive are equivalent, so the step is two-way. This sub-step does not use L_small_dist.
  • S05.1 · premise_audit · metric_def, min_finite — It uses that the minimum is attained; a mere infimum that is not attained could be 0. This sub-step does not use L_small_dist.
  • S05 · premise_audit · S04, L_small_dist — The lemma needs a finite space with at least two points, which S04 provides.
  • S04 · premise_audit · S02, min_finite — It needs both finiteness and nonemptiness; in an infinite space such a minimum may fail to exist (distances in Y can be arbitrarily small).
  • S03 · premise_audit · S02, metric_def, mko_conv_def — It uses only d(p,p)=0; this case does not need the least positive distance.
  • S02 · premise_audit · G1, case_analysis — The two cases cover every finite set with at least one point and do not overlap.
  • S01 · premise_audit · mko_complete_def, mko_cauchy_def, mko_conv_def — This step only unfolds the three definitions and derives no new fact.

Error controls and negative controls

Completeness is a property of the space, not of a few tested sequences

The common mistake named by the MKO is to declare completeness after a few tested sequences converge. In Y=(0,1], the constant sequence 1/2 and the sequence 1/2+1/(2n) both converge in Y, but 1/n does not (S17). Completeness must hold for every Cauchy sequence; the finite-space proof (S06 to S09) works with an arbitrary Cauchy sequence.

A limit in the ambient space does not count

1/n converges to 0 in ℝ, but 0∉(0,1], so (0,1] is not complete. Conversely, X0={0,1,3} is complete by the finite argument of S10, not because ℝ is complete. Completeness requires the limit to belong to the space itself.

A finite prefix is not a certificate

Listing the first 1000 terms of a sequence as 1 does not show that later terms are 1. The MKO accepts only an ultimately constant certificate that explicitly declares every later term equal to the tail value (S12), or an explicit non-Cauchy counterexample (S13). Likewise δ must come from every pair of the complete distance table (S11).

  • (0,1] is complete because 1/n has the limit 0 in ℝ → reject — 0∉(0,1] and limits are unique, so 1/n has no limit in (0,1].
  • The alternating sequence 0, 1, 0, 1 and so on in X0 does not converge, so X0 is not complete → reject — It is not Cauchy (S13); completeness only requires Cauchy sequences to converge.
  • Five Cauchy sequences in (0,1] were tested and all converged in (0,1], so (0,1] is complete → reject — 1/n is a Cauchy sequence in (0,1] with no limit in (0,1].
  • In a finite metric space a Cauchy sequence is constant from its first term → reject — The sequence 0, 3, 1, 1, 1 and so on is Cauchy in X0 but its first two terms differ; only ultimately constant is guaranteed.

Result and limitations

Every finite metric space with at least one point is complete: with one point every sequence is constant; with at least two, the least positive distance δ>0 used as ε in the Cauchy definition forces the sequence to equal x_N from some N on, so it converges to x_N∈X. For X0={0,1,3}, δ=1; the sequence 0, 3, 1, 1, 1 and so on has the ultimately constant certificate N=3; the alternating 0, 1 sequence is not Cauchy. The subspace (0,1] is not complete: 1/n is Cauchy, but its only possible limit 0 is not in (0,1].

  • N6 checks |1/m−1/n|<1/min(m,n) only on the finite range 1≤m,n≤30; the proof for all m, n is the argument of S14.
  • min_finite is a premise of this guide; that 1/2+1/(2n) converges in Y is explanatory in the error controls and not a numbered step.

Verification and source binding

7 declared checks for this guide; only the listed expressions are covered.

  • source commit: b28a5edbd46279b1db2a3f3f48bb3f447e18899f
  • adopted source SHA-256: f777d86bce746681448ac94bc6f723103abd39b7d9520aa52006b6c641835c8d
  • original source SHA-256: 1db5dbc4b9d2cc946ce1390b35ee86de434aefd9ce839d023e2612e22357f1e8
  • Lean: NOT_RUN · independent AI: NOT_MEASURED

Same-source full JSON (formulas, ASTs, controls and revision log)