how did foucault prove the earth rotate
The first dynamic demonstration that the Earth rotates was the Foucault pendulum. As the Earth rotates the inertia of a pendulum keeps it in as close to the same plane as it can. This is a consequence of Newton's Laws of Motion.