A resistivity tool and associated method include measuring the phase shift
of an electromagnetic signal at different locations. Preferably, this is
accomplished by a resistivity tool having three receivers. The difference
of the phase shifts at the different locations indicates with precision
the depth in a borehole of a bed boundary. The preferred resistivity tool
also yields improved radial resolution.