Alphabeta Math
ExampleConstruction: 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.

The discrete metric induces the discrete topology, in which every subset is clopen

Example

Let X be any set and define δ:X×X→R by

δ(x,y):={0if x=y,1if x≠y.

Then:

  1. δ is a metric on X (Metric space: d(x,y)=0 iff x=y, symmetry, and the triangle inequality; pseudometric and ultrametric), the discrete metric.
  2. For x∈X and a real r>0: B(x,r)={{x}0<r≤1Xr>1,Bˉ(x,r)={{x}0<r<1Xr≥1,S(x,1)=X∖{x}.
  3. Every subset of X is open, hence every subset is closed, hence every subset is clopen (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement). The metric topology of δ is the discrete topology, the collection of all subsets of X.

The example is the standard source of counterexamples about balls: here the closed ball of radius 1 is the whole space while the closure of the open ball of radius 1 is a single point, and the sphere of radius 1 is everything except the centre while the boundary of the ball is empty.

Facts & Assumptions

Given: A set X, the function δ above, points x,y,z∈X, a real r>0, and a subset U⊆X.

[L2]

Balls: B(x,r)={y:δ(x,y)<r}, Bˉ(x,r)={y:δ(x,y)≤r} and S(x,r)={y:δ(x,y)=r} (Open ball, closed ball and sphere in a metric space).

[L3]

Open and closed: U is open when every point of it has a ball around it inside it; F is closed when X∖F is open (The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement).

[L5]

Order: 0<1, so 0≠1; a sum of a positive and a nonnegative real is positive, and inequalities may be compared by trichotomy and transitivity (The multiplicative identity is positive, Order is preserved by adding a constant and by adding inequalities, Ordered field, Complete ordered field (least-upper-bound property)).

Verification

technique · direct
1.1

Separation and symmetry: δ(x,y)=0 holds exactly when x=y, since the other value 1 is different from 0; and the defining clauses are unchanged when x and y are exchanged, since "x=y" is.

L1L5
1.2

Triangle inequality: if x=z then δ(x,z)=0 and the right side is a sum of two values in {0,1}, hence at least 0; and if x≠z then y cannot equal both x and z, so at least one of δ(x,y),δ(y,z) equals 1 while the other is 0 or 1, whence δ(x,y)+δ(y,z)≥1=δ(x,z).

L1L5
1.3

Balls: δ(x,x)=0<r always, so x∈B(x,r); and for y≠x one has δ(x,y)=1, so y∈B(x,r) exactly when 1<r, y∈Bˉ(x,r) exactly when 1≤r, and y∈S(x,1) always. This is claim 2.

L2L5
2.1

Every subset is open: for U⊆X and x∈U the ball B(x,1) is {x} by the computation of step 1.3, and {x}⊆U.

L2L3L5
2.2

Claim 1 holds: δ satisfies (M1) and (M2) by step 1.1 and (M3) by step 1.2, so it is a metric on X.

step 1.1step 1.2L1
3.1

Claim 3 holds: every subset is open by step 2.1, so for any F⊆X the complement X∖F is open and F is closed; thus every subset is clopen and the metric topology is the full power set of X. In particular each singleton {x} is closed, in agreement with the closed-ball computation Bˉ(x,r)={x} for 0<r<1 and the fact that closed balls are closed.

step 1.3step 2.1L3L4
4.1

Claims 1, 2 and 3 hold by steps 2.2, 1.3 and 3.1.

step 1.3step 2.2step 3.1∎

Remarks

Depends on

Used by

Dependency tree · two levels

16 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