Pilot-wave theory: a mathematical bridge