  In this paper we study the connections of three paradigms in number theory:
the adelic formulation of the Riemann zeta function, the Weil explicit formula
and the concepts of the so called probabilistic number theory initiated by
Harald Bohr. We give a different reformulation, rooted in the adelic framework,
of the theory of distribution values of the Riemann zeta function. By
introducing the Bohr compactification of the real numbers as a natural
probability space for this theory, we show that the Weil explicit sum can be
expressed in terms of covariances and expected values attached to random
variables defined on this space. Moreover, we express the explicit formula as a
limit of spectral integrals attached to operators defined on the Hilbert space
of square-integrable functions on the Bohr compactification. This gives a
probabilistic and a geometrical interpretation of the Weil explicit formula.
