
16 J. Almeida
• d(u, w) ≤ max{d(u, v),d(v,w)}.
The latter condition is trivial if any two of the three elements u, v, w ∈ S coincide and
otherwise, taking logarithms, we deduce that it is equivalent to the inequality r(u, w) ≥
min{r(u, v),r(v, w)} which follows from the trivial fact that if ϕ(u)=ϕ(v)andϕ(v)=ϕ(w)
for a function ϕ : S → T then ϕ(u)=ϕ(w). We call d the natural metric on S.
3.9 Proposition For a profinite semigroup S, the topology of S is contained in the topology
induced by the natural metric and the two topologies coincide in the case where S is finitely
generated.
Proof We denote by B
ε
(u) the open ball {v ∈ S : d(u, v) <ε}. Given a clopen subset K
of S, by Proposition 3.5 there exists a continuous homomorphism ϕ : S → T into a finite
semigroup T such that K = ϕ
−1
ϕK.Now,fort ∈ T , the ball B
2
−|T |
(t) is contained in ϕ
−1
(t)
and so K is a finite union of open balls.
Next assume that S is finitely generated. Consider the open ball B = B
2
−n
(u). Observe
that up to isomorphism there are only finitely many semigroups with at most n elements.
Since S is finitely generated, there are only finitely many kernels of continuous homomor-
phisms from S into semigroups with at most n elements and so their intersection is a clopen
congruence on S. It follows that there exists a continuous homomorphism ϕ : S → T into a
finite semigroup T such that ϕ(u)=ϕ(v) if and only if r(u, v) >n. Hence B = ϕ
−1
ϕB so
that B is open in the topology of S. 2
We observe that the natural metric d is such that the multiplication is contracting in the
sense that the following additional condition is satisfied:
• d(uv, wz) ≤ max{d(u, w),d(v,z)}.
The completion
ˆ
S of a topological semigroup S whose topology is induced by a contracting
metric inherits a semigroup structure where the product of two elements s, t ∈
ˆ
S is de-
fined by taking any sequences (s
n
)
n
and (t
n
)
n
converging respectively to s and t and noting
that (s
n
t
n
)
n
is a Cauchy sequence whose limit st does not depend on the choice of the two
sequences. This gives
ˆ
S the structure of a topological semigroup.
In the case of a relatively free profinite semigroup
Ω
A
V, by Proposition 3.7 the finite
continuous homomorphic images of
Ω
A
V are the A-generated members of V.Moreover,by
Proposition 3.4 every homomorphism from Ω
A
V toamemberofV has a unique continuous
homomorphic extension to
Ω
A
V. We define the natural metric on Ω
A
V to be the restriction
to Ω
A
V of the natural metric on Ω
A
V and we observe that, by the preceding remarks, this
is equivalent to defining the natural metric directly on Ω
A
V by the formula (3.2) where now
r(u, v) denotes the minimum cardinality of a semigroup T ∈ V such that there exists a
homomorphism ϕ :Ω
A
V → T with ϕ(u) = ϕ(v).
We are thus led to an alternative construction of
Ω
A
V.
3.10 Theorem For a finite set A, the completion of the semigroup Ω
A
V with respect to the
natural metric is a profinite semigroup isomorphic to
Ω
A
V.
Proof By Proposition 3.9,
Ω
A
V is a metric space under the natural metric, and its restriction
to the dense subspace Ω
A
V is the natural metric of Ω
A
V. By results in General Topology
[93, Theorem 24.4], it follows that the metric space (
Ω
A
V,d) is the completion of (Ω
A
V,d).