As a philosopher of science, Ernst Mach was a major influence on logical positivism, American pragmatism and through his criticism of Newton's theories of space and time, foreshadowing Einstein's theory of relativity.