  The phase transition in the mean-field XY model is shown analytically to be
related to a topological change in its configuration space. Such a topology
change is completely described by means of Morse theory allowing a computation
of the Euler characteristic--of suitable submanifolds of configuration
space--which shows a sharp discontinuity at the phase transition point, also at
finite N. The present analytic result provides, with previous work, a new key
to a possible connection of topological changes in configuration space as the
origin of phase transitions in a variety of systems.
