Alphabeta Math
CounterexampleConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)audited 2026-07-26
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Z and {n+1/n:n≥2} are disjoint closed subsets of R at distance 0, so the set-to-set distance is not a metric

Statement refuted

Refuted claim: the set-to-set distance d(A,B)=inf⁡{d(a,b):a∈A, b∈B} of Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space is a metric on the nonempty subsets of a metric space; specifically, that it satisfies the separation axiom (M1) of Metric space: d(x,y)=0 iff x=y, symmetry, and the triangle inequality; pseudometric and ultrametric, so that d(A,B)=0 forces A=B.

Work in R with its usual metric (The absolute value makes R a metric space: d(x,y)=∣x−y∣ is a metric, its open balls are the intervals (x−r,x+r), and it is unbounded) and write m for the canonical copy of an integer m inside R (The integers as equivalence classes of pairs of naturals, The integers embed in the rationals, The unique embedding of ℚ into an ordered field). Put

A:={ m:m∈Z },B:={ n+1n  :  n∈N, n≥2 }.

Then A and B are nonempty, disjoint, closed in R, and

d(A,B)=0whileA≠B.

So (M1) fails for the set-to-set distance, and it fails on a pair of closed sets: closedness is not the missing hypothesis. Moreover d(b,A)>0 for every individual b∈B, so the infimum over pairs is not attained anywhere.

Facts & Assumptions

Given: The real line with dR(u,v)=∣u−v∣; the sets A and B above; and, for a subset E⊆R, the property of being c-separated for a real c>0, meaning ∣e−e′∣≥c whenever e,e′∈E with e≠e′.

[L1]

The embeddings Z→Q→R are injective and order preserving (The integers embed in the rationals, The unique embedding of ℚ into an ordered field, The integers as equivalence classes of pairs of naturals), and Z is totally ordered (The integers form a totally ordered ring); every integer ≥0 is the image of a unique natural under N→Z, which is injective and order preserving (The naturals embed in the integers); and a natural n≠0 satisfies n≥1 (Discreteness: σ(n) is the immediate successor, The natural numbers N (von Neumann)).

[L2]

Canonical naturals in R: n⋅1R>0 for n≥1 and n↦n⋅1R is strictly increasing (Canonical naturals are positive and strictly increasing); reciprocals of positives are positive and reverse the order (Inverses of positives are positive, and reciprocation reverses order); and r>1 gives 0<1/r<1 (Reciprocals and order: 1/r against 1).

[L3]

Reciprocal Archimedean property: for every real ε>0 there is a natural n≥1 with 1/n<ε (For every ε>0 in a complete ordered field there is a natural n≥1 with 1/n<ε, Every complete ordered field is Archimedean).

[L4]

Absolute value: ∣t∣≥0, ∣t∣=t for t≥0, ∣−t∣=∣t∣, and ∣t∣<c is equivalent to −c<t<c (Basic properties of the absolute value, Absolute value in an ordered field).

[L5]

Infima: d(x,E) and d(E,F) exist for nonempty sets, being infima of nonempty sets bounded below by 0 (Bounded subset, diameter, distance from a point to a set, and distance between two sets in a metric space, Nonnegativity of a metric is a consequence of the other axioms, not an axiom, Every nonempty set bounded below has an infimum, Greatest lower bound (infimum)); and ℓ=inf⁡S for a lower bound ℓ of a nonempty S bounded below exactly when for every real ε>0 some s∈S has s<ℓ+ε (Epsilon characterisation of the infimum).

Counterexample

technique · direct
1.1

No canonical integer lies strictly between 0 and 1: if 0<k<1 in R for an integer k, then 0<k<1 already in Z, because the embedding is order preserving and injective and the order of Z is total; then k>0 makes k the image of a natural n≠0, so n≥1 and hence k≥1, contradicting k<1.

L1L7
1.2

B is 12-separated: for naturals p>q≥2 one has p−q≥1 and 0<1/p<1/q≤1/2, so (p+1/p)−(q+1/q)=(p−q)−(1/q−1/p)≥1−1/q≥1−1/2=1/2; hence distinct elements of B differ by at least 1/2 in absolute value.

L2L4L7
1.3

A c-separated set E⊆R is closed: let x∉E. The ball B(x,c/2) contains at most one point of E, since two distinct points of it would be within c/2+c/2=c of each other, contradicting c-separation with a strict inequality. If it contains none, then B(x,c/2)∩E=∅. If it contains exactly one point e, then x≠e gives t:=∣x−e∣>0, and the radius r:=min⁡{c/2, t}>0 has B(x,r)∩E=∅, because any point of E in B(x,r)⊆B(x,c/2) would have to be e, while ∣x−e∣=t≥r puts e outside B(x,r). So the complement of E is open and E is closed.

L4L6L7
2.1

A is 1-separated: for integers m≠m′ the difference k:=m−m′ is a nonzero integer, so by step 1.1 and trichotomy either k≥1 or −k≥1, and in both cases ∣m−m′∣=∣k∣≥1.

step 1.1L1L4L7
2.2

A and B are disjoint and both nonempty: 0∈A and 2+1/2∈B; and if n+1/n=m for a natural n≥2 and an integer m, then the integer m−n satisfies m−n=1/n with 0<1/n<1 by [L2], contradicting step 1.1.

step 1.1L1L2L7
3.1

A and B are closed subsets of R, by steps 2.1, 1.2 and 1.3 with c=1 and c=1/2 respectively.

step 1.2step 1.3step 2.1
3.2

d(A,B)=0: the set {∣a−b∣:a∈A,b∈B} is nonempty and bounded below by 0, and for each natural n≥2 it contains ∣n−(n+1/n)∣=1/n; given a real ε>0, [L3] supplies a natural n≥1 with 1/n<ε, and then n+1≥2 with 1/(n+1)<1/n<ε=0+ε, so the infimum is 0 by the epsilon characterisation.

step 2.2L2L3L4L5
4.1

Yet every single point of B is at positive distance from A: for b∈B we have b∉A=A‾ by steps 2.2 and 3.1, so d(b,A)≠0 by the description of the closure, and d(b,A)≥0, hence d(b,A)>0.

step 2.2step 3.1L5L6L7
5.1

So A and B are nonempty disjoint closed subsets of R with d(A,B)=0 and A≠B: the separation axiom (M1) fails for the set-to-set distance, and it fails even on closed sets and even though each individual point-to-set distance is strictly positive.

step 2.2step 3.2step 4.1∎

Remarks

  • What survives. The set-to-set distance is symmetric and vanishes on A=A, and on singletons it reduces to the metric. It satisfies no useful triangle inequality either: in R the sets A={0}, B={0,10}, C={10} have d(A,B)=d(B,C)=0 while d(A,C)=10, so d(A,C)≤d(A,B)+d(B,C) fails. The construction that does give a metric on a family of sets is the Hausdorff distance, which is taken up on a later page and not defined here.
  • Where the intuition breaks. For a nonempty A, the function x↦d(x,A) vanishes exactly on A‾ (The closure of a nonempty A is {x:d(x,A)=0}, equals A together with its limit points, and is the smallest closed superset), so a point at distance 0 from a closed set does lie in it. The set-to-set distance takes an infimum over a second variable as well, and an infimum of a family of positive numbers can be 0; step 4.1 is exactly the record of that.
  • The two sets approach each other only along their tails. The point n+1/n of B sits at distance exactly 1/n from the integer n; those distances are all positive, and by step 3.2 their infimum is 0. That is the whole mechanism: the distance is driven to 0 by pairs with n arbitrarily large, never by any single pair.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

79 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources