QUANTUM MECHANICS FROM AN EQUIVALENCE PRINCIPLE