Let E=∏p∈PEp be a compact subset of
Z=∏p∈PZp and denote by
C(E,Z) the ring of continuous
functions from E into Z. We obtain two kinds
of adelic versions of the Weierstrass approximation theorem. Firstly, we prove
that the ring IntQ(E,Z):={f(x)∈Q[x]∣∀p∈P,f(Ep)⊆Zp} is dense in the
direct product ∏p∈PC(Ep,Zp) for the
uniform convergence topology. Secondly, under the hypothesis that, for each
n≥0, #(Ep(modp))>n for all but finitely many p, we prove the
existence of regular bases of the Z-module IntQ(E,Z), and show that, for such
a basis {fn}n≥0, every function φ in
∏p∈PC(Ep,Zp) may be uniquely written
as a series ∑n≥0cnfn where
cn∈Z and limn→∞cn→0.Comment: minor corrections the statement of Theorem 3.5, which covers the case
of a general compact subset of the profinite completion of Z. to appear in
Journal of Pure and Applied Algebra, comments are welcome