After the
Anschluss in 1938, Austria had become a part of
Nazi Germany.
Germany abolished the title of
Privatdozent, so Gödel had to apply for a different position under the new order. His former association with Jewish members of the Vienna Circle, especially with Hahn, weighed against him.
His predicament precipitated when he was found fit for military service and was now at risk of being conscripted into the German army.
World War II started in September 1939.
In January
1940, Gödel and his wife left Europe. Due to the difficulty of an Atlantic crossing, they took the
trans-Siberian railway and passed through
Japan en route to the
U.S.. Arriving in
San Francisco, California on March 4, 1940, they crossed the U.S. by train so that Gödel could take up a position at the
IAS in
Princeton, New Jersey.
Gödel very quickly resumed his mathematical work. In 1940, he published his work
Consistency of the axiom of choice and of the generalized continuum-hypothesis with the axioms of set theory which is a classic of modern mathematics. In that work he introduced the
constructible universe, a model of set theory in which the only sets that exist are those that can be constructed from simpler sets. Gödel showed that both the
axiom of choice (AC) and the
generalized continuum hypothesis (GCH) are true in the constructible universe, and therefore must be consistent with the
Zermelo-Frankel axioms for set theory (ZF).
Paul Cohen later constructed a
model of ZF in which AC and GCH are false; together these proofs mean that AC and GCH are independent of the ZF axioms for set theory.
During his many years at the Institute, Gödel's interests turned to philosophy and physics. He studied and admired the works of
Gottfried Leibniz, but came around to the (unsupported) belief that most of Leibniz's works had been suppressed. To a lesser extent he studied
Kant and
Edmund Husserl. In the early 1970s, Gödel circulated among his friends an elaboration of
Leibniz's ontological proof of
God's existence. This is now known as
Gödel's ontological proof.
In the late
1940s, Gödel demonstrated the existence of paradoxical solutions to Albert Einstein's field equations in
general relativity. These "rotating universes" would allow
time travel and caused Einstein to have doubts about his own theory.
Gödel became a permanent member of the IAS in
1946. Around this time he stopped publishing, though he continued to work. He became a full professor at the Institute in 1953 and an emeritus professor in
1976.
Gödel was awarded (with
Julian Schwinger) the first
Albert Einstein Award, in
1951, and was also awarded the
National Medal of Science, in
1974.